Using streaming plugins and content applets on external web pages
Updated:Jun 07, 2011
How can I use Cisco acquired Codian streaming plugins and content applets in external web pages?
Cisco TelePresence supports the use of its streaming plugin and content applet code in external web pages and this FAQ tells you how to stream video and content channels in MCU conferences and IP VCR live recordings and playbacks. (It does not cover the Web Conferencing ‘live chat’ feature.) You can provide the video stream, the content channel or both in your web pages. When applying this information, make allowances for any NAT devices between your Cisco acquired Codian unit and your intended users, and ensure that the correct IP addresses are used in the HTML code.
Video channel streaming plugin
On your MCU or IP VCR, locate the conference or recording whose video is to be streamed in your web page.
Click Watch to watch the video through the web interface, using the player, codecs and bit rate that you want to use in your own web page.
After the Cisco acquired Codian streaming web page has loaded, display its HTML source code: for example, if you are using Internet Explorer, right-click in the browser window and select View Source.
Search through the HTML source code for the part that displays the embedded player, as in this example:
<!-- To embed the player in your own custom webpage, begin copying below this line -->
<param name="QTSRC" value="rtsp://10.2.136.32/rec_video384_1__1_MyRecording">
<param name="SRC" VALUE="http://10.2.136.32/conference.mov">
<param name="AUTOPLAY" value="true">
<param name="CONTROLLER" value="true">
<param name="QTSRCDONTUSEBROWSER" value="true">
<param name="SCALE" value="ToFit">
<embed width="640" height="496" type="image/x-quicktime" qtsrcdontusebrowser="true"
<!-- Stop copying above this line. You can now paste the copied code into your own webpage -->
Copy the code indicated and include it in your own web page. Note that the Cisco acquired Codian unit includes its own IP address four times in this section – you may need to change this to the IP address or DNS name that your users need to access your Cisco acquired Codian unit, as explained in the introduction.
Save and test the web page.
Content channel – DJPEG java applet
On your MCU or IP VCR, locate the conference or recording whose content channel is to be streamed in your web page.
Click Watch to watch the content channel through the web interface, using the player, codecs and bit rate that you want to use in your own web page.
Locate the section of code which displays the DJPEG Java applet:
Copy this section of code into your own web page, changing the IP address as described above.
In the first line of the copied code, between the properties ‘archive=”djpeg.jar”’ and ‘width=”640”’, insert the property ‘codebase=”http://10.2.136.32”’, substituting the IP address or DNS name that your users need to access your Cisco acquired Codian unit; for example:
Where multiple viewers are expected to access a single content stream simultaneously, ensure that your script generates a different value of the 'session' parameter for each connection. This will prevent one user's content from resetting to the start when another user connects.