Santa Clara University

Elements - Media Player

Web Publishing

CommonSpot Elements

Media File Player

Use this element to embed an audio or video media player in a Commonspot page. The element has one required script parameter - "link" - which is the full URL path to the file.  In the following example, we've included the URL for a video on www.scu.edu, and have used custom height and width settings.

 
 

There are four optional parameters for this element;  width, height, autostart, and preview.  The default settings for the video player dimensions are 400 x 330, and 400 X 20 for audio.  You might want to change the width settings if you're including this element in the right column of a page - in that case, a width setting of "160" would be appropriate.  And if your video is in letterbox format, you'll want to set the width and height dimensions accordingly.  Autostart can be set to "true" if you want to have the video or audio begin playing automatically (this isn't recommended, but may be appropriate in some cases).  And you can set a static image as a preview, in place of the black background in the video player.

This element currently supports MOV (Quicktime) and SWF and FLV (Flash) video formats, and MP3 audio only.