/
test.html
53 lines (47 loc) · 2.13 KB
/
test.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
<html>
<body>
<div id='container' style='width:480px;'></div>
</body>
<!DOCTYPE html>
<!-- Include plugins necessary for player -->
<!-- core provides basic player support-->
<script src="//player.ooyala.com/static/v4/production/core.min.js"></script>
<!-- bit_wrapper supports HLS-everywhere and Dash support -->
<script src="//player.ooyala.com/static/v4/production/video-plugin/bit_wrapper.min.js"></script>
<!-- main_html5 support browser supported video formats -->
<script src="//player.ooyala.com/static/v4/production/video-plugin/main_html5.min.js"></script>
<!-- osmf_flash supports Flash based video playback using Adobe's OSMF library -->
<script src="//player.ooyala.com/static/v4/production/video-plugin/osmf_flash.min.js"></script>
<!-- For HD2 stream format playback-->
<script src="//player.ooyala.com/static/v4/production/video-plugin/akamaiHD_flash.min.js"></script>
<!-- For using YouTube player for playback-->
<script src="//player.ooyala.com/static/v4/production/video-plugin/youtube.min.js"></script>
<!-- html5-skin supports the basic player UI -->
<!-- Player UI Definitions-->
<script src="//player.ooyala.com/static/v4/production/skin-plugin/html5-skin.min.js"></script>
<!-- Include the style sheet used by the player -->
<link rel="stylesheet" href="//player.ooyala.com/static/v4/production/skin-plugin/html5-skin.min.css"/>
<!-- The following div will contain the instantiated player, and is identified by id -->
<script src="src/app.js"></script>
<!-- Player parameter modify some basic player behaviors and looks -->
<script>
var playerParam = {
'pcode':'VyYXQ6k1cx_3cTOuyuSX57s4fQU9',
'playerBrandingId':'c9fa53a9eb7349b2b9a35b9de8faa98e',
'autoplay':false,
'loop':false,
'skin': {
'title': false,
},
'title-plugin' : {
'search_url' : 'http://localhost:3000/',
'embed_code' : 'VyYXQ6k1cx_3cTOuyuSX57s4fQU9',
},
};
OO.ready(function() {
window.pp = OO.Player.create('container',
'p4NW5hOTE6dUSSbf5D4PyuB_VcPkb33O',
playerParam);
});
</script>
</html>