I have a website that streams live video. Some of the video have to be stretched to 16:9, and that works on the site, for PC and IOS. But the problem is when i switch to fullscreen in ios, the stretching is ignored, and the video is back to 4:3.
Im using PHP on joomla. Can anybody help me out with some code, that would stretch the picture in fullscreen? Thanks in advance.
This is my code:
JW Player
jwplayer.key = "MyKey";
jwplayer("player").setup({
sources: [{
file: "http://myserver:1935/live/channel.stream/playlist.m3u8"
}, {
file: "rtmp://myserver:1935/live/channel.stream"
}],
rtmp: {
bufferlength: 3
},
http: {
width: "100%",
aspectratio: "16:9"
},
fallback: true,
height:492,
width:875,
stretching: "exactfit",
autostart: true,
});
↧