1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
This commit is contained in:
Luke Pulverenti 2014-05-16 13:11:17 -04:00
commit bb9c7990b5

View file

@ -803,9 +803,11 @@
// Can't autoplay in these browsers so we need to use the full controls
if (requiresControls) {
html += '<video class="itemVideo" id="itemVideo" preload="none" autoplay controls>';
if ($.browser.msie) {
html += '<video class="itemVideo" id="itemVideo" preload="none" autoplay="autoplay">';
} else {
html += '<video class="itemVideo" id="itemVideo" preload="none" autoplay controls>';
}
} else {
// Chrome 35 won't play with preload none