From 7cb8ca707fd4e6a56c2ffa36377832d1a09b0d8e Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 3 Nov 2017 14:10:52 -0400 Subject: [PATCH] redoing the video tag for the front page header adding controls via js to try and adapt the ios devices to the videos --- js/app.js | 8 ++++---- js/custom/pageSetup.js | 8 ++++---- parts/video.php | 4 +--- 3 files changed, 9 insertions(+), 11 deletions(-) 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 @@
- +