cis notified web server of a job completion; upload form interface and validation...
[living-lab-site.git] / js / video.js
1 /**
2  * Video page client scripting
3  */
4
5 // Usually replaced in PHP
6 siteUrl = '/';
7
8 function retrieveNsVlcPlugin(videoUrl)
9 {
10         $.post(
11                 siteUrl + 'video/plugin/ns-vlc',
12                 {url: videoUrl},
13                 function(data) {
14                         $('#video_plugin').html(data);
15                 }
16         );
17 }
18
19 function retrieveNsHtml5Plugin(videoUrl)
20 {
21         $.post(
22                 siteUrl + 'video/plugin/ns-html5',
23                 {url: videoUrl},
24                 function(data) {
25                         $('#video_plugin').html(data);
26                 }
27         );
28 }
29
30 /*$(document).ready(function()
31 {
32         $       
33 }*/