diff options
| author | BoskSpb <bosk@mail.ru> | 2016-12-15 01:05:35 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-15 01:05:35 +0300 |
| commit | ebf2e82f9687110b0237245169f2ae20f18382c0 (patch) | |
| tree | ffd2f53566b2351e8c345124c47fe5a7f4509908 /www/lib/videogular/videogular.js | |
| parent | e2f15230ac9c4c90b483914398886c70f7d6dd04 (diff) | |
| parent | 1d9625d30bec5929164fb53b237fa4995f6991f5 (diff) | |
Merge pull request #1 from pliablepixels/master
updating
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"); + } } ); |
