Monday, August 6, 2007

Embed TVU Player in website/blog

Many of the bloggers are wondering how to embed TVU player in their OWN Blogs/Website. Follow the below simple 3 steps to embed TVU Player.


Method 1:


Simply copy and paste the following codes to any place you want in your web page, and replace "channel_number".




<script src="http://www.viidoo.com/js/playback.js" type="text/javascript"></script>
<script src="http://www.viidoo.com/js/validate.js" type="text/javascript"></script>

<object id="tvu" codebase="http://dl.tvunetworks.com/TVUAx.cab#Version=" height="400" width="400"

data="data:application/x-oleobject;base64,iPqkPr7gmkGnMpt5uHpu0BAHAADYEwAA2BMAAA=" align="center"

classid="CLSID:3EA4FA88-E0BE-419A-A732-9B79B87A6ED0">
</object>
<br/>

<img onmouseover="style.cursor = 'hand'" onclick="javascript:play(Channel_number)" height="20" alt="Stop"

src="http://dl.tvunetworks.com/webplayer/images/play.gif" width="32" align="absMiddle" border="0" />

<img onmouseover="style.cursor = 'hand'" onclick="stop()" height="20" alt="Stop" src="http://www.viidoo.com/images/stop.gif"

width="32" align="absMiddle" border="0" />

<img onmouseover="style.cursor = 'hand'" onclick="refresh()" height="20"

alt="Refresh" src="http://www.viidoo.com/images/refresh.gif" width="32" align="absMiddle" border="0" />

<img onmouseover="style.cursor = 'hand'" onclick="mute()" height="20" alt="Mute" src="http://www.viidoo.com/images/mute.gif"

width="32" align="absMiddle" border="0" />

<img onmouseover="style.cursor = 'hand'" onclick="vup()" height="20" alt="Volume

Up" src="http://www.viidoo.com/images/volumeup.gif" width="32" align="absMiddle" border="0" />

<img onmouseover="style.cursor

= 'hand'" onclick="vdown()" height="20" alt="Volume Down" src="http://www.viidoo.com/images/volumedown.gif" width="32"

align="absMiddle" border="0" /></p>



Once the above code is embedded in your site, you can see the below player.





Method 2:

Simply copy and paste the following codes to any place you want in your web page, and replace "channel_number", "screen_width" and "screen_height" with your desired settings.


<script type="text/javascript" src="http://dl.tvunetworks.com/webplayer/webplayer.js"></script>
<script type="text/javascript">
<!--
tvuplayerX(channel_number, screen_width, screen_height);
//-->
</script>

For example,

If you want to play Channel 1000 and set the webplayer screen to 400px in width and 300px in height, then it looks like:


<script type="text/javascript" src="http://dl.tvunetworks.com/webplayer/webplayer.js"></script>
<script type="text/javascript">
<!--
tvuplayerX(1000, 400, 300);
//-->
</script>

Why TVU Player?

TVU networks enables anyone broadcast TV programs to global audiences cost effectively. Its service is based on a number of patent-pending technologies, which covers high quality video coding, efficient real-time P2P distribution, and effective digital rights management


Leave your comments on this blog.


3 comments:

Anonymous said...

Hi Rajesh,
I have used your code of embeding media player in my blog it all worked well. But comming to the TVU and SOP players, the code you gave is a java code and it cannot be used for posts. If the same code is used in the posts the screen is blank rather than a player comming up. But it works on the front page of the blog where it accepts java code. Can you please see into it? thank you for all the information on your blog. Please mail your answers to rjesh.bala@gmail.com

Dilip said...

hi,

i am also facing the same problem with TVU player. i am not able to see any player after pasting the code in my blog page. please help

thanks,
http://allusefullinks.blogspot.com

html5 audio player said...

I have no words for this great post such a awe-some information i got gathered. Thanks to Author.