Search in documentation:     Advanced search
Browse by category:

Web tv widget

Views: 1115
Votes: 1
Posted: 07 Aug, 2009
Updated: 07 Oct, 2009
The Kewego Web-tv widget is a simple widget that you can blog into your pages to play your channels, either with the fast or standard player.

You will then be able to create easily your own Web Tv, using the Channel kewego concept. Configuration is very simple. Notice that we propose 2 versions of this widget : the Quick Web Tv and the Web Tv functional. See below for more details

You can download this widget form the download center .

1) Sample of the Quick Web Tv widget : click on a link below to play channel on the Web-tv
 
 
 
 
 


2) Sample of the Web Tv functional (fully designed and structured Web Tv)

You can see a running sample of the Web Tv functional at this location :

http://developers.kewego.com/samples/html-js/webtv_functional/

NOTICE : Channel can be reached using Csig of the channel in url. For instance :

http://developers.kewego.com/samples/html-js/webtv_functional/#iLyROoaftt3R


3) Working :

- javascript function loads a channel into the "channel bar" (csig parameter)
- channel bar proposes a menu with the videos from the selected channel
- channel bar controls the title and the description of the video in the html page and refresh player when video is selected (javascript events).


Difference between the 2 versions of this widget :

- Quick Web Tv : Web Tv component to use if you just want to plug it in your website, needs to be integrated with your own design.
- Web Tv functional : a fully designed Web Tv (HTML) with a CSS stylesheet that you can use without changes. You just need to adapt your own images and patterns.


4) How to chose between quick Webtv and Web Tv functional
?


Remember that two versions of the webtv are available :

- Quick Webtv : to use if you just want to plug the webtv widget in your website, creating your own CSS stylesheet to integrate it.
- Webtv functional : a fully design Web Tv with a CSS stylesheet that you can use without changing anything : just create your own images and change it in the img directory.


5) How to create easily a webtv functional

a) If you are not a kewego customer

 
 
 
 
  Download the code sample   Create and manage your channels   Configurate your webtv   Personalize your Web Tv
 

Take a look at the web tv functional and read all the documentation on this page .

Notice : Web tv should be played through a webserver (localhost) to alow flash components communication.

 

Create an account in the kewego web portal and manage your channels in the member area. Add your favorite videos to your channels (with your own videos or not)

 

Get the identifier of your channels (csig) and set the desired channel in the html file (also fill channel title and description you want to display).

NOTICE : Find the csig on the portal in the url when edditing a channel :

.../?action=display_channel...&csig=iLyROofttfWe

 

Personalize your player in the kewego_webtv.js file (if using fast player), change images in the img directory and update the webtv.css file if needed.

Your web tv is ready!

       
  Download code sample   http://www.mykewego.com  

 

   

b) If you are a kewego customer :

       
Download the code sample Create and manage your channels Configurate your webtv Personalize your Web Tv

Take a look at the web tv functional and read all the documentation below.

Notice : Web tv should be played through a webserver (localhost) to alow flash components communication.

Manage your channels via the kewego console.

a) In kewego_webtv.js file, set your own player and skin key

b) Get the identifier of your channels (csig) and set the desired channel in the html file (also fill channel title and description you want to display).

Personalize your player in the kewego_webtv.js file (if using fast player), change images in the img directory and update the webtv.css file if needed.

Your web tv is ready!

Download code sample http://console.kewego.com

 

 

6) How to use the Quick Webtv

You can download the Quick Webtv Zip Archive on the download center page.

The archive containts the following files :

  - kewego_webtv.js : javascript library for Kewego Web TV - The js file is the same in all samples, only configuration changes
  - webtv.css : stylesheet for examples
  - webtv.html : integration example
 
* Configuration of your Kewego Web TV

To configure your Kewego Web TV you must edit the kewego_webtv.js file.
At the top of this file, a list of options can be modify :

For example :

var player_key = '<Your_player_key>';    // Your player key
var epix_skin_key = '<Your_skin_key>'; // Epix Skin Key (Epix player only)

var language_code = 'fr'            // Player language code (Channel menu i18n in a next release)

var player_type = 'fp'              // Player Type : 'fp' or 'epix'

/* If fast player : */

var picto_color = '9BDA1B';         // Color of pictogram of player / Channel menu
var border_color = '666666';        // Border color of player / Channel menu
var btn_color = '000000';           // Button color of player / Channel menu
var cbar_color = '000000';          // Control bar color of player / Channel menu

/* fast or standard player */

var player_width = '400';           // Width of the player (in pixel)
var player_height = '230';          // Height of the player (in pixel)
var channel_menu_width = '396';     // Width of the channel menu (in pixel)
var channel_menu_height = '100';    // Height of the channel menu (in pixel)


* Integration of your Kewego Web TV

To integrate your Kewego Web TV you must declare in your HTML the following elements :

  * JS include of kewego_webtv.js
  * StyleSheet include of webtv.css   
  * 4 containers like div/strong/span/etc. with specific Ids.
 
    - kewegowebtv_title
    
    Receive the current video title
    
    - kewegowebtv_player
 
    Receive the video player
    
    - kewegowebtv_description
     
    Receive the current video description
    
    - kewegowebtv_channel_menu
    
    Receive the channel menu interface

  * In body element, add the JS function start() on onload event, to start with a specific video channel (CSIG)
 
      For example : <body onload="start('iLyROoaftt3y');">

  * To create a link to a new Kewego Web TV channel, you must ue the JS start() function.
      
      For example : <a href="#" onclick="start('iLyROoaftt3O'); return false;">Interviews clients FR</a>
Others in this Category
document Kewego Standard player
document Kewego Fast Player
document Web Cam recorder
document Components and widgets overview



RSS