
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!