You need to install/upgrade your Flash Player and have javascript enabled
Flash and Javascript required

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
  1. Click the 'Insert/Edit Link' icon on the toolbar
  2. On the 1st tab, click the 'Browse Server' button
  3. In the 'Resource Type' dropdown list in the top left, select 'Media'
  4. Select the subdirectory 'flv' - if it doesn't exist, create it
  5. Click the 'Browse' button to locate the video (flv) file on your computer
  6. Click the 'Upload' button to transfer the file
  7. 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
  1. Click the 'Source' button on the edit toolbar
  2. 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

©2007 SwissCMS | Email this page | Powered by SwissCMS | License Type: Champ | Valid XHTML 1.0 Transitional