Hello everyone, is there another mod for an mp3 sample player? I’m helping a buddy of mine with a site and I found a mod at cscartplugins.com but the site is down. Is there or another plugin or it would be great if gginorio, I think that’s whose site it is, was still selling it for 5 bucks.
Looking for this myself. I had that site bookmarked and now it’s down! Were you able to find anything?
Here is what I tried to post in my own thread…
DEMO: [URL=“http://aarbour.kodingen.com/cs-cart/index.php?dispatch=products.view&product_id=1”]http://aarbour.kodingen.com/cs-cart/index.php?dispatch=products.view&product_id=1[/URL]
/var/.htaccess
Order deny,allow
Deny from all
order allow,deny
allow from all
order allow,deny
allow from all
/skins/…/customer/blocks/product_tabs/description.tpl
Mp3 sample is unable to load
{* $Id: description.tpl 11191 2010-11-11 11:56:01Z klerik $ *}
{** block-description:description **}
{if $attachments_data}
{foreach from=$attachments_data item="file"}
{if $file.filename|strstr:'.mp3'}
{literal}
{/literal}
{assign var=mp3location value="`$config.http_location`/var/attachments/product/`$_REQUEST.product_id`/`$file.filename`"}
{literal}
{/literal}
{/if}
{/foreach}
{/if}
{$product.full_description|default:$product.short_description|unescape}
Thanks to share this hack;)
but occured 1 problem, the statut is blocked to buffering …
the streaming no run.
any idea?
I want to make a suggestion
put the player near the tab , not in description
[quote name=‘adamarbour.com’]Here is what I tried to post in my own thread…
DEMO: [URL=“http://aarbour.kodingen.com/cs-cart/index.php?dispatch=products.view&product_id=1”]http://aarbour.kodingen.com/cs-cart/index.php?dispatch=products.view&product_id=1[/URL]
/var/.htaccess
Order deny,allow
Deny from all
order allow,deny
allow from all
order allow,deny
allow from all
/skins/…/customer/blocks/product_tabs/description.tpl
Mp3 sample is unable to load
[/QUOTE]
{* $Id: description.tpl 11191 2010-11-11 11:56:01Z klerik $ *}
{** block-description:description **}
{if $attachments_data}
{foreach from=$attachments_data item="file"}
{if $file.filename|strstr:'.mp3'}
{literal}
{/literal}
{assign var=mp3location value="`$config.http_location`/var/attachments/product/`$_REQUEST.product_id`/`$file.filename`"}
{literal}
{/literal}
{/if}
{/foreach}
{/if}
{$product.full_description|default:$product.short_description|unescape}
hi andreycosmin,
this hack work for you? for me no sound but the .mp3 file caching corectly in cache browser.
to separate attachments content (pdf)(zip) ect… I clone standart attachments addon and rename all variable attachments and attachment to videos & video and duplicate mysql table
all work properly but I search how integrade flowplayer or another lightweight multiformat player to autodetect file format and ready to play.