Skip to content
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

YouTube player does not open in full screen #158

Open
destrofer opened this issue Oct 8, 2015 · 0 comments
Open

YouTube player does not open in full screen #158

destrofer opened this issue Oct 8, 2015 · 0 comments

Comments

@destrofer
Copy link

As subject says YouTube player that gets embedded in the prettyPhoto dialog as an iframe does not allow to watch videos in full screen (tested in Chrome only). Not with the default prettyPhoto settings. I have found a solution and would like to suggest to change the default iframe markup to this:

iframe_markup: '<iframe src ="{path}" width="{width}" height="{height}" frameborder="no" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant