Nice guide, very helpful. Thanks.
Hi all !
I created this new utility and perhaps lots of you will find it very useful.
It is a multi player of FLV videos.
Supported by a TileList component that displays thumb and title of the videos.
Select a video and it will be streamed.
Let's see it...*
MULTI VIDEO PLAYER
multi FLV video player
Description
Multi FLV videos player.
Supported by TileList component.
It reads from XML file: videos url, thumbs url and titles
Files package
main.fla
Main.as
LoadingXML.as
Caricatore.as
videos.xml
SkinOverPlaySeekMute.swf
cartella immagini di prova
readme.rtf
Important
Open LoadingXML.as file and change url call to XML file.
XML file options
- add/remove any url video you wish
- add/remove any url thumb you wish
-add/remove any title
XML:
HTML Code:<?xml version="1.0" encoding="UTF-8"?> <videos> <item> <video_url>http://www.flepstudio.org/utilita/MultiFLVPlayer/videos/vid_0.flv</video_url> <thumb>http://www.flepstudio.org/utilita/MultiFLVPlayer/thumbs/thumb_0.jpg</thumb> <title>video 1 title</title> </item> <item> <video_url>http://www.flepstudio.org/utilita/MultiFLVPlayer/videos/vid_1.flv</video_url> <thumb>http://www.flepstudio.org/utilita/MultiFLVPlayer/thumbs/thumb_1.jpg</thumb> <title>video 2 title</title> </item> <item> <video_url>http://www.flepstudio.org/utilita/MultiFLVPlayer/videos/vid_2.flv</video_url> <thumb>http://www.flepstudio.org/utilita/MultiFLVPlayer/thumbs/thumb_2.jpg</thumb> <title>video 3 title</title> </item> <item> <video_url>http://www.flepstudio.org/utilita/MultiFLVPlayer/videos/vid_3.flv</video_url> <thumb>http://www.flepstudio.org/utilita/MultiFLVPlayer/thumbs/thumb_3.jpg</thumb> <title>video 4 title</title> </item> <item> <video_url>http://www.flepstudio.org/utilita/MultiFLVPlayer/videos/vid_4.flv</video_url> <thumb>http://www.flepstudio.org/utilita/MultiFLVPlayer/thumbs/thumb_4.jpg</thumb> <title>video 5 title</title> </item> <item> <video_url>http://www.flepstudio.org/utilita/MultiFLVPlayer/videos/vid_5.flv</video_url> <thumb>http://www.flepstudio.org/utilita/MultiFLVPlayer/thumbs/thumb_5.jpg</thumb> <title>video 6 title</title> </item> <item> <video_url>http://www.flepstudio.org/utilita/MultiFLVPlayer/videos/vid_6.flv</video_url> <thumb>http://www.flepstudio.org/utilita/MultiFLVPlayer/thumbs/thumb_6.jpg</thumb> <title>video 7 title</title> </item> <item> <video_url>http://www.flepstudio.org/utilita/MultiFLVPlayer/videos/vid_7.flv</video_url> <thumb>http://www.flepstudio.org/utilita/MultiFLVPlayer/thumbs/thumb_7.jpg</thumb> <title>video 8 title</title> </item> <item> <video_url>http://www.flepstudio.org/utilita/MultiFLVPlayer/videos/vid_8.flv</video_url> <thumb>http://www.flepstudio.org/utilita/MultiFLVPlayer/thumbs/thumb_8.jpg</thumb> <title>video 9 title</title> </item> </videos>
Source files:
Last edited by Flep; 05-06-08 at 17:28.
Nice guide, very helpful. Thanks.
Hallo All, hallo Filippo,
your Multi flv Player is very good, i think. I have downloaded the package. But i am an absolute beginner in programming html. The XML file i understand, but i can not integrated the Player in my Webpage.
Please can anybody help me with a simple html code, that i can copy and paste in my html File. All files are in one directory.
Many thanks
Micha
Germany
Hello
What HTML editor do you use ?
... it should have an option that allow you to add an SWF into your HTML page.
Could you be so kind as to post a flash8 version of the FLA please?
Thank You!
Awesome application!
Hi i'm having trouble embedding the flash object within an html page to work can anyone tell me what i'm doing wrong.
First all the files are in the same directory on my local computer.
I have changed this line in LoadingXML.as file
var request:URLRequest=new URLRequest('http://www.flepstudio.org/utilita/MultiFLVPlayer/videos.xml');
to
var request:URLRequest=new URLRequest('videos.xml');
as requested
i have changed the videos.xml file to only contain:
vid_0.flv
thumb_0.jpg
video 1 title
and this is the source of my test html page which i just copied a small piece from this news group page:
i'm running windows xp service pack 2 on a pentium 4 2.9 GhzHTML Code:<html> <head> </head> <body> <h1 align="center">MULTI VIDEO PLAYER multi FLV video player</h1> <div align="center"> <div style="overflow: visible; padding-left: 550px; display: block; position: relative; width: 0px; height: 0px; left: 0px; top: 0px; z-index: 65535; opacity: 0.5;"></div> <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" name="obj1" id="obj1" border="0" height="400" width="550"> <param name="movie" value="main.swf"> <param name="quality" value="High"> <embed src="main.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" height="400" width="550"> </object> </div> <p align="center"><strong>Description</strong>Multi FLV videos player. </body> </html>
and the flash plugin is installed correctly as i can use the video player on this page perfectly.
any help would be appreciated
thanx
Last edited by Flep; 13-03-08 at 04:21.
i'm sorry i didn't realise that my adding html text to the message would result in it being rendered out :
please find attached my test html page
Ure rock. Tks
Bookmarks