Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 31st, 2012, 11:04 PM
BrightIdea BrightIdea is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2011
Posts: 31 BrightIdea Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 5 h 5 m 21 sec
Reputation Power: 0
Cannot get flowplayer Multiple players.

Hi

I have flowplayer setup on my computer.
It plays files on Localhost and I have all the files on the localhost folders.

When I try to get multiple players on one page I only get 1 instance of the player and the other is ignored completely.
This happens in all browsers.

This is what I have, any ideas would be appreciated.

There is also something going on with the <script> tag in the head, I cant work out why it is not closed?

Code:
<!DOCTYPE HTML>

<html>

<head>
<title>video</title>
   <script src="flowplayer/flowplayer-3.2.11.min.js"></script>

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



	


Reply With Quote
  #2  
Old October 31st, 2012, 11:48 PM
BrightIdea BrightIdea is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2011
Posts: 31 BrightIdea Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 5 h 5 m 21 sec
Reputation Power: 0
Update

I can see why it is not working, because both instances have the same ID.

So how do you get around this, since the player needs an ID and wont work without one.

Dan

Reply With Quote
  #3  
Old November 1st, 2012, 06:41 AM
BrightIdea BrightIdea is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2011
Posts: 31 BrightIdea Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 5 h 5 m 21 sec
Reputation Power: 0
Its ok all up and running.

I just added new instances of the player.

Not the way I would have liked to do it but it works fine.

Dan

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Cannot get flowplayer Multiple players.

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap