We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
How can I integrate CDN enabled video?
Answer
After you create a VOD-PULL, VOD-PUSH or Live Streaming Resource, in the "Instruction" tab of control panel, there is an easy embed code which you can copy and paste in your html file, so that visitors can play the video from the player.
This easy embed code support different platforms like web browsers, flash, iOS and Android. Blackberry and Nokia are not supported. However, you may use the manual streaming URLs to achieve this.
For example:
<html>
<head>
<script src="http://video.worldcdn.net/player.js" type="text/javascript"></script>
</head>
<body>
<div id="my-video-player"/>
<script type="text/javascript">
CDNPlayer("my-video-player", resource_id, "resource_id/mystream", {width:640, height:360} );
</script>
</body>
</html>