Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Help Required With Flowplayer


1 reply to this topic

#1 mrdee

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 810 posts
  • Gender:Male
  • Location:Slough (UK)
  • myCENT:90.63

Posted 25 April 2010 - 11:48 PM

Can I have some help please?
I use Flowplayer Media player on my website.
I want to put more than one player on my page, using different film clips, obviously, the visitor to the site will not look at more than one at the same time.

Now, the explanation about multiple players looks extremely complex to me, and I don't need any CSS stuff anyway, so why is it not working when I have
<script src=http://vlaanderen-flanders.org.uk/flowplayer-3.1.4.min.js"></script>
in my head tags and then the following within the <body></body> tags:

<div style="width: 450px; height: 300px;margin-left:auto;margin-right:auto;margin-top:30px;">

href=http://www.vlaanderen-flanders.org.uk/onzedancingsbinnen10jaar.flv"
style="display:block;width:100%;height:100%;"
id="player">


<script language="JavaScript">
flowplayer("player", http://www.vlaanderen-flanders.org.uk/flowplayer-3.1.5.swf", {
clip: {
autoPlay: false,
autoBuffering: true
}
});
</script>
</div>

then some other media in between (not using flowplayer), and then:

<div align="center">
<div style="width: 450px; height: 300px;margin-left:auto;margin-right:auto;margin-top:30px;">

href=http://www.vlaanderen-flanders.org.uk/BHV220410.flv"
style="display:block;width:100%;height:100%;"
id="player">


<script language="JavaScript">
flowplayer("player", http://www.vlaanderen-flanders.org.uk/flowplayer-3.1.5.swf", {
clip: {
autoPlay: false,
autoBuffering: true
}
});
</script>
</div>
the first video plays with no problem, but in the second one, all I get to see when I put the mouse over the place of the video is a yellow square, and in the status bar, I see the URL of my .flv file, when I click on the yellow square, a screen comes up offering me to download the .flv file.

Can anyone tell me where my mistake is?

Is there really no simpler way to put more than 1 film on a site than the one explained?
Please help, the simplest solution will do.

Thanks in advance.

#2 mrdee

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 810 posts
  • Gender:Male
  • Location:Slough (UK)
  • myCENT:90.63

Posted 28 April 2010 - 02:24 AM

It looks like I found the solution:

it seems like every next film you put on your page, you simply have to add a number after the word 'player'.
Hence:
<div align="center">
<div style="width: 450px; height: 300px;margin-left:auto;margin-right:auto;margin-top:30px;">

href=http://www.vlaanderen-flanders.org.uk/BHV220410.flv"
style="display:block;width:100%;height:100%;"
id="player">


<script language="JavaScript">
flowplayer("player", http://www.vlaanderen-flanders.org.uk/flowplayer-3.1.5.swf", {
clip: {
autoPlay: false,
autoBuffering: true
}
});
</script>
</div>

becomes

<div align="center">
<div style="width: 450px; height: 300px;margin-left:auto;margin-right:auto;margin-top:30px;">

href=http://www.vlaanderen-flanders.org.uk/BHV220410.flv"
style="display:block;width:100%;height:100%;"
id="player1">


<script language="JavaScript">
flowplayer("player1", http://www.vlaanderen-flanders.org.uk/flowplayer-3.1.5.swf", {
clip: {
autoPlay: false,
autoBuffering: true
}
});
</script>
</div>

and then for every subsequent film the number goes up by 1.




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users