forked from ooyala/html5-skin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.html
31 lines (29 loc) · 1.26 KB
/
sample.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
<!DOCTYPE html>
<html>
<head>
<script src="//player.ooyala.com/static/v4/stable/4.3.3/core.min.js"></script>
<script src="//player.ooyala.com/static/v4/stable/4.3.3/video-plugin/main_html5.min.js"></script>
<script src="//player.ooyala.com/static/v4/stable/4.3.3/video-plugin/osmf_flash.min.js"></script>
<script src="//player.ooyala.com/static/v4/stable/4.3.3/video-plugin/bit_wrapper.min.js"></script>
<script src="//player.ooyala.com/static/v4/stable/4.3.3/other-plugin/discovery_api.min.js"></script>
<script src="build/html5-skin.min.js"></script>
<link rel="stylesheet" href="build/html5-skin.min.css"/>
</head>
<body>
<div id='container'></div>
<script>
var playerParam = {
"pcode": "5zb2wxOlZcNCe_HVT3a6cawW298X",
"playerBrandingId": "26e2e3c1049c4e70ae08a242638b5c40",
'debug':true,
"skin": {
"config": "config/skin.json",
"inline": {"shareScreen": {"embed": {"source": "<iframe width='640' height='480' frameborder='0' allowfullscreen src='//player.ooyala.com/static/v4/stable/4.3.3/skin-plugin/iframe.html?ec=<ASSET_ID>&pbid=<PLAYER_ID>&pcode=<PUBLISHER_ID>'></iframe>"}}}
}
};
OO.ready(function() {
window.pp = OO.Player.create('container', 'Bsd25zZzpvUqqeV4Fp_VB-ZfQCFj8OAv', playerParam);
});
</script>
</body>
</html>