
On playback a 16:9 video player shrinks horizontally the aspect ratio randomly.
Hello dear jwplayer support.
The problem we face is that during playback of a live HDS/HLS stream having a 16:9 aspect ratio on a responsive web page the player usually starts playing the stream shrinking it on a 4:3 aspect ratio adding vertical black bars to the left and right of the video. Then all of a sudden (without user action) the aspect ratio is magically corrected and displayed in 16:9. We use the following setup parameters
aspectratio: '16:9',
stretching: 'uniform',
so that the player exercises responsive behaviour.
We have setup a demo page for you to see at:
http://tv-auth.forthnet.gr/index.php?r=site/indexFree.
We use the following script to setup the player:
<script type='text/javascript'>
var id = 'player';
jwplayer(id).setup({
wmode: "direct",
skin: "pub/six.xml", /* customized skin */
playlist: [{
provider: 'http://players.edgesuite.net/flash/plugins/jw/v3.6/AkamaiAdvancedJWStreamProvider.swf',
sources: [{
file: 'http://forthnet-lh.akamaihd.net/z/live_1@127478/manifest.f4m' + '?hdnea=st=1424098346~exp=1424098406~acl=/*/live_1@127478/*~hmac=4198309323b68207ce313f88ced2676a5febd946d4b301c570f2398d463205b4',
type: 'mp4'
}, {
file: 'https://forthnet-lh.akamaihd.net/i/live_1@127478/master.m3u8' + '?hdnea=st=1424098346~exp=1424098406~acl=/*/live_1@127478/*~hmac=4198309323b68207ce313f88ced2676a5febd946d4b301c570f2398d463205b4',
type: 'mp4'
,"default": true
}],
}],
width: '100%',
aspectratio: '16:9',
stretching: 'uniform',
stagevideo: false,
autostart: true,
primary: 'flash',
androidhls: 'true'
,controls: true
,ga: {}
,plugins: {
"inc/apitester.swf": { text: 'Guest' }
}
});
</script>
Thanks in advance
Jack Dimas