1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine hls html5 video template.

This commit is contained in:
winlin 2017-01-10 18:43:10 +08:00
parent 6fbda2ae3f
commit 087a596a63
2 changed files with 3 additions and 4 deletions

View file

@ -499,10 +499,8 @@ fi
function write_nginx_html5()
{
cat<<END > ${html_file}
<video width="640" height="360"
autoplay controls autobuffer
src="${hls_stream}"
type="application/vnd.apple.mpegurl">
<video autoplay controls autobuffer type="application/vnd.apple.mpegurl"
src="${hls_stream}">
</video>
END
}