mirror of
https://github.com/ossrs/srs.git
synced 2025-02-14 12:21:55 +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
|
@ -345,6 +345,7 @@ Remark:
|
|||
|
||||
## History
|
||||
|
||||
* v2.0, 2017-01-10, refine hls html5 video template.
|
||||
* v2.0, 2017-01-10, fix [#635][bug #635], hls support NonIDR(open gop). 2.0.226
|
||||
* v2.0, 2017-01-06, for [#730][bug #730], reset ack follow flash player rules. 2.0.225
|
||||
* v2.0, 2016-12-15, for [#513][bug #513], remove hls ram from srs2 to srs3+. 2.0.224
|
||||
|
|
|
@ -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…
Reference in a new issue