homepage, categories pages; javascript and stylesheets renamed to js and css resp.
[living-lab-site.git] / application / views / video / watch_view.php
index 98aac30..dd9f6d6 100644 (file)
@@ -1,4 +1,7 @@
-<script type="text/javascript">siteUrl = '<?php echo site_url() ?>';</script>
+<!--Javascript initializations-->
+<script type="text/javascript">
+       siteUrl = '<?php echo site_url() ?>';
+</script>
 
 <div id="body">
        <!-- Invalid name in URL-->
                <h1><?php echo $video['title'] ?></h1>
                
                <ul>
-                       <li><a href="javascript: void(0)" onclick="getNsVlcPlugin('<? echo $video['torrents'][0] ?>')">VLC</a></li>
+                       <li><a href="javascript: void(0)" onclick="retrieveNsVlcPlugin('<? echo $video['torrents'][0] ?>')">VLC</a></li>
                
-                       <li><a href="javascript: void(0)" onclick="getNsHtml5Plugin('<?php echo 'tribe://'. $video['torrents'][0] ?>')">HTML5</a></li>
+                       <li><a href="javascript: void(0)" onclick="retrieveNsHtml5Plugin('<?php echo 'tribe://'. $video['torrents'][0] ?>')">HTML5</a></li>
                </ul>
                
                <div id="video_plugin"></div>
                <!--TODO preload user preferred plugin-->
-               <script type="text/javascript"> getNsHtml5Plugin('<?php echo 'tribe://'. $video['torrents'][0] ?>') </script>
+               <script type="text/javascript"> retrieveNsHtml5Plugin('<?php echo 'tribe://'. $video['torrents'][0] ?>') </script>
                
                <!--TODO user name-->
                <!--TODO change format controls-->