forked from opencast-ilias/OpenCast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_paella_livestream.html
34 lines (33 loc) · 1.9 KB
/
test_paella_livestream.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8;">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name = "viewport" content = "user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width">
<title>Paella Engage Example</title>
<!--- Include this file to support Internet Explorer
<script type="text/javascript" src="javascript/polyfill.min.js"></script>
-->
<script type="text/javascript" src="./node_modules/paellaplayer/build/player/javascript/jquery.min.js"></script>
<script type="text/javascript" src="./node_modules/paellaplayer/build/player/javascript/lunr.min.js"></script>
<script type="text/javascript" src="./node_modules/paellaplayer/build/player/javascript/require.js"></script>
<script type="text/javascript" src="./node_modules/paellaplayer/build/player/javascript/paella_player_es2015.js"></script>
<!-- Include this file, instead paella_player_es2015, to support Internet Explorer
<script type="text/javascript" src="javascript/paella_player.js"></script>
-->
<link rel="stylesheet" href="./node_modules/paellaplayer/build/player/resources/bootstrap/css/bootstrap.min.css" type="text/css" media="screen" charset="utf-8">
</head>
<body id="body" onload="
paella.baseUrl = location.href.replace(/[^/]*$/, '') + 'node_modules/paellaplayer/build/player/';
paella.lazyLoad('playerContainer',{
data: {
streams:[{
content: 'presenter',
sources: {hls: [{src:'https://multiplatform-f.akamaihd.net/i/multi/april11/sintel/sintel-hd_,512x288_450_b,640x360_700_b,768x432_1000_b,1024x576_1400_m,.mp4.csmil/master.m3u8',mimetype:'application/x-mpegURL',isLiveStream:true}]}}],
metadata:{title:'test live'}},
configUrl: '/Customizing/global/plugins/Services/Repository/RepositoryObject/OpenCast/js/paella_player/config_live.json'
});">
<div id="playerContainer" style="display:block;width:100%">
</div>
</body>
</html>