Skip to content

Commit

Permalink
0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
weotch committed May 30, 2018
1 parent dc9fe4c commit e9225ce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5399,7 +5399,7 @@ return /******/ (function(modules) { // webpackBootstrap
return false;
},
canAutoplayVideo: function() {
return !navigator.userAgent.match(/Mobile|Android|BlackBerry/i);
return !navigator.userAgent.match(/BlackBerry/i);
},
videoSources: function() {
switch (false) {
Expand Down Expand Up @@ -5478,8 +5478,9 @@ return /******/ (function(modules) { // webpackBootstrap
}
},
respondToAutoplay: function() {
var ref;
switch (false) {
case this.autoplay !== true:
case (ref = this.autoplay) !== true && ref !== '':
return this.play();
case !(this.autoplay === 'visible' && this.videoInViewport):
return this.play();
Expand Down Expand Up @@ -5819,6 +5820,7 @@ return /******/ (function(modules) { // webpackBootstrap
attrs: {
"controls": _vm.controls,
"loop": _vm.loop,
"playsinline": "playsinline",
"preload": "auto",
"aria-label": _vm.alt
},
Expand Down
Loading

0 comments on commit e9225ce

Please sign in to comment.