diff options
Diffstat (limited to 'www/lib/videogular')
| -rw-r--r-- | www/lib/videogular/.bower.json | 3 | ||||
| -rw-r--r-- | www/lib/videogular/videogular.js | 9 |
2 files changed, 4 insertions, 8 deletions
diff --git a/www/lib/videogular/.bower.json b/www/lib/videogular/.bower.json index 2246d623..d1241859 100644 --- a/www/lib/videogular/.bower.json +++ b/www/lib/videogular/.bower.json @@ -15,5 +15,6 @@ }, "_source": "https://github.com/2fdevs/bower-videogular.git", "_target": "~1.4.4", - "_originalSource": "videogular" + "_originalSource": "videogular", + "_direct": true }
\ No newline at end of file diff --git a/www/lib/videogular/videogular.js b/www/lib/videogular/videogular.js index 105d0463..1a29b398 100644 --- a/www/lib/videogular/videogular.js +++ b/www/lib/videogular/videogular.js @@ -960,13 +960,8 @@ angular.module("com.2fdevs.videogular") return API.playsInline; }, function (newValue, oldValue) { - if (newValue) { - API.mediaElement.attr("webkit-playsinline", ""); - API.mediaElement.attr("playsinline", ""); - } else { - API.mediaElement.removeAttr("webkit-playsinline"); - API.mediaElement.removeAttr("playsinline"); - } + if (newValue) API.mediaElement.attr("webkit-playsinline", ""); + else API.mediaElement.removeAttr("webkit-playsinline"); } ); |
