DNA Video Streaming Demo: Embedded Flash Player
This text is replaced by the Flash movie.
<!-- BITTORRENT DNA INTEGRATION -->
<!-- THIS IS AN EXAMPLE OF USING DNA TO ACCELERATE A CONTENT URL THAT IS THEN PASSED TO A FLASH PLAYER: -->
<!-- IN THIS CASE THE SWFOBJECT JAVASCRIPT IS USED TO CONFIGURE THE FLASH PLAYER; -->
<!-- THE BTDNA JAVASCRIPT IS USED TO DETECT THE PRESENCE OF DNA AND REWRITE THE URL TO USE DNA WHEN DNA IS AVAILABLE -->
<html>
<head>
<script type="text/javascript" src="http://btdna.bittorrent.com/btdna.js"></script>
<script type="text/javascript" src="http://www.bittorrent.com/wp-content/uploads/swfobject.js"></script>
</head>
<body>
<div id="container">
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<div id="player" >
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("http://www.bittorrent.com/wp-content/uploads/demobuild.swf", "VideoPlayer", "640px", "360px", "9", "#ffffff", true);
so.addParam("allowFullScreen", "true");
so.addVariable("auto_play", "true");
so.addVariable("flvURL",encodeURIComponent(btdna({url:"http://download.bittorrent.com/public/SeedMe/Bolivia/BT_640x360.flv", service:"streaming", duration:299, buffer_secs:15})));
so.useExpressInstall('expressinstall.swf');
so.write("flashcontent");
// ]]
</script>
</div>
</div>
</body>
</html>
<!-- Dynamic Page Served (once) in 0.145 seconds -->
<!-- Cached page served by WP-Cache -->
