Author Topic: Adding "Subscribe in iTunes" to media options  (Read 880 times)

jrandleman

  • Newbie
  • Posts: 2
Adding "Subscribe in iTunes" to media options
« on: January 23, 2013, 03:45:46 pm »
I would like to add a link to my powerpress player.  Right now, I have the "Play in new window" and "Download" options in place.  I want to add to them "Subscribe in iTunes", with my iTunes link.  Any ideas on how to do this?  Any help would be appreciated.  Thanks!

jrandleman

  • Newbie
  • Posts: 2
Re: Adding "Subscribe in iTunes" to media options
« Reply #1 on: January 23, 2013, 03:54:17 pm »
Update:  I figured out how to add this, by using the info here:  http://forum.blubrry.com/index.php/topic,2569.msg6633.html#msg6633

However, I would like to have the iTunes link before the other two, and have it open in a new page.  Thanks!

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: Adding "Subscribe in iTunes" to media options
« Reply #2 on: January 31, 2013, 05:35:16 pm »
Change the value 100 (second parameter) in the function call add_filter('powerpress_player_links', 'themename_powerpress_player_links', 100, 3); to something below 10. That number indicates it's placement when the filter is called. I believe the default powerpress player filter is set to 10, so any value smaller than that will execute before the default links are added.