infinite-persistence
5e944499f3
Refactor "Theather Mode"
2022-05-17 16:16:39 +08:00
infinite-persistence
535d02807a
Refactor "Autoplay Next"
2022-05-17 16:16:38 +08:00
infinite-persistence
36ddc69c13
videojs: refactor i18n (breaking up 'events' file)
...
## Issue
I couldn't find where the i18n went because the "events" refactor is just as confusing as the original -- unrelated things are still lumped together in a file.
Also, factoring based on events isn't useful -- it is features that drive what events are needed, not the other way around. This forces features to register events here, and do other things elsewhere? It will be more intuitive to have a one-file-per-feature structure.
## Change
Use existing frameworks to encapsulate things to manageable units/features:
(1) the React useEffect files (can be used isolate out React features like 'tap-to-mute' handling).
(2) the videojs plugins framework.
2022-05-17 16:16:37 +08:00
infinite-persistence
13b59037a6
1317: Log and send totalPlayingTime
...
The current time is quantized to 1s, and `lastTimestamp` is used to prevent duplicate counts because `timeupdate` is fired at ~250ms intervals.
2022-05-12 18:35:20 -04:00
Thomas Zarebczan
ac0ec4794a
Fix quality selector
2022-05-12 11:48:21 -04:00
Raphael Wickihalder
9ff4578eb1
Add requested review changes (2)
2022-05-05 09:42:24 -04:00
Raphael Wickihalder
d3fc96d961
Replace local sorage with redux
2022-05-05 09:42:24 -04:00
Raphael Wickihalder
f3fd0ba08f
Add requested review changes
2022-05-05 09:42:24 -04:00
Raphael Wickihalder
ea686474fc
Remove individual entries
2022-05-05 09:42:24 -04:00
Raphael Wickihalder
1a7b92c4fa
Save and load watch history
2022-05-05 09:42:24 -04:00
infinite-persistence
511097cd67
Player: chapter follow-up tweaks
...
- Make the chapters button appear consistently.
- Previously, it was only appearing for Original.
- We still hide it for mobile, as per previous explanation.
- Changed the Chapters button position and popup aesthetics.
2022-05-05 18:20:59 +08:00
Thomas Zarebczan
f550be4306
fix extra "1" appearing on chapters
2022-05-04 13:08:51 -04:00
infinite-persistence
4b6e4db7cd
Disable chapters for mobile for now...
...
- Deemed not useful in mobile, unless you have an S-pen that can hover.
- The chapters button (that invokes the chapters popup) would make more sense in Mobile, but we need to deal with the limited controlbar space first (e.g. overflow menu system)
2022-05-04 10:02:22 -04:00
infinite-persistence
f2495df615
Player: chapter markers
2022-05-04 10:02:22 -04:00
infinite-persistence
9fd890cfc2
Remove orphaned comment and unnecessary flow marker
...
Was confused on which part of the code this was referring to, but turns our `subCaps` was recently removed.
2022-05-04 10:02:22 -04:00
infinite-persistence
c5e185fa6d
DRY: VIDEO_PLAYBACK_RATES
2022-05-04 10:02:22 -04:00
Rafael
4669246b55
Fix switch again
2022-04-26 20:28:54 -04:00
Rafael
3ac57776e9
Revert "Revert "Fix original and livestream quality switch behavior""
...
This reverts commit 7effcd69e8
.
2022-04-26 20:28:54 -04:00
Thomas Zarebczan
7effcd69e8
Revert "Fix original and livestream quality switch behavior"
...
This reverts commit 7a86d7a895
.
2022-04-26 17:35:30 -04:00
Rafael
7a86d7a895
Fix original and livestream quality switch behavior
2022-04-26 16:19:59 -04:00
Rafael
8b443d343c
Change logic for original option on livestream
2022-04-26 08:18:41 -04:00
Rafael
daaa787f97
Initial quality notify based on already set setting
2022-04-26 08:18:41 -04:00
Rafael
753c47ace5
Add initial change Toast notify
2022-04-26 08:18:41 -04:00
Rafael
02ac8810d9
Fix auto quality display
2022-04-26 08:18:41 -04:00
Rafael
aa1b75434d
Clean up
2022-04-26 08:18:41 -04:00
Rafael
6b1bcb34a7
Fix bandwithSelector and livestream selector broken
2022-04-26 08:18:41 -04:00
Rafael
f1dbfa01ea
lint
2022-04-26 08:18:41 -04:00
Rafael
ef7e6a56b4
Only change default from settings page
2022-04-26 08:18:41 -04:00
Rafael
ebad2d746a
Fix Original to Auto switch
2022-04-26 08:18:41 -04:00
Rafael
b5f8a849a1
Attempt to show auto video quality
2022-04-26 08:18:41 -04:00
Rafael
73f27cc67e
Add ability to store quality settings as default
2022-04-26 08:18:41 -04:00
infinite-persistence
7445063405
Use videojs::http-streaming
for all except iPhones
...
## Ticket
31: "quality selector not available on safari browsers"
## Notes
The quality selector isn't populated in some Apple products -- a known issue with videojs as the platform doesn't relay the info.
But it seems like only iPhone is affected, so let's enable the override for all platforms except iPhone.
2022-04-25 09:14:24 -04:00
Thomas Zarebczan
8144a9bb87
livestream new api
...
Re-used lots of Anthony's code + made fixes to a few areas including the publish page.
a
new videojs
video.js@7.18.1 + http-streaming@2.14.2
remove console log
2022-04-20 15:53:28 -04:00
infinite-persistence
49db1fe83b
Replace IS_IOS and IS_ANDROID with platform
2022-04-14 10:29:01 -04:00
infinite-persistence
dca6c2ebf8
Disable "switch optimized-auto to original" for now.
...
It might be a user option in the future.
2022-04-14 02:41:23 -04:00
infinite-persistence
257011b62d
Use non-VHS link when "auto" matches non-VHS quality
...
The ideas is that the "optimized" version (same height as original) is badly done, so display the original instead behind the scenes.
2022-04-14 02:41:23 -04:00
external
6478da923f
Port bandwidth selector from http-streaming @ v2.0.0
...
Reference:
https://github.com/videojs/http-streaming/issues/749#issuecomment-606972884
This is a direct copy of the necessary files to replicate `lastBandwidthSelector`. Irrelevant code was removed.
2022-04-14 02:41:23 -04:00
infinite-persistence
c1fb160452
Use non-VHS link when "original" is selected.
...
Ticket: 638
2022-04-14 02:41:23 -04:00
infinite-persistence
33adf7aab2
Add "original" quality button
2022-04-14 02:41:23 -04:00
infinite-persistence
4f600fbc8e
Cleanup; no functional change.
...
- Handle null `vjsPlayer` so we don't need to add FlowFixMe everywhere.
- Remove redundant comments.
2022-04-14 02:41:23 -04:00
Thomas Zarebczan
17d5d5c73b
partial new livestream api support
2022-04-13 11:52:00 -04:00
Rafael
dff64f5a47
Improve plugins format
2022-04-07 11:44:25 -04:00
Rafael
de93a97af0
Fix icon cutoff
2022-04-07 11:44:25 -04:00
Rafael
800e735115
Mobile file page, comments and player improvements for rotated landscape view
...
undo plugin changes
2022-04-07 11:44:25 -04:00
Rafael
65b9906086
Add dynamic player aspect ratio resizing
2022-04-07 11:44:25 -04:00
infinite-persistence
4e63849061
Don't clear on position on dispose
...
Otherwise, we'll never see a full progress indicator. The "reset when too near end of video" should only happen when opening a file.
2022-04-01 15:37:26 -04:00
infinite-persistence
491c934119
Fix makeSelectContentPositionForUri memo
...
- Move away from the leaky makeSelect* pattern.
- No memoization since it's pretty light.
2022-04-01 09:58:09 -04:00
Rafael
8823461ebd
Add percentage video duration keybinds
2022-03-29 22:39:01 -04:00
Thomas Zarebczan
e40b65b975
Revert "send 10 percent of traffic to other server"
...
This reverts commit 0fcdbc7858
.
2022-03-25 15:35:05 -04:00
Anthony
0fcdbc7858
send 10 percent of traffic to other server
2022-03-25 14:28:57 -04:00