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

How to set params to make fullscreen work well?


Hi, guys

I have a stream from wowza which is rtmp stream. this stream played by VLC with dimension 1024*576. but when I play it by jwplayer, it will become to 4:3. so when I fullscreen , it is the same 4:3.

I try the follow settings.

1. the video become 4:3 with small size than 960* 540, the fullscreen have the same size.

jwplayer('mediaplayer').setup({
'width': '960',
'height': '540',
'aspectratio': "16:9",
'stretching': 'none', // keep original dimensions
"primary": "flash",
'file': "rtmp://ipaddress/live/xxx",
});

2. the video's height is 540, but width is not 960, it is smaller than that. the fullscreen have the same size

jwplayer('mediaplayer').setup({
'width': '960',
'height': '540',
'aspectratio': "16:9",
'stretching': 'uniform', // keep original dimensions
"primary": "flash",
'file': "rtmp://ipaddress/live/xxx",
});

3. the video's height is 540, and width is 960, but fullscreen the scale is not 16:9

jwplayer('mediaplayer').setup({
'width': '960',
'height': '540',
'aspectratio': "16:9",
'stretching': 'exactfit', // keep original dimensions
"primary": "flash",
'file': "rtmp://ipaddress/live/xxx",
});


can you guys help me to make correct setting, for fullscreen and 960*540 screen with 16:9?

Thanks!

5 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link to where you are running this?

denny2trasy

User  
0 rated :

gloo.tv/gloos/1

Ethan Feldman

JW Player Support Agent  
0 rated :

It looks like you are setting stretching to none here, which is making it a small box in the middle of the player.

denny2trasy

User  
0 rated :

yes, the current , I setting that, but try every options for stretching, but not one work.

how can I get the original stream ? can you give an example setting.

as My post said, I changed stretching to hope it work, but not.

Ethan Feldman

JW Player Support Agent  
0 rated :

The stream is at – rtmp://23.253.111.157/live/h_auto_1

Is this not your stream? How are you getting it then?

This question has received the maximum number of answers.