Changing the video used on the frontpage to the one the client provided
authorLaury GvR <laury@gaslightmedia.com>
Fri, 21 Jul 2017 21:36:07 +0000 (17:36 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 21 Jul 2017 21:36:07 +0000 (17:36 -0400)
front-page.php

index a7189ee..ba320b7 100644 (file)
@@ -6,9 +6,31 @@
 <main class="page-front">
     <div id="content-wrapper">
 
-        <video autoplay="" loop="" muted="">
-            <source src="https://player.vimeo.com/external/161515994.hd.mp4?s=245eda096e14793a197182ab6af9c73afefbd5d7&amp;profile_id=119">
-        </video>
+<!--        <video autoplay="" loop="" muted="">
+            <source src="http://66.129.41.15:4443/TrueNorthGolf/_definst_/WEB_Header_Video.m4v/playlist.m3u8">
+        </video>-->
+        <script type="text/javascript" src="http://player.wowza.com/player/latest/wowzaplayer.min.js"></script>
+
+        <div id="headerVideo" style="width: 100%; height: 0; padding: 0 0 56.25% 0;">Player loads here ...</div>
+            <script type="text/javascript">
+                WowzaPlayer.create('headerVideo',
+                    {
+                    "license":"PLAY1-8Avfc-Wk4Qd-QcaBV-6XrkT-BpRC8",
+                    "title":"",
+                    "description":"",
+                    "sourceURL":"http://66.129.41.15:4443/TrueNorthGolf/_definst_/WEB_Header_VideoCropped.mp4/playlist.m3u8",
+                    "autoPlay":true,
+                    "volume":"0",
+                    "mute":true,
+                    "loop":true,
+                    "audioOnly":false,
+                    "uiShowQuickRewind":false,
+                    "uiShowFullscreen":false
+                    }
+                );
+            </script>
+
+        </div>
 
         <div class="row">
             <div id="main-content" class="small-12 columns">