This forum is for churches and ministries using Web-Empowered Church tools or packages. If you are a WEC customer, please submit a ticket. If you are reporting a bug with one of our plugins, please email us. If you are a business entity and want help that you cannot find here, please look at our services.

Notice: we are using new forum software and most messages from last 2 years were transferred. If you had an account before, please login to post a message on the forum.

Topic with no new replies

mp3 as Downloadable File resource


Author Message
Written on: 04/25/2010
Scott Wilson-Parsons
Topic creator
registered since: 11/10/2008
Posts: 11
For a while now, we've noticed a new behavior that I originally attributed to installing the DAM media manager and the overheids media player. However, I have recently done a total (clean) site reinstallation and it still occurs. So I'm puzzled and wonder if this is common.

Here's the behavior:
when and mp3 file is chosen as a "downloadable file" resource, clicking on the link on the sermon page, opens the file in a new window--and begins streaming it...the new window is blank except for a very simple player control bar.

Prior to this, we would create 2 resources from the same file, one for download (podcast) and one for streaming. Clicking the link for the download would initiate the download behavior in whatever browser you were using.

This is not a behavior confined to my computer(s)--I did consider that possibility and have checked with other computers.

I know that in raw html, I can identify some parameters for links that affects how a link is handled (same window, new window, new tab, etc.). Has something changed in the underlying code that affects how downloadable files are handled?

Is there a simple fix (I know I can put in an instruction about "right-clicking and selecting "save target as"" but each browser words this a bit differently and I rather wish it just worked to click and download.
Written on: 07/28/2010
Peter Schott
registered since: 03/17/2007
Posts: 321
Scott,
Sorry for the long delay. It sounds very much like you have the Quicktime player installed and configured to stream/play MP3s in the browser. I've seen this before. That's definitely a browser setting. If you're talking about the player bar for WEC, that's part of the config. I have some scripts somewhere that showed how to configure the TYPOscript to display both a download link AND the built-in player.

I think this worked when I put it in the "Setup" section of the template to get both a player and a download link:

#attempt to make the MP3 Sermon files downloadable and playable online:
plugin.tx_wecsermons_pi1.resource_types.embedded_mp3 {
30 < plugin.tx_wecsermons_pi1.resource_types.downloadfile
30.field >
30.value = Download File
30.wrap = <span class="download-link">|</span>
}
Written on: 08/01/2010
Scott Wilson-Parsons
Topic creator
registered since: 11/10/2008
Posts: 11
Thank You Peter,
The script works great to set a download link for each mp3 in the "library." That's especially helpful since it means we no longer have to upload or link the mp3 twice--eliminating that step. The browser still wants to open a new page with a player--as does every browser on every computer I own. I did find that a quicktime plugin was active (7 of them, in fact) for various media types. I'm probably not alone in that.

I put instructions on the page to right-click and "save target as." Not an elegant solution, but perhaps it will work for those whose browsers don't want to cooperate or who don't know how to disable the plugin (or don't want to).

Thanks,
Scott

"Peter Schott" wrote:

Scott,
Sorry for the long delay. It sounds very much like you have the Quicktime player installed and configured to stream/play MP3s in the browser. I've seen this before. That's definitely a browser setting. If you're talking about the player bar for WEC, that's part of the config. I have some scripts somewhere that showed how to configure the TYPOscript to display both a download link AND the built-in player.
I think this worked when I put it in the "Setup" section of the template to get both a player and a download link:
#attempt to make the MP3 Sermon files downloadable and playable online:
plugin.tx_wecsermons_pi1.resource_types.embedded_mp3 {
30 < plugin.tx_wecsermons_pi1.resource_types.downloadfile
30.field >
30.value = Download File
30.wrap = <span class="download-link">|</span>
}