Flash video player, Flash templates, Videos, Entertainments, etc
RSS icon Email icon Home icon
  • How to Use Multiple Playlists with One FLV (flash video) Player

    Posted on July 28th, 2009 Toby 74 comments

    Some PlayerDIY 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! PlayerDIY 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. You can also see how to do video production here.

    Only few steps will take you there, let’s have a look:

    Step 1: Create a flash video player with PlayerDIY 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:

    play videos in “demo1.xml” playlist file

    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:

    play videos in “demo2.xml” playlist file

    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:

    play video1.flv and video2.flv directly

    Note: You can use relative paths or absolute paths to link the videos

     

    49 responses to “How to Use Multiple Playlists with One FLV (flash video) Player” RSS icon

    • 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

    • Thank you very much for your comments, a!

      Have tested this issue in the way you mentioned, but didn’t find have any problem with it!

      When add the flashvars code, please make sure the path points to the playerlist file is right, and the code syntax, including the uppercase letters, is right too.

      For example:
      so.addParam(‘flashvars’,’playerOpts=playListPath*medialist2.xml*s’);

      If above information can’t help you, please give us more information about your problem. Thank you!

    • 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 😉

    • Thanks for sharing this.

    • 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.

    • 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

    • 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

      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

      Hi,Saw your blog bookmarked on Digg. Nice job.

    • Margene Valaitis

      Hey very nice blog!!

    • Great blog, excellent and well written information. I know how hard blogs can be to get a following. A !

    • 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 :)

    • Blog looks great! Always looking for motivating blogs to keep mine going!

    • Ebonie Moorehead

      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 😉

    • 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

      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

      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.

    • 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

      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

      Lol that’s one way to look at it 😉

    • 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

      I love this blog. Thanks for the great information. I have it bookmarked and will be back.

    • Ezekiel Matthers

      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.

    • Marcelle Muralles

      This is my first time to visit your blog and I would say you share nice information. You definitely do research and write very well. Keep it up!

    • You prepared a number fine points there. I did a good solid research for this particular issue and found out generally people will definitely agree with your website. Thanks

    • thanks for that

    • I must agree with the first comment on this post. But nice write-up anyways.

    • It seems that you’ve put a solid amount of effort into your article and I need to see a lot more of these on the Internet these days. I really got a thrill out of your post. I do not have a bunch to to say in reply, I only wanted to register to say remarkable work.

    • wow that’s incredible…

    • This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.

    • This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.

    • Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts.Any way Ill be subscribing to your feed and I hope you post again soon

    • ts really helpfull and informative , Amazing work darragh ..Way of explanation and pictures presentation is attaractive .

    • I really enjoyed the quality information you offer to your visitors for this blog.I will bookmark your blog and have my children check up here often.This blog is valuvable for me.

    • Hello there, i have now taken a while looking through your blog site and just simply thought i would be courtesy enough to pass comment. i currently have liked your current content and i hope you are going to keep producing it for me as well as other folks that get pleasure from following it.

    • Thanks for sharing a nice informative post

    • Vergie Hoekman

      I have been to your site before. It’s Outstanding! By the way you have a visually appealing website

    • It is a good blog , and its really informative.Comments are good in sites because this is one of the proof that your site is helpful to readers and many readers patronize your post.I just wanted to say a quick thank.

    • You raise a lot of questions in my head; you wrote a good post, but this post is also thought provoking, and I will have to ponder it some more; I will be back soon.

    • You have mention good post above I really enjoy the information. I wish to come again on your site in future…

    • It’s the old “curse of knowledge” dilemma isn’t it? It’s easy to assume visitors know how to comment or even that commenting is encouraged. Excellent post.

    • Brett Silverhorn

      hey,I find out that your blog is quite instructive and useful and we were curious if there is a possibility of obtaining More web content like this on your web site. If you willing to aid us out, we can be willing to compensate you… Sincerely, Brett Silverhorn

    • I love reading and I am always searching for informative information like this! You are bookmarked!. . . . . .

    • Thank you for a very clear and helpful post. I am definitely a violator of many of these rules. I often find myself conflicted when writing a blog post because I see myself writing more than people want to read, but I feel that I have to do the subject matter justice by thoroughly covering it. I feel that by following some of these rules I end up cutting out important aspects to the discussion. I guess you have to find a balance.

    • Hey, maybe this is a bit offf topic but in any case, I have been surfing about your blog and it looks really neat. impassioned about your writing. I am creating a new blog and hard-pressed to make it appear great, and supply excellent articles. I have discovered a lot on your site and I look forward to additional updates and will be back.


    1 Trackbacks / Pingbacks

    Leave a reply