Question:
We put the sign url received from from the Security API in an iframe as
follow:
<iframe src="<sign url>"></iframe>
The issue that we encountered is that the full screen button does not
work, although all the other buttons are working.
Answer:
You have to add the allowfullscreen tag to the <iframe>. This is required for any iframe to get fullscreen.
Here is a working example with one of our videos
<iframe allowfullscreen src="https://media.upv.es/player/embed.html?id=1842b150-94a8-11e7-ad73-4bd35f901b1a" style="border:0px #FFFFFF none;" name="Paella Player" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" width="540" height="304"></iframe>
BTW, to allow autoplay you have also to add “autoplay” to the iframe. However currently there is a lot of browsers that only allow to autoplay muted videos, and in that case you should add “autoplay muted”
Comments
0 comments
Please sign in to leave a comment.