diff options
Diffstat (limited to 'www/lib/videogular/videogular.js')
| -rw-r--r-- | www/lib/videogular/videogular.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/www/lib/videogular/videogular.js b/www/lib/videogular/videogular.js index 1a29b398..105d0463 100644 --- a/www/lib/videogular/videogular.js +++ b/www/lib/videogular/videogular.js @@ -960,8 +960,13 @@ angular.module("com.2fdevs.videogular") return API.playsInline; }, function (newValue, oldValue) { - if (newValue) API.mediaElement.attr("webkit-playsinline", ""); - else API.mediaElement.removeAttr("webkit-playsinline"); + if (newValue) { + API.mediaElement.attr("webkit-playsinline", ""); + API.mediaElement.attr("playsinline", ""); + } else { + API.mediaElement.removeAttr("webkit-playsinline"); + API.mediaElement.removeAttr("playsinline"); + } } ); |
