Easy Podcasting Plugin

Creating and modifying plugins.
Post Reply
thepoacher
Regular
Posts: 14
Joined: Tue Jan 29, 2008 7:33 pm
Contact:

Easy Podcasting Plugin

Post by thepoacher » Fri Mar 20, 2009 6:38 pm

Hi,

I'm sure there's an easy fix for this and I'm being a dullard but is there an obvious way to only make the player look at certain links? For instance within a post I'd like to be able to offer an mp3 to listen to and to download but at present the plugin sees every mp3 and shows it as the player.

Any ideas?

Cheers

Matt
All the things we forget scream for help in dreams

http://www.mountain7.co.uk

One Eye Pied
Regular
Posts: 30
Joined: Wed Jan 18, 2006 7:35 pm
Contact:

Re: Easy Podcasting Plugin

Post by One Eye Pied » Fri Jan 22, 2010 12:25 am

I'm not alone ! :(

You can right click on the hideout player for seeing a "download this song". But it launch the file inside the browser (tested with FF and Chrome), and do not offer a real download.

With a huge file, it isn't very usefull.

Another problem : the hideout player do not allow navigation inside a file. How can we have this option ?

One Eye Pied, bad english writer.

User avatar
garvinhicking
Core Developer
Posts: 30014
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Easy Podcasting Plugin

Post by garvinhicking » Fri Jan 22, 2010 1:26 pm

Hi!

You could create a entryproperty field (of the plugin 'Extended properties for entries') into which you enter the download URL of a MP3, then edit the entries.tpl template file to place {$entry.properties.ep_mydownloadurl} at some special place where people can always download it. The podcast plugin will not catch MP3s inside entryproperty fields.

You can right click on the hideout player for seeing a "download this song". But it launch the file inside the browser (tested with FF and Chrome), and do not offer a real download.


Can't you right click > Save link as... this?

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

One Eye Pied
Regular
Posts: 30
Joined: Wed Jan 18, 2006 7:35 pm
Contact:

Re: Easy Podcasting Plugin

Post by One Eye Pied » Fri Jan 22, 2010 4:48 pm

garvinhicking wrote:Can't you right click > Save link as... this?


Not on the Hideout player. There is only a "download this song" choice... and my browsers decide to play it instead of download it.

I'll try the entryproperty tips tonight.

Thanx for helping !

One Eye Pied

One Eye Pied
Regular
Posts: 30
Joined: Wed Jan 18, 2006 7:35 pm
Contact:

Re: Easy Podcasting Plugin

Post by One Eye Pied » Wed Jan 27, 2010 1:08 am

I start trying the download link integration with the entryproperty tips : it seems it works !

More test another day, it's too late for working again.

Thanx !

One Eye Pied

One Eye Pied
Regular
Posts: 30
Joined: Wed Jan 18, 2006 7:35 pm
Contact:

Re: Easy Podcasting Plugin

Post by One Eye Pied » Wed Jan 27, 2010 11:56 am

It works !

But without using a new entry properties : I use the Podcast propertie necessary for the easy podcasting plugin.

What i've done :
- Edit entries.tpl and add this code where I want :

Code: Select all

{if $entry.properties.ep_Podcast}
      <a href="{$entry.properties.ep_Podcast}" alt="Download" title="Download">Download</a>
{/if}


You can see the result with some picture here :
http://one.eye.pied.free.fr/blog/index. ... antes.html

And now, another question : how can I change the mp3 player ? I do not like the hideout player, because it's impossible to navigate inside the mp3...

Thanx again !

One Eye Pied

User avatar
garvinhicking
Core Developer
Posts: 30014
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Easy Podcasting Plugin

Post by garvinhicking » Wed Jan 27, 2010 12:19 pm

Hi!

To change the MP3 playeryou would need to edit the podcast_player.php file and change the code there for the PLUGIN_PODCAST_FLVPLAYER, or Flashplayer, or whichever player you'Re using?

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

One Eye Pied
Regular
Posts: 30
Joined: Wed Jan 18, 2006 7:35 pm
Contact:

Re: Easy Podcasting Plugin

Post by One Eye Pied » Sat Jan 30, 2010 7:23 pm

Done !

I choose Dewplayer. It's very hard to find a player nice and usefull at the same time...

I change the @DEFINE('PLUGIN_PODCAST_XSPFPLAYER' block by :

Code: Select all

@DEFINE('PLUGIN_PODCAST_XSPFPLAYER'          ,'
<object type="application/x-shockwave-flash"
   data="#plugin#/player/dewplayer/dewplayer.swf"
   width="200" height="20" id="dewplayer" name="dewplayer">
   <param name="wmode" value="transparent" />
   <param name="movie" value="#plugin#/player/dewplayer/dewplayer.swf" />
   <param name="flashvars" value="mp3=#url#&amp;showtime=1" />
</object>
');


I don't know if it's clean code, but it work.

Thanx again !

One Eye Pied

hideatsu
Regular
Posts: 15
Joined: Thu Dec 05, 2013 7:45 am

Re: Easy Podcasting Plugin

Post by hideatsu » Thu Dec 05, 2013 8:20 am

Hi, Easypodcast and Dewplayer work here.
The plugin automatically attached the a href mp3 link below the player - how can I customize this? It's visually pretty far below the player and I also may want to have it on top...

Another question: Anyone else using dewplayer? I've set width to 500, but still it's being displayed in a small width, 200 I think.

TIA

This is the generated output:

Code: Select all

 <!-- podcastplayerstart --><object type="application/x-shockwave-flash"
   data="/plugins/serendipity_event_podcast/player/dewplayer/dewplayer.swf"
   width="500" height="50" id="dewplayer" name="dewplayer">
   <param name="wmode" value="transparent" />
   <param name="movie" value="/plugins/serendipity_event_podcast/player/dewplayer/dewplayer.swf" />
   <param name="flashvars" value="mp3=http://blog.scheerpoint.de/uploads/Gewinn-B.mp3&showtime=true" />
</object>
<a href="http://blog.-.de/uploads/Gewinn-B.mp3" class="podcastdownload">Gewinn-B.mp3</a>

Post Reply