projects
/
living-lab-site.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
basic functionality, no estetics: videos are listed in index; can be watched with...
[living-lab-site.git]
/
javascript
/
video.js
1
// Usually replaced in PHP
2
siteUrl = '/';
3
4
function getNsVlcPlugin(videoUrl)
5
{
6
$.post(
7
siteUrl + 'video/plugin/ns-vlc',
8
{url: videoUrl},
9
function(data) {
10
$('#video_plugin').html(data);
11
}
12
);
13
}
14
15
function getNsHtml5Plugin(videoUrl)
16
{
17
$.post(
18
siteUrl + 'video/plugin/ns-html5',
19
{url: videoUrl},
20
function(data) {
21
$('#video_plugin').html(data);
22
}
23
);
24
}