forked from polimediaupv/paella
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (56 loc) · 2.23 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8;">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Paella Engage Example</title>
<script type="text/javascript" src="javascript/swfobject.js"></script>
<script type="text/javascript" src="javascript/base.js"></script>
<script type="text/javascript" src="javascript/jquery.js"></script>
<script type="text/javascript" src="javascript/lunr.min.js"></script>
<script type="text/javascript" src="javascript/require.js"></script>
<script type="text/javascript" src="javascript/paella_player.js"></script>
<script type="text/javascript" src="resources/bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="resources/bootstrap/css/bootstrap.slate.min.css" type="text/css" media="screen" charset="utf-8">
<script type="text/javascript" src="paella-standalone.js"></script>
<link rel="stylesheet" href="resources/style/style_dark.css" id="paellaSkin" type="text/css" media="screen" title="no title" charset="utf-8">
<script>
// Sample implementation of the authentication URL callback.
// Put the callback name in config.json, auth.authCallbackName
function authenticationUrl(redirect) {
redirect = redirect ? "?redirect=" + encodeURIComponent(redirect): "";
return "https://www.upv.es/auth" + redirect;
}
// Sample implementation of the user data callback
// Put the callback name in config,json, auth.userDataCallbackName
function videoData(onSuccess) {
onSuccess({
permissions: {
canRead: true,
canContribute: false,
canWrite: false,
loadError: false,
isAnonymous: true
},
userData: {
username: 'anonymous',
name: 'Anonymous',
avatar: 'resources/images/default_avatar.png'
}
});
}
// Sample configuration to use this callbacks:
/*
"auth":{
"authCallbackName":"authenticationUrl",
"userDataCallbackName":"videoData"
}
*/
</script>
</head>
<!-- <body id="body" onload="loadStandalonePaella('playerContainer');"> -->
<body id="body" onload="paella.load('playerContainer',{ url:'../repository/' });">
<div id="playerContainer" style="display:block;width:100%">
</div>
</body>
</html>