Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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!

1 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi there,

We don’t officially support the use of our player in Facebook Instant Articles as of yet. It is something that we are looking into but we are not yet able to provide assistance with it. As soon as we are able to provide support for it, we will most likely publish a post saying so on our blog, so I would recommend either subscribing or keeping an eye on that.

With that being said, one thing you may want to try is adding the allowfullscreen attribute to the <iframe> tag.

Thank you.

This question has received the maximum number of answers.