
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?