-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve text tracks and info box display logic #826
Commits on Aug 9, 2017
-
Improve handling of blank props in info boxes
Make sure info box elements are not displayed if the corresponding props only contain empty strings.
Configuration menu - View commit details
-
Copy full SHA for 5bd7473 - Browse repository at this point
Copy the full SHA 5bd7473View commit details -
Improve text tracks positioning
Move text tracks up immediately when player controls are displayed, but only move them back down on next cue change when player controls are hidden again. When player controls are displayed, we have no other chance than moving the text tracks directly since they would otherwise be hidden by the player controls. After the player controls are hidden again, we can wait for the user to finish reading the current cue and only then move text tracks back down.
Configuration menu - View commit details
-
Copy full SHA for dd9f8ab - Browse repository at this point
Copy the full SHA dd9f8abView commit details -
Configuration menu - View commit details
-
Copy full SHA for eaed597 - Browse repository at this point
Copy the full SHA eaed597View commit details -
Export isInfoBoxEmpty function from PlayerControls
Let other components determine whether an info box will be displayed.
Configuration menu - View commit details
-
Copy full SHA for 4f26c26 - Browse repository at this point
Copy the full SHA 4f26c26View commit details -
Add props for additional player control buttons
Allow passing a custom `className` and mouse enter/mouse leave event handlers.
Configuration menu - View commit details
-
Copy full SHA for 8b06738 - Browse repository at this point
Copy the full SHA 8b06738View commit details -
* Add `infoBoxHiddenDuringPlayback` flag to state which can be controlled via actions. * Hide info box directly if text tracks are enabled. * Remove `has_been_faded` css class which is now unused.
Configuration menu - View commit details
-
Copy full SHA for 7fc019e - Browse repository at this point
Copy the full SHA 7fc019eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8401d7 - Browse repository at this point
Copy the full SHA d8401d7View commit details -
Reset userIsIdle on page change
Prevent player controls from fading too quickly after the page has been entered.
Configuration menu - View commit details
-
Copy full SHA for bf27ee3 - Browse repository at this point
Copy the full SHA bf27ee3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4498833 - Browse repository at this point
Copy the full SHA 4498833View commit details