summaryrefslogtreecommitdiff
path: root/www/lib/videogular/videogular.js
diff options
context:
space:
mode:
authorBoskSpb <bosk@mail.ru>2016-12-15 01:05:35 +0300
committerGitHub <noreply@github.com>2016-12-15 01:05:35 +0300
commitebf2e82f9687110b0237245169f2ae20f18382c0 (patch)
treeffd2f53566b2351e8c345124c47fe5a7f4509908 /www/lib/videogular/videogular.js
parente2f15230ac9c4c90b483914398886c70f7d6dd04 (diff)
parent1d9625d30bec5929164fb53b237fa4995f6991f5 (diff)
Merge pull request #1 from pliablepixels/master
updating
Diffstat (limited to 'www/lib/videogular/videogular.js')
-rw-r--r--www/lib/videogular/videogular.js9
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");
+ }
}
);