diff options
Diffstat (limited to 'www/lib/videogular/videogular.js')
| -rw-r--r-- | www/lib/videogular/videogular.js | 9 |
1 files changed, 2 insertions, 7 deletions
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"); } ); |
