Skip to content
Permalink
Browse files

Added example

  • Loading branch information...
miesgre
miesgre committed Jun 23, 2014
1 parent 5da3f8d commit 5772ec1c6015fa1946d876d003190c9eae24ff78
Showing with 23 additions and 3 deletions.
  1. +21 −0 example.html
  2. +2 −3 example.js
@@ -0,0 +1,21 @@
<!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/base.js"></script>
<script type="text/javascript" src="javascript/jquery.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/style/controls.css" type="text/css" media="screen" charset="utf-8">
<link rel="stylesheet" href="resources/style/editor.css" type="text/css" media="screen" charset="utf-8">
<link rel="stylesheet" href="resources/bootstrap/css/bootstrap.slate.min.css" type="text/css" media="screen" charset="utf-8">
<script type="text/javascript" src="example.js"></script>
</head>
<body id="body" onload="loadPaella('playerContainer');">
<div id="playerContainer" style="display:block;width:100%">
</div>
</body>
</html>
@@ -227,10 +227,9 @@ var DualRTMPVideoLoader = Class.create(paella.VideoLoader, {

function loadPaella(containerId) {
// var initDelegate = new paella.InitDelegate({accessControl:new MyAccessControl(),videoLoader:new DualMP4VideoLoader()});

// var initDelegate = new paella.InitDelegate({accessControl:new MyAccessControl(),videoLoader:new DualLiveRTMPStreamVideoLoader()});
var initDelegate = new paella.InitDelegate({accessControl:new MyAccessControl(),videoLoader:new LiveRTMPStreamVideoLoader()});
// var initDelegate = new paella.InitDelegate({accessControl:new MyAccessControl(),videoLoader:new Mp4RTMPStreamVideoLoader()});
// var initDelegate = new paella.InitDelegate({accessControl:new MyAccessControl(),videoLoader:new LiveRTMPStreamVideoLoader()});
var initDelegate = new paella.InitDelegate({accessControl:new MyAccessControl(),videoLoader:new Mp4RTMPStreamVideoLoader()});
// var initDelegate = new paella.InitDelegate({accessControl:new MyAccessControl(),videoLoader:new FlvRTMPStreamVideoLoader()});
// var initDelegate = new paella.InitDelegate({accessControl:new MyAccessControl(),videoLoader:new DualRTMPVideoLoader()});

0 comments on commit 5772ec1

Please sign in to comment.
You can’t perform that action at this time.