Installation instructions for Media Manager MP3 Player
BACK UP YOUR DATABASE!!!
Go to:
http://www.premiumbeat.com/flash_res...mp3_player.php and download the free single-track mp3 player ZIP folder. (You can also look at the FAQ section on this site for this player, but customization information is at the bottom of these installation instructions.)
Unzip this folder on your computer, then follow these instructions.
Changed files: includes/templates/YOUR_CUSTOM_TEMPLATE/templates/tpl_modules_media_manager.php
1. Upload the ALL of the following files from the Premium Beat ZIP folder to your store's media directory (ex: public_html/"STORENAME"/media/ or public_html/"STORENAME"/media/mp3/) THE EXACT SAME FOLDER (VERY IMPORTANT!) where you upload your music files for previews (It's best to upload all of the files supplied by the Premium Beat Zip folder, but these are the required files):
PlayerLicense.doc
playerSingle.swf
swfobject.js
2. Now rename the folder titled YOUR_CUSTOM_TEMPLATE to your custom template name.
3. FTP (Upload) the "includes" folder to the same directory on your server, or use a file manager to upload the tpl_modules_media_manager.php file from includes/templates/YOUR_CUSTOM_TEMPLATE/templates/
to the same path on your server.
4. Open tpl_modules_media_manager.php in a text editor, locate the following two lines:
<script type="text/javascript" src="http://www.YOUR_DOMAIN.com/STORENAME/media/swfobject.js"></script>
and
SWFObject("http://www.YOUR_DOMAIN.com/STORENAME/media/playerSingle.swf"
change YOUR_DOMAIN to the name of your domain and STORENAME to the name of your store's main folder
Note: If you upload the two files from step 1 to a subdirectory in /media/ you will change the above lines to something like:
"http://www.YOUR_DOMAIN.com/STORENAME/media/SUBDIR/swfobject.js"
and
http://www.YOUR_DOMAIN.com/STORENAME/media/SUBDIR/playerSingle.swf"
with SUBDIR being the name of your subdirectory (usually /mp3/).
5. Now use your Admin > Extras > Media Manager to upload ONE clip per Collection, and assign ONE collection to each music-type product.
6. DONE!
NOTE: This media player only plays one song (but the code in the tpl_modules_media_manager.php file makes it so that you can have a different song for different MUSIC-type products), and they have to be mp3! Sorry!
Extra Options:
"mymovie", "192", "67", "7", "#FFFFFF"); Change "#FFFFFF" to any hexadecimal value you want to change the background color (leave # sign and quotation marks intact)
so.addVariable("autoPlay", "no"); NOT RECOMMENDED, but you can make it so that the music starts playing automatically. Just change "no" to "yes". AGAIN THIS IS NOT RECOMMENDED!
Add these lines directly below the other "so.addVariable" codes:
so.addVariable("overColor","#000033") Change the overall color of the player.
so.addVariable("playerSkin","1") There are 5 different "Styles" that you can use, just change the skin number between "1" and "5"
If you have any problems or questions about this module, visit:
http://www.zen-cart.com/forum/showthread.php?t=150366
For information about setting up music previews using the Media Manager, visit:
https://www.zen-cart.com/tutorials/i...hp?article=119
Media Manager can be found in your admin interface's "Extras" heading.
Uninstall:
Simply delete the files that you uploaded unless you deleted the tpl_modules_media_manager.php from your includes/templates/TEMPLATE_DEFAULT/templates/ folder. That's where the BACKUP comes in handy!