Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Using Flowplayer with oscommerce


Juzzyman

Recommended Posts

Does anyone know how to integrate Flowplayer into osCommerce?

 

I am trying to get this to work when you click on the image in the product-info page. So a video plays instead of the still image.

 

The flowplayer site says I need to add the line <script src="path/to/the/flowplayer-3.2.6.min.js"></script> into the head section of the site. I have done this inside template_top just before the </head> tag. Thanks for that Multimixer! Obviously I changed the path/to/the/flowplayer to suit my site.

 

Again the info from the flowplayer site says I now have to add:

 

<a

href="http://www.mywebsite.com/myVideo.flv"

style="display:block;width:425px;height:300px;"

id="player">

</a>

 

<script language="JavaScript">

flowplayer("player", "path/to/the/flowplayer-3.2.7.swf");

</script>

</body>

</html>

 

Into the site.

 

I have tried to add this code into the "html content for popup" section when you add a new product in the admin section.

 

What I get is when you click on the image a white box comes up and when I click on that it wants me to play the video with flash. If I click on that the clip does play on my computer but I want it to stream from the site.

 

Any help will be greatly appreciated. I think I have bitten off more than I can chew with this one!

 

The flowplayer site I am refering to is: http://flowplayer.org/documentation/installation/index.html

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...