From: Anthony Talarico Date: Fri, 3 Nov 2017 18:10:52 +0000 (-0400) Subject: redoing the video tag for the front page header X-Git-Tag: v1.0.0^2~61 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=7cb8ca707fd4e6a56c2ffa36377832d1a09b0d8e;p=WP-Themes%2Fmeetingsmichigan.git redoing the video tag for the front page header adding controls via js to try and adapt the ios devices to the videos --- diff --git a/js/app.js b/js/app.js index 21aeef1..2600fb5 100644 --- a/js/app.js +++ b/js/app.js @@ -39,8 +39,8 @@ $(document).ready(function () { // headerVideo.play(); // } - // if($(window).width() < 1024){ - // console.log("asdf"); - // $(headerVideo).attr("controls",true); - // } + if($(window).width() < 1024){ + console.log("asdf"); + $(headerVideo).attr("controls",true); + } }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 1501462..1842376 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -30,8 +30,8 @@ $(document).ready(function () { // headerVideo.play(); // } - // if($(window).width() < 1024){ - // console.log("asdf"); - // $(headerVideo).attr("controls",true); - // } + if($(window).width() < 1024){ + console.log("asdf"); + $(headerVideo).attr("controls",true); + } }); diff --git a/parts/video.php b/parts/video.php index 397f71b..ce53341 100644 --- a/parts/video.php +++ b/parts/video.php @@ -1,8 +1,6 @@
- +