QuickStart/LinksToContent


Integrating a console into your site.

Basic Integration

The default console can be integrated into your site with no coding, simply link to:

http://youraccount.lightcastmedia.com/console.php?u=1234&c=01234567890

Where 1234 is your account number and 01234567890 is the console number. This address is available by clicking the preview link in the console manager.

If you would like this to open in a popup window, use the following code:

<a href="url"target="_blank"onclick="window.open('url','video', 'width=700,height=500,toolbar=0,resizable=0'); return false">Watch Video</a>

Where "url" is the address from the console manager.

If you would like your logo placed at the top of the console, simply email it to support@lightcastmedia.com.

Advanced Integration

You can create your own player page and use the JavaScript? integration to place the video and information in it.

Create your page, then include the following in the <head> section of your page:

<script type="text/javascript" src="http://youraccount.lightcastmedia.com/console.php?u=1234&c=01234567890 "></script>

Where 1234 is your account number and 01234567890 is the console number. This address is available by clicking the preview link in the console manager.

Add tags/elements to your page and give them IDs as follows:
lcm_stream_author
lcm_stream_title
lcm_stream_desc
lcm_video

Technical and Reference Information

Integration Target: console_js.php Request method: HTTP GET Arguments:

Arguments for console_js.php
 Name   Type   Description   Other 
 u   integer   Your Account Number   Required 
 c   integer   Your Console Number   Required 
 vid   integer   Your Video Number   Required 
 dataformat   Format to return data in   Defaults to JS for normal integration   Set to json to return json encoded data. 
 ip   Remote IP Address      Required when using any data format other than js 

Step 6 - Embed Code