-
Notifications
You must be signed in to change notification settings - Fork 51
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
ME.js player keyboard support #4151
Conversation
53a34ee
to
7de5c97
Compare
…eyboard actions when player is on page
7de5c97
to
76a52c4
Compare
@@ -26,7 +26,7 @@ Unless required by applicable law or agreed to in writing, software distributed | |||
<!-- Missing title and logo features --> | |||
var mejs4AvalonPlayer = new MEJSPlayer({ | |||
currentStreamInfo: <%= section_info.to_json.html_safe %>, | |||
features: ['playpause', 'current', 'progress', 'duration', 'volume', 'tracks', <%= quality_feature.html_safe %>'linkBack', 'fullscreen'], | |||
features: ['playpause', 'skipback', 'jumpforward', 'current', 'progress', 'duration', 'volume', 'tracks', <%= quality_feature.html_safe %>'linkBack', 'fullscreen'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we really want this in the embed player since we have limited space within the iframe, but it would be helpful in fullscreen mode and it might have to be in the normal size in order to be in fullscreen. What do other people think?
@joncameron
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like this might be too much and cramp the rail even further. But I'm interested in at least testing it out on Spruce and feel it out. Maybe these could also sit outside of the MEjs features row.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes things easier that there are already plugins! This looks good! I have one question that isn't a blocker so I'm approving so we can test it out on spruce.
This PR includes the following;
f
key will make the player enter/exit fullscreen, etc.