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

Wrong scale in ios fullscreen


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:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>JW Player</title>
<script src="/plugins/joomtv/joomtv_player_jwplayer/assets/jwplayer7/jwplayer.js"></script>
<script>jwplayer.key = "MyKey";</script>
</head>
<body>
<div id="player"></div>
<script>

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,
});


</script>
</body>
</html>

1 Community Answers

George

JW Player Support Agent  
0 rated :

On iOS when the video is in fullscreen the native iOS player takes over. There’s no way to tell it to stretch the video, it will render as it is in the source video file

This question has received the maximum number of answers.