video is played from a stream, the video is stretched across the width
hello,
I use the hls streaming to return the file that has a resolution of 654x720,
that is, the height is larger than width.
if I am requesting the file directly - it is played correctly
$(document).ready(function(){
jwplayer('video').setup({
image: "/local/templates/newgrand/images/homepage_preroll.jpg",
sources: [
{
file: 'https://content.knowhow.ru/videos/unsecured/54fffeb3867c5d154beed023_720.mp4'
}
],
repeat: true
});
});
http://joxi.ru/gkrDaqkIBJaZmp
but when the video is played from a stream, the video is stretched across the width
$(document).ready(function(){
jwplayer('video').setup({
image: "/local/templates/newgrand/images/homepage_preroll.jpg",
sources: [
{
file: 'https://content.knowhow.ru/videos/unsecured/smil:54fffeb3867c5d154beed023.smil/playlist.m3u8?token=3ccb06c6fff5f2574ccf469d69135ebe&fileId=54fffeb3867c5d154beed023'
}
],
repeat: true
});
});
not correctly
http://joxi.ru/el2ZzLYueEJy2J
how to make that video correctly was getting out of the stream?