Flash video player, Flash templates, Videos, Entertainments, etc
RSS icon Email icon Home icon
  • How to Add Multiple Flash Video Players in One Webpage

    Posted on July 16th, 2009 Toby 41 comments

    One of our dearest customers once has submitted an article about “how to add multiple flash video players onto one webpage” to our forum, unfortunately we just experienced a terrible break down of our server several days ago and sorry to say we have lost that article.

    I’m rewriting here to express our sincere apology and hope other guys shall find this article useful and interesting.

    First, Please refer to the detailed tutorial or my previous blog to learn how to create a flash video player with PlayerDIY Web Player.

    Then, let’s come back to the topic: how to add multiple flash video players in one webpage?

    Suppose there are three videos awaiting in the playlist and you want to use three flash video players to play them respectively, let’s see how:

    Flash Video 1: Keep the default “play item” serial number and “flash content” serial number.

    flash video 1 in the playlist

    Flash Video 2: Change the “play item” serial number from “0” to “1” and accordingly, change the “flashcontent” to “flashcontent1

    flash video 2 in the playlist

    Flash Video 3: Analogically, Change the “play item” serial number from “1” to “2” and change the “flashcontent1” to “flashcontent2” as well.

    Note: “playerOpts=playItem*0*i” means the player is playing the first video in playlist. Analogically, “playerOpts=playItem*1*i” means the player is playing the second video. The “flash content” serial number also has to be changed accordingly.

    For more detailed information about how to edit flash video player wiith code, please visit http://www.playerdiy.com/support/tutorial/play-video-in-new-page.html and http://www.playerdiy.com/support/tutorial/edit-player-with-html.html

     

    41 responses to “How to Add Multiple Flash Video Players in One Webpage” RSS icon

    • i know you probably need php but is there a tutorial or something and even better if you can do it using html thanks for the help

    • because i don’t know exactly how to do it. :(

    • Does anyone have any ideas or suggestions on how to make a presentation on Microsoft’s 2007 PowerPoint in some way shape or form resemble any aspects of a scrapbook. I have to do this pretty cool project on World War I, and this is how my teacher wants it…thank you so much! :)

    • im trying to upload a video on youtube but every time i try it says, “File Format Invalid: The file you are uploading is not a valid video file.” and i dont see what i have wrong with the video.

    • thank you

    • Ok I got this working fine but, with the 3rd player in the chain the flash file won’t display in Safari & Firefox the 1st two videos diplay fine, then when i get to the 3rd on the pag the player doesn’t load at all. It works fine in IE8, Opera and chrome. Weird couldn’t work out why. Please help!

    • var so = new SWFObject(‘/player/mwplayer.swf’,'player’,’700′,’500′,’9′)

      It ‘s my code.How could I edit that?

    • Article Rewriter

      I really didn’t think that quality websites still existed, thanks, this site is a breath of fresh air. Please keep it up…

    • Superb with thanks puppies details

    • Cricut Cartridges

      I adore scrapbooking! It’s one of my favorite ways to relax.

    • Superb with thanks puppies details

    • Excellent thanks for your information

      Excellent thanks for your information

    • Scrapbooking Azza Naissance

      Terrific thanks for your insight for your personal details

    • Excellent thanks for your information

    • 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

    • I am just curious what CMS your web site is built on? It appears to be actually good and I love all the visitor features that are available. I’m sorry if this is the inappropriate place to ask this but I was not sure how to contact you – thank you.

    • Wonderful illustrated information. I thank you about that. No doubt it will be very useful for my future projects. Would like to see some other posts on the same subject!

    • Frankie Deschacht

      Hi,
      I tried to follow the method above, but I do not get a serial number in my code. The code I get is this:

      var so = new SWFObject(‘mwplayer.swf’,'player’,’500′,’450′,’9′);
      so.addParam(‘wmode’,'opaque’);
      so.addParam(‘quality’,'high’);
      so.addParam(‘allowfullscreen’,'true’);
      so.addParam(‘allowscriptaccess’,'always’);
      so.write(“flashcontent”);

      So there is no line saying “Player wil show here” or the one below saying player 0pts etc.

      So, how do I go about it or where is my mistake?

      Thanks.

    • Hello,

      You are on the right track. However, The code you got above is just for one player. If you want to put another player on your website, please just upload the video you want to play, repeat the above steps, and get another code for your second player, but you have to add some different numbers behind “flashcontent”, for example, “flashcontent” for player 1, “flashcontent1″ for player 2, “flashcontent2″ for player 3, etc. Please refer the details in the blog and let me know if the problem still remains. Thanks!

    • Frankie Deschacht

      I’m afraid it is just not working.

      Both files are uploaded, I made a separate script for both files, and here is the entire code:

      var so = new SWFObject(‘mwplayer.swf’,'player’,’500′,’450′,’9′);
      so.addParam(‘wmode’,'opaque’);
      so.addParam(‘quality’,'high’);
      so.addParam(‘allowfullscreen’,'true’);
      so.addParam(‘allowscriptaccess’,'always’);
      so.write(“flashcontent”);

      var so = new SWFObject(‘mwplayer.swf’,'player’,’500′,’450′,’9′);
      so.addParam(‘wmode’,'opaque’);
      so.addParam(‘quality’,'high’);
      so.addParam(‘allowfullscreen’,'true’);
      so.addParam(‘allowscriptaccess’,'always’);
      so.write(“flashcontent”);

      I am just greeted with a blank screen, that’s all.
      Hopefully you can see my mistake in the code.
      Thanks.

    • Dear Sir,

      First, pls make sure those video files are in the supported formats like FLV, H.264 coded MP4, MOV, 3GP and 3G2.

      Second, pls upload all the generated files except index.html to your web server.

      Third, pls copy and paste the complete embed code to your website, but revise it a little bit like this:

      var so = new SWFObject(’mwplayer.swf’,’player’,’500′,’450′,’9′);
      so.addParam(’wmode’,’opaque’);
      so.addParam(’quality’,’high’);
      so.addParam(’allowfullscreen’,’true’);
      so.addParam(’allowscriptaccess’,’always’);
      so.write(”flashcontent”);

      var so = new SWFObject(’mwplayer.swf’,’player’,’500′,’450′,’9′);
      so.addParam(’wmode’,’opaque’);
      so.addParam(’quality’,’high’);
      so.addParam(’allowfullscreen’,’true’);
      so.addParam(’allowscriptaccess’,’always’);
      so.write(”flashcontent1”);

    • I thought it was going to be some boring old post, but it really compensated for my time. I will post a link to this page on my blog. I am sure my visitors will find that very useful.

    • I was looking for crucial information on this subject. The information was important as I am about to launch my own portal. Thanks for providing a missing link in my business.

    • What an interesting point of view on this topic. I am happy you shared your thoughts and ideas and I find myself agreeing. I enjoy your coherent writing style and the effort you have spent on this article. Many thanks for the solid work and good luck with the blog, I look forward to more updates in the future.

    • All very true, but I don’t agree myself. I will stick the more conventional view. But I without doubt support your right to say what you want. Interesting anyway.

    • Jasper Mckain

      I encountered you from Jason’s website. . .exceeding subject.

    • Intelligent Light LLC

      Does this work the same for multiple flash players on different pages? I don’t want a playlist! I want a player on specific pages that when accessed, load the video I want for that page and that page only.

    • I NEED THIS INFOMATION.

    • Jon T Washington

      Great post full of useful tips! My site is fairly new and I am also having a hard time getting my readers to leave comments. Analytics shows they are coming to the site but I have a feeling “nobody wants to be first”.

    • I just visited your site via Facebook… would you be thinking about becoming blog partners?

    • I are already surfing on the web more than 3 hours today, but I by no means found any interesting content like yours. It is very worth ample for me. In my opinion, if all webmasters and bloggers created great material as you did, the online will be a lot more useful than truly ahead of.

    • So i’m really fresh to wordpress. however what you write in this web site is absolutely perfect and very useful. I believe it will eventually help me later on. Thank you for the good work.

    • Thank you for a further terrific write-up. In which else could someone get that sort of data in such a excellent way of creating? I’ve a presentation next week, and then i am to the appear for these kinds of details.

    • My partner and i consequently appreciated your weblog. Excellent content. Please hold offer these fantastic cotent.

    • Very informative post. Thanks for taking the time to share your view with us.

    • You make blogging look like a walk in the park! I’ve been trying to blog daily but I just cant find writing material.. you’re an inspiration to me and i’m sure many others!

    • It is incredible how you have the ability to extend to all aspects of readers. Good to know that you are flexible and respect all. We should have more writers like you.

    • I want to thanks for the efforts you have created in scripting this article. i am hoping identical best work from you in the future additionally. in truth your inventive writing ability has galvanized me to induce my own blog currently. truly the blogging is spreading its wings quickly. Your write up is a fine model of it.

    • Thank you for taking this possibility to mention this, I am strongly about it and I reap the benefits of studying this subject. If possible, while you gain data, please update this web site with new information. I’ve discovered it extremely useful.

    • I very glad to find this web site on bing, just what I was looking for :D likewise saved to favorites.

    • This is very interesting, You’re a very skilled blogger. I’ve joined your rss feed and look forward to seeking more of your excellent post. Also, I have shared your site in my social networks!


    Leave a reply