Commit graph

56 commits

Author SHA1 Message Date
DispatchCommit 9be8a3036c Move videojs sass file
Looking at a few other files hoping to understand the convention for components, I moved the videojs.scss file to where all CSS related files appear to be in the project.
2021-03-05 16:51:45 -05:00
DispatchCommit 46f58c63c8 Pull styling out out into it's own file
Also restores the CSS for vjs-overlay which I commented out previously for *some* reason (but I don't know why, and it doesn't seem to make a difference whether I comment it out or not)
2021-03-05 16:51:45 -05:00
Dispatch 4cf9a455bc
add autoplay logic for embedded player (#5399)
Add autoplay logic when player is embedded.

Adds new `autoplay` prop to `VideoJs` component for specifying autoplay value.
2021-01-27 08:49:30 -05:00
infiinte-persistence 855d13e735 Add "t" as shortcut for Theather Mode 2021-01-25 10:38:25 -05:00
Sean Yesmunt c166060f0d Revert "Pass the title and channel name to Chromecast."
This reverts commit bb828385d0.
2021-01-20 15:14:00 -05:00
infiinte-persistence bb828385d0 Pass the title and channel name to Chromecast.
I'm a bit wary of adding props to this component due to the 'dispose' call, but I think 'source' and 'claim' will update together, so it shouldn't be an issue?
2021-01-19 10:29:28 -05:00
infiinte-persistence 95b4f89e50 Make 'playback rate' persistent
## Issue
5308: Ability to choose default play speed and theatre mode or regular playback size

## Comments
Initially, I used the local storage, as per 'muted' and 'volume' -- I thought that would be appropriate.
Later, I saw that Theater Mode is already using Client Settings, so I re-did everything to match that.

Also, there is an accompanying commit in lbyr-redux.
2021-01-19 10:16:46 -05:00
Sean Yesmunt d43c4d053e add video theater mode button 2021-01-08 08:27:41 -07:00
zeppi b736444306 player started event (embedded) 2020-11-30 14:52:05 -05:00
Sean Yesmunt bba539f846 Revert "Revert "add logging of player point of presence""
This reverts commit 4067e1ffd8.
2020-09-09 14:55:16 -04:00
Sean Yesmunt 4067e1ffd8 Revert "add logging of player point of presence"
This reverts commit fb142f7699.
2020-09-09 14:40:43 -04:00
Jeremy Kauffman fb142f7699 add logging of player point of presence 2020-09-09 10:48:15 -04:00
Sean Yesmunt 2f995be794 use new buffer analytics api 2020-08-07 22:54:29 -04:00
infiinte-persistence 833bceeacc Fix unmuted state lost or reverted when playing a new video.
## Issue
Fixes 4460 `unmuted state lost / reverted`

1. Play a video.
2. Press mute.
3. Drag the volume bar to unmute.
4. Play a new video --> the video starts muted.

## Fix
The `volumechange` handler was comparing against stale variables, so there are times where the state was not saved. Just save both `muted` and `volume` without additional gating (the gating is probably unnecessary in the first place, since we are in a onChange function).
2020-07-07 09:28:04 -04:00
jessop e3c2919373 rename lbrytv to web
language and API consts

improve customization
custom homepages
get config from .env.default
custom title and logo

small changes

add pinned item to sidebar

rebase?
2020-05-25 17:21:02 -04:00
Sean Yesmunt c2abcf110c
Paid content on lbry.tv (#4197) 2020-05-21 11:38:28 -04:00
Jeffrey Fisher 394fad5754 Clear media position if video has played to the end.
Closes #4174
2020-05-15 09:51:18 -04:00
Sean Yesmunt ff429117cd make sure player callback has access to latest desktop start time 2020-05-05 16:47:27 -04:00
Sean Yesmunt 96d9e24a4b fix time to start analytics for desktop and fix rewards link 2020-05-05 14:04:52 -04:00
Sean Yesmunt db51789e07 pass time in ms to analytics for view apis 2020-05-05 10:09:53 -04:00
Jeffrey Fisher 7ea9c1c199 Only save media position on pause or dispose, not every timeupdate, for performance reasons. 2020-05-01 10:14:29 -04:00
Jeffrey Fisher c1f74aba2e Save media position in video viewer
Closes #2775
2020-05-01 10:14:29 -04:00
Sean Yesmunt 1a50e697ce embed functionality inside markdown posts 2020-04-30 10:13:01 -04:00
Sean Yesmunt c9f5813b81 try twice when the first play fails from a timeout 2020-04-29 11:00:42 -04:00
Sean Yesmunt b61907ad22 update timeout 2020-04-29 11:00:42 -04:00
Sean Yesmunt dd4cd9314c style fixes 2020-04-29 11:00:42 -04:00
Sean Yesmunt 767c69e132 cleanup and fix flow issues 2020-04-29 11:00:42 -04:00
Sean Yesmunt 04ee4afdc2 test with promise.race 2020-04-29 11:00:42 -04:00
Jeremy Kauffman 94a5dc47af adjust volume earlier 2020-04-29 11:00:42 -04:00
Jeremy Kauffman e23ae63c74 disable loading screen 2020-04-29 11:00:42 -04:00
Sean Yesmunt 4a6d9c7292 add log 2020-04-29 11:00:42 -04:00
Sean Yesmunt ad8cdd130f call play() programatically instead of using autoplay flag 2020-04-29 11:00:42 -04:00
Jeremy Kauffman 1a06ddca3b always restore player volume settings on first play 2020-04-29 11:00:42 -04:00
Jeremy Kauffman ab74052446 hackish change to get mute/volume reset working 2020-04-29 11:00:42 -04:00
Jeremy Kauffman 6c8b0b2d68 maybe ready 2020-04-29 11:00:42 -04:00
Sean Yesmunt 9db9363b9f fix unwanted re-renders 2020-04-29 11:00:42 -04:00
Jeremy Kauffman e4829c8ce1 broken demonstration 2020-04-29 11:00:42 -04:00
Jeremy Kauffman 793f622d8d semi-broken 2020-04-29 11:00:42 -04:00
Sean Yesmunt 7218b78746 fetch continent cookie on server-side and clean up video effects 2020-04-08 15:12:22 -04:00
Sean Yesmunt 39102d81ca fix viewcount being fired before video starts playing 2020-04-06 15:34:49 -04:00
Thomas Zarebczan 829c2eac50 small fixes 2020-03-30 09:05:30 -04:00
Jeremy Kauffman ef4d8f5988 best 7 lines ever 2020-03-19 16:38:24 -04:00
jessop 9f1d4e3688 embed improvements
- autoplay=true param
- mute on autoplay
- thumb poster on embeds (unless autoplay)
- twitter player card for audio too
2020-02-05 16:50:18 -05:00
Dalton d191be8771 fixes #3498 - blurs the fullscreen button to prevent spacebar from selecting it again
ts-ignore -> flowFixMe
2020-02-03 09:20:12 -05:00
jessop a1e24d6dcc actually disable autoplay in embeds 2020-01-31 13:33:21 -05:00
Sean Yesmunt d312a8e8b6 basic autoplay timer working 2020-01-28 09:35:39 -05:00
jessop 31fa714ef5 send player events as timing events 2020-01-27 09:20:31 -05:00
jessop fab7dfdb41 add review changes 2020-01-24 13:41:09 -05:00
jessop 75410392d8 send events when video buffers 2020-01-24 13:41:09 -05:00
Thomas Zarebczan 1687edb945 fix: mobile + m4v video 2019-12-22 17:52:21 -05:00