
Problems with fullscreen video using JW Player 7 in Facebook Instant Articles
Hi people, how are you?
I'm looking for some help.
I want to implement JW Player 7 in Facebook Instant Articles and this works fine, but when I want to see the video on fullscreen, it doesn't work, the player becomes small instead of fullscreen. It only happens on Android.
This is my code:
<figure class="op-interactive">
<iframe>
<script type="text/javascript" src="https://myserver/jwplayer.js"></script>
<script>jwplayer.key="mykey";</script>
<div id="player"></div>
<script type="text/javascript">
var playerInstance = jwplayer('player');
playerInstance.setup({
file: 'file.mp4',
aspectratio: '16:9',
width: '100%'
});
</script>
</iframe>
</figure>
Could you help me?
Thanks!