1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Update src/plugins/htmlVideoPlayer/plugin.js

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
Joshua M. Boniface 2022-06-26 20:54:12 -04:00 committed by GitHub
parent cab6e34390
commit d11b51d0f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1376,7 +1376,7 @@ function tryRemoveElement(elem) {
if (!appHost.supports('htmlvideoautoplay')) {
html += '<video class="' + cssClass + '" preload="metadata" autoplay="autoplay" controls="controls" webkit-playsinline playsinline>';
} else if (browser.web0s) {
// in webOS, setting peload auto allows resuming videos
// in webOS, setting preload auto allows resuming videos
html += '<video class="' + cssClass + '" preload="auto" autoplay="autoplay" webkit-playsinline playsinline>';
} else {
// Chrome 35 won't play with preload none