adding new header view to the front page
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 5 Nov 2018 20:25:43 +0000 (15:25 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 5 Nov 2018 20:25:43 +0000 (15:25 -0500)
assets/videos/Header_Video.m4v
assets/videos/Header_Video.mp4 [deleted file]
assets/videos/Header_Video_Mobile_Optimized.m4v [deleted file]
header.php
parts/header-video.php
parts/slide-show.php
style.css

index e35a234..dcfa50a 100644 (file)
Binary files a/assets/videos/Header_Video.m4v and b/assets/videos/Header_Video.m4v differ
diff --git a/assets/videos/Header_Video.mp4 b/assets/videos/Header_Video.mp4
deleted file mode 100644 (file)
index e35a234..0000000
Binary files a/assets/videos/Header_Video.mp4 and /dev/null differ
diff --git a/assets/videos/Header_Video_Mobile_Optimized.m4v b/assets/videos/Header_Video_Mobile_Optimized.m4v
deleted file mode 100644 (file)
index cebfbfb..0000000
Binary files a/assets/videos/Header_Video_Mobile_Optimized.m4v and /dev/null differ
index 7b813f3..ac8f3ce 100644 (file)
@@ -5,7 +5,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title><?php wp_title(); ?></title>
     <meta name="p:domain_verify" content="ed813ce745ca277b7926cc90bc61d568" />
-    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.66">
+    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.68">
     <link rel="shortcut icon" href="<?php echo bloginfo('template_url'); ?>/favicon.ico">
     <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800' rel='stylesheet' type='text/css'>
     <?php wp_head(); ?>
index 424df19..50a4dfd 100644 (file)
@@ -9,7 +9,7 @@
        <div id="front-page-video-container-desktop" class="front-page-video-container show-for-large-up">
             <img src="<?php bloginfo('template_url');?>/assets/videos/header-video-preload-image-v2.png">
             <video style="position: absolute;top:219px;left:0;" id="front-page-video-container-desktop-video" class="front-page-video" playsinline loop muted preload="none" width="100%" poster="<?php bloginfo('template_url'); ?>/assets/videos/header-video-preload-image-v2.png">
-                <source src="<?php bloginfo('template_url'); ?>/assets/videos/Header_Video.mp4" type="video/mp4">
+                <source src="<?php bloginfo('template_url'); ?>/assets/videos/Header_Video.m4v" type="video/mp4">
             </video>
         </div>
     </div>
@@ -24,7 +24,6 @@
                 jQuery("#front-page-video-container-desktop-video")[0].play();
             }
         });
-
-
+        
 </script>
 
index 94844b5..8eb23ce 100644 (file)
@@ -1,7 +1,8 @@
 <?php if (is_front_page()) : ?>
        <div id="slideshow">
-         <?php if ( is_active_sidebar( 'slideshow' ) ) : ?>
-           <?php dynamic_sidebar( 'slideshow' ); ?>
-         <?php endif; ?>
+            <?php get_template_part('parts/header-video'); ?>
+         <!-- <?php //if ( is_active_sidebar( 'slideshow' ) ) : ?>
+           <?php //dynamic_sidebar( 'slideshow' ); ?>
+         <?php //endif; ?> -->
        </div>
 <?php endif; ?>
index e841b4f..05056b6 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: PetoskeyArea
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for PetoskeyArea
-Version: 1.0.66
+Version: 1.0.68
 */