summaryrefslogtreecommitdiff
path: root/www/lib/videogular
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-09-27 11:39:30 -0400
committerPliable Pixels <pliablepixels@gmail.com>2017-09-27 11:39:30 -0400
commite18708f10b04455be151a5a799f0109c34f20a25 (patch)
tree9e4559ef0fff8b366474e7768308ddca1e32268a /www/lib/videogular
parent97a1cb3ae199c7b5455dcba0001efd5b4c32040a (diff)
package updates to set up bower correctly #535
Diffstat (limited to 'www/lib/videogular')
-rw-r--r--www/lib/videogular/.bower.json3
-rw-r--r--www/lib/videogular/videogular.js9
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");
}
);