1
0
Fork 0
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:
johzzy 2021-01-07 13:47:30 +08:00 committed by GitHub
parent 248085edfe
commit 3c14a96bdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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