dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: Flowplayer not playing multi

Hybrid View

  1. #1
    Join Date
    Oct 2012
    Posts
    55

    Flowplayer not playing multi

    Hi I have a simple xammp setup and have my file in htdocs/localhost.

    I am testing flowplayer.
    When I try to get multi frames of flow player I only get one, the code ignores the second instance completely.

    HTML Code:
    <!DOCTYPE HTML>
    
    <html>
    <head>
    <script src="flowplayer/flowplayer-3.2.11.min.js"></script>
    </head>
    
    <body>
    
    <a href="http://localhost/vids/intro.flv"style="display:block;width:425px;height:300px;"id="player"></a>
    
    
    <a href="http://localhost/vids/tools.flv"style="display:block;width:425px;height:300px;"id="player"></a>
    
    <script language="JavaScript">flowplayer("player", "flowplayer/flowplayer-3.2.15.swf",{clip:{autoPlay:false}});</script>
    	
    	
    
    </body>
    </html>

  2. #2
    Join Date
    Oct 2012
    Posts
    42
    Use different IDs on the two links, and instantiate flowplayer twice, once for each unique ID i.e.:

    <a href="" id="player1"></a>
    <a href="" id="player2"></a>

    flowplayer("player1", "flowplayer/flowplayer-3.2.15.swf",{clip:{autoPlay:false}});
    flowplayer("player2", "flowplayer/flowplayer-3.2.15.swf",{clip:{autoPlay:false}});

  3. #3
    Join Date
    Oct 2012
    Posts
    55
    yes thanks.

    I was wondering if you could not call them all in on line rather that cut and past multiple lines of code?

    Does not matter so much, I only got 8 instances so it won't be too hard.

    Dan

  4. #4
    It would be better if I could see a URL with the page running? Player initialisation errors generally come from incompatible versions of the software so it's helpful to see it run to work out precisely what you are running.

  5. #5
    Join Date
    Oct 2012
    Posts
    55
    Quote Originally Posted by annieferris View Post
    Iím flattened for your Thread writings.
    Yes of course but to good sir may I have the profound goodness in which you are talking of?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles