View Single Post
Old 2010-03-08, 07:09 PM   #1
Ms Naughty
old enough to be Grandma Scrotum
 
Ms Naughty's Avatar
 
Join Date: Aug 2003
Location: Australia
Posts: 1,408
Send a message via ICQ to Ms Naughty
Simple question: adding screenshot to flv player

Hi there
I've been messing around with this and can't get it to work.

I'm used to embedding flv files using the embed/object code. No probs there. But now I'm working with this code:
HTML Code:
if (AC_FL_RunContent == 0 || DetectFlashVer == 0) {
	alert("This page requires AC_RunActiveContent.js.");
} else {
	var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
	if(hasRightVersion) {  // if we've detected an acceptable version
		// embed the flash movie
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,24,0',
			'width', '330',
			'height', '290',
'src', 'couples2',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'false',
			'loop', 'true',

etc
etc
So the parameters are listed differently.

What I want to do is make the player display a sample screenshot because at the moment the screens are black.

At the bottom I tried adding:
HTML Code:
'FlashVars', 'previewImageURL=http://www.previewimage.com/previewimage.jpg'
but it didn't work.

Can anyone tell me how to add a preview image to AC javascript code for flash movies?
__________________
Promote Bright Desire
Ms Naughty is offline   Reply With Quote