Closed pratik91s closed 12 years ago
Hi,
Is it possible to use the same within iframe?
I have tried to put fullscreen button in page which is called within iframe, but it is not working for me.
Please suggest.
Thanks Pratik Shah
You have to add the allowfullscreen attribute (+ attributes with vendor prefixes) to the iframe
allowfullscreen
https://github.com/sindresorhus/screenfull.js#request
Hi,
Is it possible to use the same within iframe?
I have tried to put fullscreen button in page which is called within iframe, but it is not working for me.
Please suggest.
Thanks Pratik Shah