diff --git a/pug/video.pug b/pug/video.pug index 355cb3c..2b09e10 100644 --- a/pug/video.pug +++ b/pug/video.pug @@ -21,7 +21,7 @@ block content .video-container - const format = sortedFormatStreams[0] if format - video(controls preload="auto" poster=`/vi/${video.videoId}/maxresdefault.jpg` width=format.second__width height=format.second__height data-itag=format.itag)#video.video + video(controls preload="auto" width=format.second__width height=format.second__height data-itag=format.itag)#video.video source(src=format.url+mediaFragment type=format.type) else video(src="")#video.video