mp3audio Download Issue
|
rixx7
Joined: 2009-06-29
Posts: 3 |
Posted: Mon, 2009-06-29 23:15
|
|
Hi, I have been using Gallery 2.3 for about 5 months for photos and have now decided to create an auio Gallery consisting of mp3 files. Here's my problem...... My issue is that I do not received a download progress bar when downloading?? there is nothing which indicates that the file is currently being downloaded. Yes, the mp3 does download, but if there is no progress box, users do not know that the file is currently downloading and suspect that this is broken. Any assistance in how to get the file download progress box to appear would be appreciated. (If this is not possible, someinfo on having the default download link on the same page as the flash player could be a workaround) RIX |
|
| Login or register to post comments |

Posts: 2646
The flash player does not invoke your browser's download window. It utilizes the operating system's save feature.
So to get a download link on the page... in gallery2/themes/your_theme/templates/local/photo.tpl <- you may have to copy the original here
Place the following code where you want the link to appear
{if $theme.item.mimeType == 'audio/mpeg'} <div class="gbBlock"> <a href="{g->url arg1="view=core.DownloadItem" arg2="itemId=`$theme.item.id`"}"> {g->text text="Download %s in original format" arg1=$theme.sourceImage.itemTypeName.1} </a> </div> {/if}-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 3
Hi suprsidr,
Thanks for help with this.
I have followed your instructions and have a 'download original file' link positioned below the flash player.
If I 'right click' on this I can used the 'save target as' menu option and successfully save and have the normal progress bar (Cool).
Is there any way to prompt the 'save target as' option using a single click on the 'download original file' link?
Currently, If I left click on this link I receive a 'page cannot be displayed' error in explorer.
Your comments are appreciated.
Posts: 2646
Because your file is in a format that the browser wants to handle it'll try to play via a browser plugin like quicktime or windows media player.
There have been many discussions on how to force the save as dialog. Try googling it.
You may have success with one of the cart modules.
Not sure whats up with your IE configuration, the link would be the same for all browsers.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2