removing controls, not working in ios
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 3 Nov 2017 18:05:01 +0000 (14:05 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 3 Nov 2017 18:05:01 +0000 (14:05 -0400)
video still doesn't play in ios, removing controls

js/app.js
js/custom/pageSetup.js

index bf2981c..21aeef1 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -38,9 +38,9 @@ $(document).ready(function () {
     // if (headerVideo) {
     //     headerVideo.play();
     // }
-    console.log("asdf");
-    if($(window).width() < 1024){
-        console.log("asdf");
-        $(headerVideo).attr("controls",true); 
-    }
+  
+    // if($(window).width() < 1024){
+    //     console.log("asdf");
+    //     $(headerVideo).attr("controls",true); 
+    // }
 });
index 0c931c1..1501462 100644 (file)
@@ -29,9 +29,9 @@ $(document).ready(function () {
     // if (headerVideo) {
     //     headerVideo.play();
     // }
-    console.log("asdf");
-    if($(window).width() < 1024){
-        console.log("asdf");
-        $(headerVideo).attr("controls",true); 
-    }
+  
+    // if($(window).width() < 1024){
+    //     console.log("asdf");
+    //     $(headerVideo).attr("controls",true); 
+    // }
 });