mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix: html5 video tag resolution adaptive. (#2128)
This commit is contained in:
parent
248085edfe
commit
3c14a96bdd
3 changed files with 3 additions and 3 deletions
|
@ -392,7 +392,7 @@ if [ ! -f ${SRS_OBJS}/st/libst.a ]; then echo "Build state-threads static lib fa
|
|||
function write_nginx_html5()
|
||||
{
|
||||
cat<<END > ${html_file}
|
||||
<video autoplay controls autobuffer type="application/vnd.apple.mpegurl"
|
||||
<video width="100%" autoplay controls autobuffer type="application/vnd.apple.mpegurl"
|
||||
src="${hls_stream}">
|
||||
</video>
|
||||
END
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue