Visit SlideShowPro.net  Community Forums
SlideShowPro Support Wiki
  
Using without Director

Loading single videos

If you want to use the SlideShowPro Player to load just a single video, you may do so by using standard XML markup, or you can skip the necessity of XML all-together and directly assign both a video and accompanying poster graphic. Here's how.

Step one: "Single Content"

Assign to the SlideShowPro Player a value of "Single Content" for XML File Type (or xmlFileType when using ActionScript). If using the Flash component, you may do this in the Properties panel (Flash CS5) or the Component Inspector panel (Flash CS4 and older). Or if using the SWF Player, as a flashvar. This will instruct the SlideShowPro Player that you aren't using XML.

Step two: Assign video path

Next, assign an absolute URL to the video you wish to load (e.g, http://yourdomain.com/path/to/video.mp4) to XML File Path (or xmlFilePath if using ActionScript) same way you assigned a parameter in step one above.

Step three: Load slideshow

Publish a SWF if using the Flash component, or refresh your browser if using the SWF Player. You should see your video loading in the SlideShowPro Player.

Recommended parameters for video (optional)

Chances are you probably don't want to show the SlideShowPro Player's Navigation in your video player, so we recommend setting Navigation Appearance (or navAppearance with ActionScript) to "Hidden".

If you set Video Auto Start to "Off", the SlideShowPro Player will present a play button in the middle of the Content Area for users to engage playback. If you'd like to modify the scale of the button, edit Feedback Video Button Scale (or feedbackVideoButtonScale with ActionScript). Or, if you're using the Flash component and would like to use your own graphic for the play button, you can by following these instructions.

Video poster (optional)

If you turn off Video Auto Start (see above) you have the added option of displaying a poster graphic underneath the play button. Normally, if you were using your own XML markup or SlideShowPro Director to load content a video poster graphic URL would be supplied there. But since "Single Content" doesn't use XML, we have to assign a video poster graphic separately. You do this with the videoPreviewURL parameter.

If using the SWF Player, you'd assign this parameter like the others above. If using the Flash component, you need to make the assignment using ActionScript or by passing-in your own flashvars to your SWF.

To assign using the Flash component inside your FLA, assign an instance name to the SlideShowPro Player component instance, then assign a URL to videoPreviewURL like so:

my_ssp.videoPreviewURL="http://yourdomain.com/img/vid-poster.jpg"

A note about SlideShowPro Director

As a final note, we should mention that SlideShowPro Director does provide single video publishing and embedding as built-in functionality. So if you're using SlideShowPro Director you may want to check out this overview to learn how it works.

Page last modified by tdominey on March 02, 2011, at 10:58 AM
© 2011 SlideShowPro. All Rights Reserved.