PDA

View Full Version : FLV player


johnwilletts
01-31-2008, 10:16 AM
How do I control the video and sound? In the notes, it says tweak the FLA file. Which is too difficult for my simple mind. How do you clever guys do it?

On a related subject, I've just got, what is going to be, a very useful bit of kit. The Sanyo ??1000. It records full HD video, 8m stills (only JPEG unfortunately) and audio. Very simple and quick to use and it fits into your shirt pocket.

The HD video converted to FLV is the best I've seen.

John

zleifr
01-31-2008, 02:49 PM
What sort of control do you need? you can change the volume with soundVolume, the soundRadius, and the soundPan in the xml...

If you need more control, and it has to be done in the FLA file, I could give you a quote on doing it.... But I'd rather help find you a way to do it with what's already available, if possible.

Zephyr

johnwilletts
02-01-2008, 09:22 AM
Thanks for your reply Zephyr,

This is a copy of the text file I have for FLVplayer:

Simple video player plugin for Flash Panorama Player
Version 1.0

Plays flv files.

Takes 1 parameter:

1. file - file to play (flv format)
File path should be relative to flvPlayer.swf folder.
If "file" is undefined, player tries to load "[player name].flv" file.

Change flvplayer.fla (Flash CS3 format) to create your own video player.

Written by Denis V. Chumakov for
http://flashpanoramas.com/

It doesn't mention access to controls. Am I missing out on something?

Regards,

John

cheathamlane
02-01-2008, 03:10 PM
Hey John:

I believe that the flvplayer.fla is using the FLVPlayback component, available to Flash CS3. You can adjust this to show the scrub bar and play/pause/volume controls.

Currently the flvplayer.fla is scripted for simple play/pause on a mouse click.

The FLVPlayback component has a parameter of "skin", which you can get to from the Parameters window in Flash. It might be currently set to "none", which means the component is not loading in any visuals (ie, controls). Set "skin" to one of the Flash skins, re-export, and away you go.

Cheers,

johnwilletts
02-01-2008, 03:26 PM
Thanks
John