|
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
2010-03-08, 07:09 PM | #1 |
old enough to be Grandma Scrotum
|
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 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' Can anyone tell me how to add a preview image to AC javascript code for flash movies?
__________________
Promote Bright Desire |
2010-03-09, 08:43 PM | #2 |
old enough to be Grandma Scrotum
|
Bueller? Bueller? Bueller?
I realise I've asked this on a fairly dead bit of the board. Just thought it was a quickie question that someone could take 2 seconds to help with.
__________________
Promote Bright Desire |
2010-03-09, 09:57 PM | #3 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
Just a guess as I've not seen that implementation:
'previewImageURL','http://www.previewimage.com/previewimage.jpg', after one of the variable pairs in the request? I don't actually find previewImageURL as a typical action content. You might try 'image'. I believe 'logo' is for a webbug in the corner of the video.
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
2010-03-09, 10:53 PM | #4 |
If there is nobody out there, that's a lot of real estate going to waste!
Join Date: Dec 2003
Posts: 2,177
|
Try reading through this.
http://www.republicofcode.com/tutori...oad_images_bc/ There is also a link to another tutorial near the end. |
2010-03-10, 01:45 AM | #5 |
old enough to be Grandma Scrotum
|
Thanks Sparky and Tickler. I'll have a read and a play around.
__________________
Promote Bright Desire |
|
|