Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Flash Player


kenkja

Recommended Posts

Hi all,

 

I've been playing around with trying to embed an .flv video on my home page for some time and get the feeling I just ain't understanding the concept at all.

 

Mine is a v2.3.1 install with the recommended security add ons and Document Manager and OsCommerce as an info site only, (thanks go out to all contributors.)

 

I have managed to add a .wmv version of the video to the page by adding the appropriate code to catalog/includes/languages/english.php, before the ); of the standard guest greeting

 

[codedefine('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span>
Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?
<embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
name="mediaplayer1"
ShowStatusBar="false"
EnableContextMenu="false"
autostart="false"
width="640" height="480" loop="false"
src="d:\ken\rs3125.wmv" />



');
][/code]

 

I've also managed via a similar method to add YouTube Hosted videos

 

I'm not really happy with either option, as wmv doesn't appear to be supported on some browsers and embedding YouTube vids seems to leave you at the mercy of what they choose to advertise or what they believe to be similar vids.

 

So onto flash

 

1. I think I need a player, does anyone have any experience with http://www.osflv.com/

 

2. Should even being trying to add code in includes/laguages/english.php ??

 

ken

 

 

 

 

 

 

 

Os-commerce v2.3.3

Security Pro v11

Site Monitor

IP Trap

htaccess Protection

Bad Behaviour Block

Year Make Model

Document Manager

X Sell

Star Product

Modular Front Page

Modular Header Tags

Link to comment
Share on other sites

Hi all, me again

 

I've now managed to embed an swf file in includes/languages/english.php

 

On the one hand, thats pretty cool as I can the code to display a slideshow on the page without using a sildeshow host, just need to make one with a banner maker.

 

However, for my videos the first frame of the vid loads and can be played by accessing the menu by right clicking the image, not very user friendly !!!

 

So I still need somehow to get the image to load into a player, any clues

 

thanks

 

ken

Os-commerce v2.3.3

Security Pro v11

Site Monitor

IP Trap

htaccess Protection

Bad Behaviour Block

Year Make Model

Document Manager

X Sell

Star Product

Modular Front Page

Modular Header Tags

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...