Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How To Put Osplayer in column_right


Guest

Recommended Posts

Posted

Hello!

 

I've got Osplayer installed which is great! But I want my customers to be able to listen to some tracks from the new releases each week without having to go into each product separately. So I've set up a dummy product and uploaded the mp3s that I want. But I want to ideally put the player (only for this product) in the column_right or be able to link to it from there. But to the actual player, not to the dummy product page. Does anyone know what code I need to do this?

 

Thanks,

Mark.

Posted

Hello!

 

Ok! So I've managed to get the Osplayer into the column_right which is great! But I can't figure out the code I need to include that tells the player which product's tracks to play. There is an Mp3 ID no. for each product but how and where do I specify this in the following code...

 

<?php
echo '<tr><td>';
$info_box_contents = array();
$my_flash = '<object width="150" height="200"> <param name="movie" value="osc_player.swf"> <embed src="includes/osc_player.swf" width="150" height="200"></embed></object>';
$info_box_contents[] = array('align' => 'center',
'text' => $my_flash);
new contentBox($info_box_contents);
echo '</td></tr>';
?>

 

Any help greatly appreciated!

 

Cheers,

Mark.

Archived

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

×
×
  • Create New...