![](https://secure.gravatar.com/avatar/031f6841149fb0efba0c9f71bff2254c?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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?