homepage, categories pages; javascript and stylesheets renamed to js and css resp.
[living-lab-site.git] / js / video.js
similarity index 62%
rename from javascript/video.js
rename to js/video.js
index 284e7ee..2e0f574 100644 (file)
@@ -1,7 +1,11 @@
+/**
+ * Video page client scripting (AJAX, events etc.)
+ */
+
 // Usually replaced in PHP
 siteUrl = '/';
 
-function getNsVlcPlugin(videoUrl)
+function retrieveNsVlcPlugin(videoUrl)
 {
        $.post(
                siteUrl + 'video/plugin/ns-vlc',
@@ -12,7 +16,7 @@ function getNsVlcPlugin(videoUrl)
        );
 }
 
-function getNsHtml5Plugin(videoUrl)
+function retrieveNsHtml5Plugin(videoUrl)
 {
        $.post(
                siteUrl + 'video/plugin/ns-html5',
@@ -21,4 +25,9 @@ function getNsHtml5Plugin(videoUrl)
                        $('#video_plugin').html(data);
                }
        );
-}
\ No newline at end of file
+}
+
+/*$(document).ready(function()
+{
+       $       
+}*/
\ No newline at end of file