Tuesday, April 27, 2010

Removing or resizing columns

Hello,

in this post I'll explain how to remove column(s) and how to resize column(s). You can see the result of the manipulation here http://mywebtv.cc/BlackTV.html

You can see the column of icons has been removed and the column of index has been made smaller. So has the column of channel title. The column of channel description is wider. Here is the css code of the columns before the manipulation:

.title_desc {
width:10%;
text-align:center;
}

.title_asce {
width:10%;
text-align:center;
}

.title_channel {
width:40%;
}

.title_description {
width:40%;
}

The css class title_desc is applied to the index column, title_asce is applied to the icons column, title_channel is applied to the channel name column and title_description is applied to the channel description column.

Here is the css code after modification:

.title_desc {
width:5%;
text-align:center;
}

.title_asce {
width:0;
display:none;
text-align:center;
}

.title_channel {
width:20%;
}

.title_description {
width:75%;
}

Notice the width property of the columns has changed. By default, width of the columns are defined in percentage values because I do not know what width you will want your webtv to have. However if you are set on what width you will give your webtv you can use pixels instead to specify the width. Just make sure you use all percentage or all pixels and if you use pixels, make sure the width sums up to the width of your webtv.

Also notice that display property is set to none on the icons column. This effectively removes it from your webtv.

If you are making changes to your webtv css and you want the changes to be applied immediately, you will need to cache manually the webtv after saving the changes (using the cache button on the FeaturedChannels section of your control panel).

So there you go.

Enjoy the webtvs,
Elvis

Labels: , ,

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

Labels: , ,

Wednesday, April 21, 2010

Ads + Privacy + Donation

Hello,

As you may have also seen with the new webtv design, the text ads are gone. However I have kept the referral link to mywebtv. and I've put it as a button in the navigation bar of the webtv. I have also added a redirection to the webtv. An advertisement will popup every four times the widget is loaded in the browser. This is aimed particularly to users placing the widget behind password protected pages, as I cannot confirm the navigation bar and the referral link are properly displayed in these cases.

In order to further enforce the privacy of the mywebtv users, I have changed the cache process of the webtv so it deletes the webtv home page (http://mywebtv.cc/webtvname) if you set your webtv as private.

I have also started accepting donations. In return for your donations, you will get 1 month of adless premium webtv service for each 4 full dollars donated. You will be able to add an illimited number of channels. In order to donate for your webtv, you should login and visit the donation page:

http://mywebtv.cc/donate

If you donate 12$ or more I can also customize your webtv for you. I can make a custom css with the colors of your website, blog or webpage. I can also integrate the webtv with your own navigation bar so you can eliminate the mywebtv navigation bar. If you wish we can also put the channel list and the player in two different windows. If you want a slimmer channel list, I can remove some of the columns in the channel list. For instance we could set it up so it only has the logo and the channel name.

Hoping to hear from you soon,
Elvis
admin at mywebtv.cc

Saturday, April 17, 2010

WebTV simplified

Hello

I have redesigned slightly the webtvs to improve the loading time and to make them easier to use. I have removed the yahoo libraries. This hopefully will make it so you can change your css files more easily. As you will see the html of the webtv and the css is much simpler and easier to customize. I have also seperated the widget in two iframes so the channels table loads faster and better. The top iframe contains the navigation bar and the main iframe contains the channels table and the player. I have removed the use of tabs and placed two buttons instead, "Player" and "Channels". In order to refresh the channel list, you must hit the "Channels" button. You will also see there is now a status bar that appears on top of the channel list. It will display messages when refreshing the channel list or when an error occurs, for instance if you are trying to play a TVU stream with firefox.

One of the side effects of dropping the yahoo libraries is that older web browsers may not be supported very well. Right now the navigation bar is mandatory because it contains the referral link to mywebtv. If you wish to use your own navigation bar instead, email me and we can talk about it.

All the webtvs have switched to the blue theme. You can switch them to the theme you want by copy pasting the content of these files into your WebTVStyle page in the control panel:
http://mywebtv.cc/css/custom/bluetv_v4webtv.css
http://mywebtv.cc/css/custom/brown_tv_v4webtv.css
http://mywebtv.cc/css/custom/fish_tv_v4webtv.css
http://mywebtv.cc/css/custom/green_tv_v4webtv.css
http://mywebtv.cc/css/custom/ocean_tv_v4webtv.css
http://mywebtv.cc/css/custom/orange_v4webtv.css
http://mywebtv.cc/css/custom/red_tv_v4webtv.css
http://mywebtv.cc/css/custom/violet_tv_v4webtv.css
http://mywebtv.cc/css/custom/blacktv_v4webtv.css

Elvis
admin at mywebtv.cc

********** edit ***********

As you may have also seen with the new webtv design, the text ads are gone. However I have kept the referral link to mywebtv. and I've put it as a button in the navigation bar of the webtv. I have also added a redirection to the webtv. An advertisement will popup every four times the widget is loaded in the browser. This is aimed particularly to users placing the widget behind password protected pages, as I cannot confirm the navigation bar and the referral link are properly displayed in these cases.

In order to further enforce the privacy of the mywebtv users, I have changed the cache process of the webtv so it deletes the webtv home page (http://mywebtv.cc/webtvname) if you set your webtv as private.