Skip to content

Commit e9225ce

Browse files
committed
0.5.0
1 parent dc9fe4c commit e9225ce

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5399,7 +5399,7 @@ return /******/ (function(modules) { // webpackBootstrap
53995399
return false;
54005400
},
54015401
canAutoplayVideo: function() {
5402-
return !navigator.userAgent.match(/Mobile|Android|BlackBerry/i);
5402+
return !navigator.userAgent.match(/BlackBerry/i);
54035403
},
54045404
videoSources: function() {
54055405
switch (false) {
@@ -5478,8 +5478,9 @@ return /******/ (function(modules) { // webpackBootstrap
54785478
}
54795479
},
54805480
respondToAutoplay: function() {
5481+
var ref;
54815482
switch (false) {
5482-
case this.autoplay !== true:
5483+
case (ref = this.autoplay) !== true && ref !== '':
54835484
return this.play();
54845485
case !(this.autoplay === 'visible' && this.videoInViewport):
54855486
return this.play();
@@ -5819,6 +5820,7 @@ return /******/ (function(modules) { // webpackBootstrap
58195820
attrs: {
58205821
"controls": _vm.controls,
58215822
"loop": _vm.loop,
5823+
"playsinline": "playsinline",
58225824
"preload": "auto",
58235825
"aria-label": _vm.alt
58245826
},

0 commit comments

Comments
 (0)