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

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

3 Community Answers

jack_dimas

User  
0 rated :

To clarify my question above please note that we experience the problem mainly from windows desktop machines, mainly using chrome as a browser.

Also sometimes when we request the page for the first time the video is black but we hear the sound.

We are using an jwplayer enterprise edition.

Thanks again.
Jack Dimas

jack_dimas

User  
0 rated :

Please find below the new link of the demo page:

http://pt.nova.gr/index.php?r=site/indexFree

Thanks
Jack Dimas

Cooper Reid

JW Player Support Agent  
0 rated :

Hi Jack -
I’m seeing a 404 when trying to troubleshoot your video: http://cl.ly/image/1A0F37032S2f
-Cooper

This question has received the maximum number of answers.