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

Stretching issues in JW6


After switching to new JW6 my 'stretch' parameter didn't working at all.

*Preview:*
http://dev.cinecliq.com/wl/30/movie/325/All+for+One.html

*Code:*
bc.. jwplayer('mediaplayer').setup({
'id': 'playerID',
'width': '628',
'height': '265',
'stretching':'uniform',
'dock':'false',
'controlbar.position':'over',
'controlbar.idlehide':'false',
'logo.file': '/img/trailer2.png',
'logo.hide': false,
'logo.timeout':10,
'logo.out':0.8,
'logo.position': 'top-left',
'image': 'https://cinecliq.com/splash/00325_allone_splash_trailer.jpg',
'bufferlength': 15,
'skin': '/lib/jwplayer6/six/six.xml',
'playlist':[{
'file': 'http://dev.cinecliq.com/325/trailer.smil',
'provider': 'http://players.edgesuite.net/flash/plugins/jw/v3.0/AkamaiAdvancedJWStreamProvider.swf',
'type':'mp4'
}],
'primary': 'flash'
});


The question is: is the 'stretching':'uniform' syntax is valid for JW6? Or we are missing something else? Because on JW5 it was ok.

16 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

The variable is stretching, not stretch.

JW Player

User  
0 rated :

Yes exactly, see the code: bc.. 'stretching':'uniform',

Ethan Feldman

JW Player Support Agent  
0 rated :

Uniform is the default, so setting it to uniform does nothing.

JW Player

User  
0 rated :

Ethan.. it seems you are good soccer player but not support player, maybe you can look deeper in the subject?

I have a license for a few years and like to get a meaningful answers to my very rare questions and not like to be spoofed with empty answers.

So please find a 5 minute, review the link I have provided and the code under it, then answer me, please again.

Thank you

JW Player

User  
0 rated :

It's a bit difficult for anyone to help. The link you've provide leads to a page that does not appear to have JW Player embedded anywhere on it (other than in a "meta" tag, which, of course, doesn't actually launch the player). Digging deeper, the site demands that the visitor login with a Facebook account in order to view anything.

Unless you can provide a direct link to a page that an "outsider" can examine and debug, you're probably not going to get any satisfactory answers.

JW Player

User  
0 rated :

Okay, try this one:

http://cinecliq.com/test.php

'stretching':'uniform' is omitted because it is default, but it is not working in full-screen mode even if present.

JW Player

User  
0 rated :

works fine in fullscreen mode.

Ethan Feldman

JW Player Support Agent  
0 rated :

Yeah, this works in fullscreen mode for me as well?

JW Player

User  
0 rated :

When I kick this into fullscreen, the aspect ratio is wrong.

Ethan Feldman

JW Player Support Agent  
0 rated :

It might have to do with how the video was encoded.

JW Player

User  
0 rated :

Guys, video is encoded perfectly, that is our job, so let's go on.
Ethan, you see correct scaling because your monitor proportions equal to video proportions, try to watch it on other monitor. I see EarlyOut got the issue.

JW Player

User  
0 rated :

Well, I see the problem, but it doesn't happen with my own videos. When I go to full screen, they maintain their aspect ratio, regardless of the size of the monitor. If that means it has to letterbox, that's what it does. I've confirmed that both in HTML5 mode and in Flash.

Try it yourself: http://earlyout.org/JW6embed/

So what would you conclude from that?

JW Player

User  
0 rated :

Yes I got it, probably I can redefine the issue, maybe we need to make another thread.

My videos hosted on Akamai with On Demand Universal Streaming
And there is a plugin for JW6 http://players.edgesuite.net/flash/plugins/jw/v3.0/AkamaiAdvancedJWStreamProvider.swf

When I uploaded your (tested) video to Akamai it behaves in the same manner (incorrect stretching).

So we need to dig deeper. I'll create another thread for this

JW Player

User  
0 rated :

could be an Akamai issue and not a JWPlayer issue.

have you tried using streching: fill ?

IMHO, if the aspect ratio is kept with the video and the JWPlayer then this may work.

JW Player

User  
0 rated :

Here is the answer from Akamai Customer Care:

I just checked back, The Resizing over the JW6 player is not yet supported with Akamai and is a known issue right now , The fix for this issue is not yet in place , The best work around at the moment is to downgrade to JW 5 which supports resizing with the Akamai Advancedstreaming plugin.

Please let me know if there is anything else that we can help you with .
Thanks and Regards

Kunal Kaul
Associate Technical Solutions Engineer
Customer care
Akamai Technologies

Ethan Feldman

JW Player Support Agent  
0 rated :

Ah, thank you for sharing this Gaz. So it looks like the Akamai provider for JW6 has an issue it seems.

This question has received the maximum number of answers.