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
Thomas Zarebczan
087282578f
add airplay
2022-03-25 11:31:11 -04:00
Rafael
09557c8ce2
Fix warnings
2022-03-23 17:09:17 -04:00
Thomas Zarebczan
7477208c4e
Chromecast on Lives
...
+ remove some dev code that's no longer needed...
2022-03-23 00:19:53 -04:00
Raphael Wickihalder
5632624cd9
Center play button
2022-03-17 10:30:50 +01:00
Rafael
f4fdee8331
socket improvements
2022-03-16 16:36:50 -04:00
Thomas Zarebczan
60c317dedf
various fixes
2022-03-16 16:36:50 -04:00
Rafael
b096aad70e
Improve livestream claimLink embeds
...
- Remove embedPlayButton for fileRenderInitiator
- getThumbnailFromClaim from utils function instead of redux
- Improve playingUri
2022-03-16 16:36:50 -04:00
Rafael
6dea79819d
livestream + old APIs
2022-03-16 16:36:50 -04:00
David Granado
7263bde491
Revert "Adjust logic to only run interval when video is playing."
...
This reverts commit 5ce6ab9689c1610f24869c7347b823cc2023b767.
2022-03-02 20:20:27 -08:00
David Granado
3631bdddbc
Adjust logic to only run interval when video is playing.
2022-03-02 20:20:27 -08:00
David Granado
abb92726ab
Rename variable to include value units
2022-03-02 20:20:27 -08:00
David Granado
4d438ed62f
Widen save interval
2022-03-02 20:20:27 -08:00
David Granado
38f00be231
When video is playing, save position intermittently
2022-03-02 20:20:27 -08:00
mayeaux
0c4f85fe53
MAKE ODYSEE EVEN MORE BEAUTIFUL ( #539 )
...
WE LOVE YOU RAPHAEL FOR MAKING THIS HAPPEN!
2022-02-11 13:50:55 -05:00
Rafael
0c47f1daa9
Refactor fileRenderIninitiator component
...
- Only pass necessary props
- Created new initialize play redux action
- Removed deprecated ~file app download~ keyboard functionality, moved preventDefault to videojs keyboard events to prevent ~space~ moving down the page
2022-02-08 12:35:40 -05:00
AsadUmar
d73504d69c
fix render of toggle. ( #819 )
...
Co-authored-by: Thomas Zarebczan <thomas.zarebczan@gmail.com>
2022-02-07 13:35:17 -05:00
David Granado
ce903c9280
Patch to restore position upon returning to video until more fully fleshed out fix can be introduced ( #817 )
...
* Patch to restore position upon returning to video until more fully fleshed out fix can be introduced
* Add code to notify other open tabs of position saving
* Fix typo
* Wrap localStorage access in try/catch in event browser settings make it unavailable
* Remove formatting changes
* Move constant from 'pages' to 'player'
* Move dispatch out of try/catch
* Fixed typo
2022-02-07 12:51:26 -05:00
Thomas Zarebczan
fd1ee4f43c
recsys take 99
2022-02-04 18:38:42 -05:00
Rafael
df360f7ccc
Fix player error
2022-01-31 17:27:41 -05:00
David Granado
f09c6d7a50
Fix play btn calcs as audio tag was not measuring as expected
2022-01-31 11:32:44 -05:00
Thomas Zarebczan
b3d9fe5473
Force stop event on dispose
2022-01-28 16:19:27 -05:00
mayeaux
373766c5b5
Fix vidcrunch on ios to only show ad when its scrolled to ( #651 )
...
* fix vidcrunch on ios to only show ad when its scrolled to
* clean up and optimize code
2022-01-10 22:21:55 +01:00
mayeaux
b822fbdac8
fix ios can autoplay bug ( #640 )
2022-01-06 22:20:42 +01:00
mayeaux
58bdcbd1ed
Reduce triple call to single call, improve video loading, fix embed play button being off-center ( #546 )
...
Lots of optimizations and cleanup for the player. If we run into any strange issues, can revert.
2022-01-06 14:28:27 -05:00
Anthony
bc514b1d5c
fix lint errors
2021-12-15 15:00:28 -05:00
Anthony
c214209747
disable preroll ads
2021-12-15 15:00:28 -05:00
infinite-persistence
1766b418c6
Remove old mobile chromecast css hack
...
lbry-desktop--6844
This negates 49abbecb
.
Now that we have a dedicated chromecast button, we don't need to hack Chrome's default cast button to appear on top of vjs-mobile-ui. The hack no longer works anyway, since the CSS exposure has been deprecated around mid 2020 -- it is still available, but its abilities has become less and less.
2021-12-15 09:44:09 +08:00
infinite-persistence
561ed0ea23
-- experiment with forcefully closing the session on dispose
2021-12-10 14:16:03 -05:00