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

Android/iOS does not load JWp7 when embeded in iframe


We are trying to embed our JWplayer 7 into the iframe, to be used on other sites.

The issue here is that VOD works, but the live streaming will not load player. HTTP returns 204 (no content).

Our player code:

### VOD ####

function initialize_player() {
var playerInstance = jwplayer('mediaspace');
playerInstance.setup({
'id': 'playerID',
'width': '${width}',
'height': '${height}',
'sources': [
{
file: '${flashFile}',
label: '360p'
},
{
file: '${sd2FlashFile}',
label: '480p',
'default': 'true'
}
],
${related}
${autoPlay}
'image': '${stillUrl}',
'flashplayer':'${flashSrc}',
skin: {'active': '#ee8e42', 'inactive': '#d4d4d4', 'name': 'glow'},
});
}

####

#### LIVE ####
function initialize_player() {
var playerInstanceHD = jwplayer(window.playerDiv);
playerInstanceHD.setup({
'id': 'playerID',
'width': '${width}',
'height': '${height}',
playlist: [{
'image': '${stillUrl}',
'sources': [{
file: '${smilFile}'
},{
file: '${hlsFile}'
},{
file: '${flashFile}'
}]
}],
${autoPlay}
'flashplayer':'${flashSrc}',
'androidhls': 'true',
skin: {'active': '#ee8e42', 'inactive': '#d4d4d4', 'name': 'glow'}
});
####

Link to test embed... http://embedtest.splet.arnes.si/2015/10/20/jw7/

Any idea?

5 Community Answers

video-podpora

User  
0 rated :

Well as written in title, this is true only for mobile devices, tested on android 5.x and ios8 . If i do "request" desktop page in android browser, all starts to work.

Daniel Berger

JW Player Support Agent  
0 rated :

Hi,

Thank you for the email. I would be glad to assist you however your test page did not load. Can you please resend a functioning test page?

Thank you,
Daniel

video-podpora

User  
0 rated :

Hi, sorry for the bad link.

http://embedtest.splet.arnes.si/2015/10/22/kuku/

this one should work. Its not a working stream (you will get an error), but the player will load together with our little popup message.

video-podpora

User  
0 rated :

You can delete the question, we solved it ourself. it was some bug in our embed code.

Daniel Berger

JW Player Support Agent  
0 rated :

You are welcome.

Best,
Daniel

This question has received the maximum number of answers.