-
Notifications
You must be signed in to change notification settings - Fork 58
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
Fullscreen mode #58
Comments
This is trivial to do without a fullscreen property:
|
That's actually exactly what I was talking about, however, I was suggesting that the cross-browser code be abstracted behind this web component. fullScreen: function() {
var requestFullScreen = this.requestFullScreen || this.mozRequestFullScreen || this.webkitRequestFullScreen;
if (requestFullScreen) {
requestFullScreen.bind(this)();
}
} Personally, I think a fullscreen method kind of just 'fits' next to all of the convenience methods like play/pause: |
Yea, I agree. It would be useful to just have this work. Want to submit a PR? Getting the sizing of the internal iframe right will be the tricky part. The FS API also needs to be triggered by a user-action, so calling it won't do much unless it's tied to custom UI (button click etc.) |
I'd like to see a
requestFullScreen
method added to google-youtube so I can full screen my videos using my own chrome.The text was updated successfully, but these errors were encountered: