Embedding your webtv
Hello,
I'd like to take a little time to explain how to embed the webtv. Assuming you have already registered and activated your account, the next step will be to get your webtv code in the "MyTools" section of your control panel located here: http://mywebtv.cc/admin?section=MyTools
There you will see a big box with your webtv embed code in it. Under the box you can customize the code for your webtv by changing its size. You can set the width of your webtv in pixels or in percentage. You can only set the height in pixels. You can also change the startup channel. This setting will override the "Default channel" setting in FeaturedChannels section. So as long as the channel you've set there is not deleted from your webtv, you webtv will start this channel on load. Normally, you will want to leave this to "no override".
Once you've customized your embed code you must copy it onto your website/blog/webpage. The embed code is html code. This means when you paste it on your webpage, you must make sure you can use html. This will only be a problem if you are using a content management system. If you are publishing the webtv directly on your website, then this won't be problem.
If you are pasting your webtv code on your website, you must make sure the page isn't displayed in quirks mode in internet explorer, because the webtv doesn't display very well in quirks mode. Amongst other things, pay attention to your doctype declaration to ensure the page doesn't enter quirks mode.
The webtv should be embedded in the top window. The reason for this is that tracking of the webtvs uses the document.referer property and this won't work if the webtv is embedded inside a child frame. Tracking can be deactivated for the premium webtvs. So if you keep getting "You must embed the webtv in the top window." error and you have a premium webtv, disable tracking from the control panel.
Getting back to the topic at hand. Once you have copied the webtv code, you must paste it into your webpage. You can paste it anywhere inside the body of your page. Here is the html code for this page: http://mywebtv.cc/BlackTV.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>BlackTV Demo</title>
</head>
<body>
<center>
<!-- Start of BlackTV code -->
<div id="webtvdiv" style="text-align: center; line-height: 0;"><div><iframe src="http://mywebtv.cc/BlackTV/bar" frameborder="0" allowtransparency="true" scrolling="no" id="bar" name="bar" width="80%" height="28px" style="margin:0;padding:0;">Your browser doesn't support iframe</iframe></div><div><iframe src="http://mywebtv.cc/BlackTV/webtv" frameborder="0" allowtransparency="true" style="margin:1px 0 0 0; padding:0;" scrolling="auto" id="webtv" name="webtv" width="80%" height="371px">Your browser doesn't support iframe</iframe></div></div>
<!-- End of BlackTV code -->
</center>
</body>
</html>
If you want to test your webtv without publishing it to the internet, just paste the above html into your favorite text editor, replace the BlackTV code with your own code you got in the control panel and save the file with .html extension. Then open it with your web browser and you will see your webtv embedded onto a webpage.
So there you go. Bottom line is:
1- Copy your code from control panel
2- Paste it into your website/bog/webpage
Hoping this can help you out,
MyWebTV Admin
I'd like to take a little time to explain how to embed the webtv. Assuming you have already registered and activated your account, the next step will be to get your webtv code in the "MyTools" section of your control panel located here: http://mywebtv.cc/admin?section=MyTools
There you will see a big box with your webtv embed code in it. Under the box you can customize the code for your webtv by changing its size. You can set the width of your webtv in pixels or in percentage. You can only set the height in pixels. You can also change the startup channel. This setting will override the "Default channel" setting in FeaturedChannels section. So as long as the channel you've set there is not deleted from your webtv, you webtv will start this channel on load. Normally, you will want to leave this to "no override".
Once you've customized your embed code you must copy it onto your website/blog/webpage. The embed code is html code. This means when you paste it on your webpage, you must make sure you can use html. This will only be a problem if you are using a content management system. If you are publishing the webtv directly on your website, then this won't be problem.
If you are pasting your webtv code on your website, you must make sure the page isn't displayed in quirks mode in internet explorer, because the webtv doesn't display very well in quirks mode. Amongst other things, pay attention to your doctype declaration to ensure the page doesn't enter quirks mode.
The webtv should be embedded in the top window. The reason for this is that tracking of the webtvs uses the document.referer property and this won't work if the webtv is embedded inside a child frame. Tracking can be deactivated for the premium webtvs. So if you keep getting "You must embed the webtv in the top window." error and you have a premium webtv, disable tracking from the control panel.
Getting back to the topic at hand. Once you have copied the webtv code, you must paste it into your webpage. You can paste it anywhere inside the body of your page. Here is the html code for this page: http://mywebtv.cc/BlackTV.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>BlackTV Demo</title>
</head>
<body>
<center>
<!-- Start of BlackTV code -->
<div id="webtvdiv" style="text-align: center; line-height: 0;"><div><iframe src="http://mywebtv.cc/BlackTV/bar" frameborder="0" allowtransparency="true" scrolling="no" id="bar" name="bar" width="80%" height="28px" style="margin:0;padding:0;">Your browser doesn't support iframe</iframe></div><div><iframe src="http://mywebtv.cc/BlackTV/webtv" frameborder="0" allowtransparency="true" style="margin:1px 0 0 0; padding:0;" scrolling="auto" id="webtv" name="webtv" width="80%" height="371px">Your browser doesn't support iframe</iframe></div></div>
<!-- End of BlackTV code -->
</center>
</body>
</html>
If you want to test your webtv without publishing it to the internet, just paste the above html into your favorite text editor, replace the BlackTV code with your own code you got in the control panel and save the file with .html extension. Then open it with your web browser and you will see your webtv embedded onto a webpage.
So there you go. Bottom line is:
1- Copy your code from control panel
2- Paste it into your website/bog/webpage
Hoping this can help you out,
MyWebTV Admin
Labels: code, embed, webtv widget

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home