Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sound?


sicx

Recommended Posts

Posted

i was wondering i did not see this anywhere so please do not yell at me if i missed it. :shock:

 

I was looking for something i could integrate in OSC that would play sound when clicked on.

 

Example: product cd Click to here soundbyte

 

Stuff like that hopefully im makin sense here. any help wouldbe great, i am still a newb at php and osc but am learning. thanks for your time.

Posted

Simple javascript can make this a very easy thing to do with shockwave / flash.

This is an example of how it can be done (Example from www.vg.no music pages):

 

<td align="left">



<script language="JavaScript">

var nr1 = new FlashSound();

nr1.embedSWF('http://www.yourserver.com/ppub/sound/your_song.swf');

</script>





<b><a href="artist_info.jsp?artistId=3987&choose=hidden_value" class="listetxt">Yoursong here</a></b><br>

<a onmouseover="nr1.TGotoAndPlay('/','start')" onmouseout="nr1.TGotoAndPlay('/','stop')" href="song_info.jsp?publicationId=4131&listId=1&choose=hiddan_value" class="listetxt">Title of yoursong</a>

<td> </td>



</tr>

[/code]

Posted

Yep, me too.

I looking for somehting like that for a CD shop. Some module to integrate sound samples for each product.

Maybe I can use the MoPics contribuition, after some changes, to show/play sound files...

Any idea? :roll:

Archived

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

×
×
  • Create New...