X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=page_video.sh;h=fc1d358d6486fab7ebd424e401a7c6baf551d545;hb=c54a337bcc1f582416bb9ad42ce04e633c15cac7;hp=b7b9953787d44effcf2913027ab5ab0b0a3f3ff5;hpb=e82750023ec5907d4a373f7fe377c79cde41fd04;p=rawnet diff --git a/page_video.sh b/page_video.sh index b7b9953..fc1d358 100644 --- a/page_video.sh +++ b/page_video.sh @@ -255,9 +255,9 @@ elif [ "$channel" -a "$video" ]; then ] ]') $( [ $VIDEO_STATUS != void ] && printf ' - [video - [source src="%s/video/%s/%s.mp4"] - ]' "$_BASE" "$channel" "$video" + [video preload=none controls=controls width=%i height=%i + [source src="%s/video/%s/%s.mp4" type="video/mp4"] + ]' "$VIDEO_RESX" "$VIDEO_RESY" "$_BASE" "$channel" "$video" ) $(AUTHOR && printf '[a .button href="edit" edit]') [h1 .name $(HTML "$VIDEO_NAME")]