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:
parent
6fbda2ae3f
commit
087a596a63
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue