-
How to Use Multiple Playlists with One FLV (flash video) Player
Posted on July 28th, 2009 28 commentsSome Moyea Web Player users may wonder: Do I have to create flash video players for every webpage to play different videos?
The answer is: Not necessarily! Moyea Web Player offers easier solutions that you only need to create one player, and then embed it onto each webpage to play different videos by linking to different playlist file, or by linking to videos directly.
Only few steps will take you there, let’s have a look:
Step 1: Create a flash video player with Moyea Web Player which I have mentioned in my previous blog or you can kindly refer to the detailed tutorial to learn how.
Step 2: Embed the flash video player onto different webpage to play different videos by linking to different playlist file or linking to videos directly.
Situation A: Link to xml playlist file. The tutorial shows below:
For example: If you want to add the flash video player onto webpage A to play videos in “demo1.xml” playlist file, the embeded code will show as below:

By analogy, if you want to add the player on another webpage to play videos in “demo2.xml” playlist file, the player embed code will show as below:

Note: the only difference is the xml file name and its path, the others remain the same.
Situation B: Link to videos directly, the tutorial shows below:
The flashvars code syntax for linking multiple videos is playerOpts=playListPath*^caption^path^image^clickurl^clicktarget^endurl^styleoftarget^endtarget……*s’
Note:
1. The “…” part means the front code can be duplicated
2. The values of caption (video name), image, clickurl, clicktarget, endurl, styleoftarget and endtarget can be “null” but can’t be “none”For example: If you want to play video1.flv and video2.flv with the player, then the code will show as below:

Note: You can use relative paths or absolute paths to link the videos
Tutorials flash video player, flv player, moyea web player, moyea webplayer, multiple playlists with one flash video player, web flash player27 responses to “How to Use Multiple Playlists with One FLV (flash video) Player”

-
Multiple play list is not working at all. By default the player is published having some internal link (may be inside mwplayer.swf file) to the play list called “medialist.xml”. I have tried renaming the file to “medialist2.xml” and then pointing to it by adding “flashvars” related code and accurate path to “medialist2.xml” but it doesn’t work at all. If I rename the play list back to “medialist.xml” and have the “flashvars” code point to same “medialist.xml” file, the player starts working. Try and fix this issue
-
Thanks admin for your feedback, I have managed to resolve the issue myself.
I was using the following syntax
so.addVariable(’flashvars’,’playerOpts=playListPath*../Media/medialist2.xml*s’);while the correct syntax is
so.addParam(’flashvars’,’playerOpts=playListPath*../Media/medialist2.xml*s’);So please be careful all developers if you run into the same problem that you must use “addParam()” instead of “addVariable()”. You may be wondering that why did I use “addVariable()” and the reason is that I had this code “addVariable()” working fine with another player so I just duplicated it……. oooooooops!
the old copy/paste
-
FLV Player August 27th, 2009 at 13:10
Thanks for sharing this.
-
Terence September 23rd, 2009 at 11:26
Thanks to author.
-
Yes, but then, anyone can cehck the page’s code and find where your xml files are located, thus find your original FLV files. It’s a big problem, traffic-wise.
I’ts alot better to have the path inside the player and only set the filename of the XML on the params. -
john Ryan October 6th, 2009 at 14:58
I have downloaded flash player but cant figure out how to actually use it to play a video?
-
Hi John,
The tutorial may help you.
http://www.playerdiy.com/support/tutorial/customize-flash-video-player.html -
Brittney Kloock December 22nd, 2009 at 16:39
Can you believe it? I read it twice. While I am not as skilled on this topic, I harmonise with your conclusions because they make sense. Thanks and goodluck to you.
-
Charlette Cirino January 13th, 2010 at 21:57
Wow, found your post on Bing.Happy I finally tested it out. Unsure if its my Opera browser,but sometimes when I visit your site, the fonts are really tiny? Anyway, love your post and will be back.See Ya
-
I really like the article I’m going back up.
-
website video production January 27th, 2010 at 02:31
Hi,Saw your blog bookmarked on Digg. Nice job.
-
Margene Valaitis February 10th, 2010 at 17:57
Hey very nice blog!!
-
Ladies Man February 11th, 2010 at 11:38
Great blog, excellent and well written information. I know how hard blogs can be to get a following. A !
-
erubreste February 12th, 2010 at 06:38
i truthfully enjoy all your writing kind, very exciting,
don’t quit as well as keep creating considering the fact that it simply just well worth to look through it.
impatient to browse through a lot more of your stories, goodbye
-
Ipod Lover February 12th, 2010 at 23:24
Blog looks great! Always looking for motivating blogs to keep mine going!
-
Ebonie Moorehead February 14th, 2010 at 17:59
I really liked reading your post!. Quallity content. With such a valuable blog i believe you deserve to be ranking even higher in the search engines :). Check out the link in my name. That links to a tool that really helped me rank high in google. This way even more people can enjoy your posts and nothing beats a big audiance
-
Antony Lockerz February 21st, 2010 at 02:34
Hello, first I want to say nice blog. I don’t always agree with your opinion but it’s always a great read.
Keep up the good blogging. -
anti aging pills February 22nd, 2010 at 09:03
Thanks for sharing! it is good to encourage people to comment, not just reading. The only reason I writing blog rather than diary is because of the feedback.
-
Y’know I’m inclined to agree with you on this one, I think it’s awesome, but then again, different strokes for different folks!
-
alice in wonderland February 26th, 2010 at 03:28
I am new to blogging and getting information out there. Your post here isvery informative and gives me more insight as to creating animpact when commenting.
-
Phillip Rassel February 28th, 2010 at 21:23
I really like the fresh perpective you did on the issue. Really was not expecting that when I started off studying. Your concepts were easy to understand that I wondered why I never looked at it before. Glad to know that there’s an individual out there that definitely understands what he’s discussing. Great job
-
Barrett Lockerz March 3rd, 2010 at 00:08
Hello, firstly I want to say that I love your blog. Great post, I entirely agree with you. Have a great day maty.
-
Sang Vanheusen March 7th, 2010 at 00:00
Lol that’s one way to look at it
-
guest March 7th, 2010 at 16:03
would it be possible to translate your website into spanish because i have difficulties of speaking to english, and as there are not many pictures on your website i would like to read more of what you are writting .
-
Harold Thompson March 9th, 2010 at 02:51
I love this blog. Thanks for the great information. I have it bookmarked and will be back.
-
Ezekiel Matthers March 9th, 2010 at 21:08
Hi, maybe i’m being a off topic here, but I was browsing your site and it looks stimulating. I’m building a blog and trying to make it look neat, but everytime I touch it I mess something up. Did you design the blog yourself? Could someone with little experience do it, and add updates without messing it up? Anyways, good information on here, very useful.
1 Trackbacks / Pingbacks
-
guest March 3rd, 2010 at 03:04
Very good well informed ty you for the information.
Leave a reply
-


a August 17th, 2009 at 08:06