Search  

VIDEOPICKER V1

HomeBrowse CategoriesFlashApplications and UtilitiesVideoPicker v1

This is a custom video player with playlist. This player has been designed with ease of use in mind and provides a convenient way for you to incorporate a customizable and flexible video player that looks great and has plenty of features.

QUICKSTART A more in depth look at the XML file and the FLVPlayer class are included, but here’s an overview of what you need to do to get a functional VideoPicker.

1. Just drag an instance of vid.PLAYER from the library onto your stage 2. Drag an instance of list.PLAYLIST from the library onto your stage 3. Instantiate the FLVPlayer class and parse it your required settings 4. Create an XML document that holds data such as the file URLs, thumbnail URLs and the play list labels

FLVPlayer CLASS The FLVPlayer class is where all the magic happens! For the technically minded I have laced the class with an abundance of comments, so if you want to get under the hood it shouldn’t be too tough.

If you just want to know how to use the class then read on…

FLVPlayer CONSTRUCTOR Once a video player and a play list is on the stage (either dragged on at author time or attached dynamically) you must instantiate the player. You will find it more flexible to assign this instance to a variable as follows:

var myPlayer:FLVPlayer = new FLVPlayer(playerInstance:MovieClip, playList:MovieClip, playlistURL:String, playerWidth:Number, playerHeight:Number, titleFormat:TextFormat, tagFormat:TextFormat, clickCol:Number, progressive:Boolean);

Of course, this will look less daunting when it’s all in one line!!!!

DEVELOPER NOTES The video player is configured to auto-letterbox video content. This means that if you play a widescreen video in a player defined to be 4:3 size then it will scale to the right width and centre itself vertically. If you play 4:3 video in a widescreen sized player the reverse will happen and space will be added to the left and right.

The example above has been set to play progressively, if you set it to download first then the message changes to “Loading xx% thanks for waiting…”

Posted about 1 month ago

nice player and design ;) a good thing would be to make the videos autoplay when clicked on the left menu

Posted about 1 month ago

Is It resizable ?

Posted about 1 month ago

Yes, this comes as two distinct parts, the player and the playlist. You can position them where you like.

The player is completely resizable and can be set simply by sending the dimensions you want to the class via the playerWidth and playerHeight properties.

The scrolling playlist is not resizable straight out of the box, but could be modded easily. It is fully commented.

By the way, the play list is only the up and down buttons and everything in between, the “Video” text and all the borders and stuff arse just graphics added by me.

Also, currently the video thumbnails are not displaying properly on this Flashden example, I have mailed them to ask them to check that they have put the jpgs in the right place (16/07/2008). Don’t worry though as I KNOW this feature works as I test all my submissions thoroughly in many different browsers.

As for autoPlay, this is a pretty easy mod that I actually took out of the final version! I just felt that seeing a jpg based preview and then clicking play to watch it was more user friendly.

If you want autoPlay please contact me and I’ll send you a version of the class that allows it.

Posted about 1 month ago

One thing to note is that this player requires the presence of metaData in your target FLV . This should not be much of an issue as all modern encoders now add metaData, so it will most likely only affect you if you are using some ancient video. I just tested it on a couple of videos I encoded 3-4 years ago and found that the sound played but there was no picture.

However, it took me about 2 seconds to fix so if you experience this all you have to do is use a metaData injector on your FLV , it is free and can be found here…

http://www.buraks.com/flvmdi/

Posted about 1 month ago

Noice work.

Posted about 1 month ago

Thanks to Flashden for fixing the thumbnail jpg URLs.

(Hmm, they are not really thumbnails, more previews I suppose!?)

Posted about 1 month ago

you player support (rtmp) if support send email to ftorresny@yahoo.com

Thanks

Posted about 1 month ago