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

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