adding new poster image and adding play function for header video to work with edge...
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 29 May 2019 13:52:23 +0000 (09:52 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 29 May 2019 13:52:23 +0000 (09:52 -0400)
assets/videos/poster.jpg
includes/avada-functions.php

index dd0f153..18207c0 100644 (file)
Binary files a/assets/videos/poster.jpg and b/assets/videos/poster.jpg differ
index 4deab0f..8ed681f 100644 (file)
@@ -1048,16 +1048,16 @@ if ( ! function_exists( 'avada_sliders_container' ) ) {
                         </div>
                     </div>
                 <?php endif; ?>
-                <!-- <script>
+                <script>
                     jQuery(window).on("load", function(){
                         
-                        if( jQuery(window).width() < 1025) {
-                            jQuery("#front-page-video-container-mobile-video").get(0).play();
-                        } else{
+                        // if( jQuery(window).width() < 1025) {
+                        //     jQuery("#front-page-video-container-mobile-video").get(0).play();
+                        // } else{
                             jQuery("#front-page-video-container-desktop-video").get(0).play();
-                        }
+                        // }
                     });
-                </script> -->
+                </script>
                 <style>
                     #front-page-video-container{
                         max-height: 800px;