From e18708f10b04455be151a5a799f0109c34f20a25 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 27 Sep 2017 11:39:30 -0400 Subject: package updates to set up bower correctly #535 --- www/lib/videogular/.bower.json | 3 ++- www/lib/videogular/videogular.js | 9 ++------- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'www/lib/videogular') 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"); } ); -- cgit v1.2.3