Broadcast yourself...
Higher end packages come with the additional bonus of a YouTube style video plugin. Embedding the video player and presenting video material is a three-step process...
Step 1 - Adding video (flv) files
- Click the 'Insert/Edit Link' icon on the toolbar
- On the 1st tab, click the 'Browse Server' button
- In the 'Resource Type' dropdown list in the top left, select 'Media'
- Select the subdirectory 'flv' - if it doesn't exist, create it
- Click the 'Browse' button to locate the video (flv) file on your computer
- Click the 'Upload' button to transfer the file
- Close the edit window - you do NOT want to actually make a link
Alternatively, you can
FTP your video files into the correct directory:
swisscmsroot/content/Media/flv
Step 2 - Adding the Javascript
- Click the 'Source' button on the edit toolbar
- Insert the following code in the edit area of the page in which you wish to embed the video player:
<script language="JavaScript" type="text/javascript">
var win_popup = null;
function openWindow( url, name, params, w, h )
{
var ah = window.availHeight;
var aw = window.availWidth;
var l = (aw - w) / 2;
var t = (ah - h) / 2;
params += params == "" ? "" : ",";
params += "left=0,top=0,height="+ah+",width="+aw;
//close previous opened popup
if (win_popup && win_popup.open && !win_popup.closed)
{
win_popup.close();
}
//---
win_popup = window.open( "", name, params );
win_popup.location.href = url;
}
</script>
Step 3 - Inserting the video code
Use the following code to insert the video player:
<div id="videochannel"> <strong>You need to either install or upgrade your Flash Player</strong> </div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("/content/Flash/scms_tv.swf?xml=/plugins/video/config.xml", "videochannel", "450", "370", "8");
so.addParam("menu", "false");
so.write("videochannel");
// ]]>
</script>
The final result is show below:
You need to either install or upgrade your Flash Player