mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +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
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
</div>
|
||||
|
||||
<label></label>
|
||||
<video id="rtc_media_player" controls autoplay></video>
|
||||
<video id="rtc_media_player" width="100%" controls autoplay></video>
|
||||
|
||||
<label></label>
|
||||
SessionID: <span id='sessionid'></span>
|
||||
|
|
|
@ -347,7 +347,7 @@
|
|||
<h3><a href="https://github.com/ossrs/srs">RtcPlayer</a></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<video id="rtc_media_player" controls autoplay ></video>
|
||||
<video id="rtc_media_player" width="100%" controls autoplay ></video>
|
||||
</div>
|
||||
<div class="modal-footer" id="my_modal_footer">
|
||||
<div>
|
||||
|
|
Loading…
Reference in a new issue