o2dazone
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Audio Player] Version 2.0 beta releasedForgot to add…that if you do use background transparency…I haven’t come up with a fix, as it relies on the wmode parameter. Be sure that you remove that line in your Audioplayer.setup or Audioplayer.embed where it says “transparentpagebg”. If you don’t have a param there, then follow the steps above ^^
Forum: Plugins
In reply to: [Plugin: Audio Player] Version 2.0 beta releasedI came across an issue with the player not playing a song or audio clip when the player wasn’t visible whether another window covered it, or it was in a different tab, or if I had moved it off the screen. For me, I was dynamically loading songs in a playlist built out of Javascript (edited the AS a little bit to throw a callback when a song had ended). The problem was it wasn’t playing the next track until the player was ‘visible’. So I would either have to scroll the page back up, or go to the tab that was playing the audio track, or un-minimizing it. I originally thought it was an issue with swfobject…I used swfobject to play a movie that had an embedded audio clip. Worked fine. So I thought it was the WP Audio Player, and was certain when I found this comment by the author
https://www.1pixelout.net/code/audio-player-wordpress-plugin/?cp=all#comment-82605
Well, I found an issue, maybe not directly related to Roman’s problem, but close enough. In Martin’s Audio-player-uncompressed.js code, if you scroll down to line 43, you’ll see a conditional appending wmode if transparent bg is set to yes or no. If you don’t set this, wmode is still one of the params. Go to line 50 and comment out the
flashParams.wmode = "opaque";
this renders the transparent background deal useless…but (for me) it beats having audio cut out every time I’m not on the page, so I’ll deal with it.
TLDR
Go to audio-player-uncompressed.js and comment out line 50
changeflashParams.wmode = "opaque";
to
//flashParams.wmode = "opaque";
Hope this helps anyone with frustrating problems ??