Author Topic: Play in New Window and Download do the same thing  (Read 1682 times)

VFHwebdev

  • Full Member
  • **
  • Posts: 23
Play in New Window and Download do the same thing
« on: June 01, 2010, 04:30:06 pm »
Hi,

Is the "Play In New Window" link supposed to do something different than the "Download" link? They both appear to be direct links to my mp3.  I would have thought the "Play in New Window" link would open a small popup window with the flash player.

See it here: http://backstoryradio.org/2010/05/grave-subjects-a-history-of-death-and-mourning/

Thanks!

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: Play in New Window and Download do the same thing
« Reply #1 on: June 03, 2010, 08:38:12 am »
There is a javascript error on your page which is preventing all the other javascript including the play in new window logic to work. When Javascript fails, the play in new window link will simply allow the user to download the file, as you've noted.

Problem appears to be in the coda-slider.js file, which is part of your theme. In Firefox, go to the Tools pull down menu and select "Error Console".

VFHwebdev

  • Full Member
  • **
  • Posts: 23
Re: Play in New Window and Download do the same thing
« Reply #2 on: June 09, 2010, 09:17:29 am »
Thanks.  I'll track down that error in coda-slider.js.  I don't think that's the only problem though.  The coda-slider is really only used on my home page, so I took it out of the single.php template.  I'm still getting the same problem with the Play in New Window link.

Now the Firefox error console shows an error that appears to be related to powerpress.  Here's the error:
Error: syntax error
Source File: http://backstoryradio.org/2010/05/grave-subjects-a-history-of-death-and-mourning/
Line: 1, Column: 100
Source Code:
javascript:pageTracker._trackPageview('/outbound/article/media.blubrry.com'); return powerpress_pinw(

You can see it in action by clicking the Play in New Window link on: http://backstoryradio.org/2010/05/grave-subjects-a-history-of-death-and-mourning/

angelo

  • CIO, RawVoice
  • Administrator
  • Hero Member
  • *****
  • Posts: 4483
Re: Play in New Window and Download do the same thing
« Reply #3 on: June 09, 2010, 04:00:25 pm »
Ahh, pageTracker is added by a plugin that is trying to hook in tracking to all of the web links on your pages. The plugin you have for tracking web site traffic is causing the problem most likely with both PowerPress and that home page JavaScript.