WordPress.org

Ready to get started?Download WordPress

Forums

Blubrry PowerPress Podcasting plugin
Blubrry PowerPress stop my radio station's flash player (6 posts)

  1. fafamonge
    Member
    Posted 1 year ago #

    My website is http://www.elsalvador.fm and has embed the following code to play my radio station in homepage at top right corner:

    <div class="player">
    	<script type="text/javascript"><!--
    		var config = {
    			"volumeLevel" : "80",
    			"colors" : "0x00FB0D, 0x007D06, 0x003503",
    			"defaultLanguage" : "es",
    			"defaultStation" : "all",
    			"autoplay" : "true",
    			"mode" : "mini"
    		}
    	//-->
    	</script>
    	<script type="text/javascript" src="http://www.hdaudiostreaming.com/shoutcast/aacplayerDefault/player.js"></script>
    </div>

    But this player stop working when I activate the Blubrry PowerPress plugin and if I deactivate it the player works again. I've notice BP works in the purposes for podcast as it supposed to do but it adds a code in header:

    <script type="text/javascript" src="http://www.elsalvador.fm/wp-content/plugins/powerpress/player.js"></script>
    <script type="text/javascript"><!--
    function powerpress_pinw(pinw){window.open('http://www.elsalvador.fm/?powerpress_pinw='+pinw, 'PowerPressPlayer','toolbar=0,status=0,resizable=1,width=460,height=320');	return false;}
    powerpress_url = 'http://www.elsalvador.fm/wp-content/plugins/powerpress/';
    //-->
    </script>

    In this way I would like the plugin works just in my podcast category but excluded in the rest of the site. Is this possible?

    I'm using Blubrry PowerPress Version 4.0.6 and WordPress 3.5

    Thanks in advance.

    http://wordpress.org/extend/plugins/powerpress/

  2. Angelo Mandato
    Member
    Plugin Author

    Posted 1 year ago #

    Quick look at your hd audio streaming javascript, it is looking for player.js in the page HTML and modifying it. Not sure why they logic is that way for the streaming player, but it is. PowerPress calls the javascript file player.js, so it breaks the streaming player (hd audio streaming refers to the wrong player.js file).

    In powerpress, go to the "appearance" settings, and disable the player and links from appearing on your site. this will remove the HTML you linked above that PowerPress includes. Due to the javascript for your audio streaming player is not hosted on your web site, you don't have any other option that's not involved in fixing the problem.

  3. fafamonge
    Member
    Posted 1 year ago #

    Thanks for your response. Even if I disable the "player and links" in PowerPress the code is still apearing in head

    <script type="text/javascript" src="http://www.elsalvador.fm/wp-content/plugins/powerpress/player.js"></script>
    <script type="text/javascript"><!--
    function powerpress_pinw(pinw){window.open('http://www.elsalvador.fm/?powerpress_pinw='+pinw, 'PowerPressPlayer','toolbar=0,status=0,resizable=1,width=460,height=320');	return false;}
    powerpress_url = 'http://www.elsalvador.fm/wp-content/plugins/powerpress/';
    //-->
    </script>

    Just deactivating the plugin the HD Player works again.

  4. Angelo Mandato
    Member
    Plugin Author

    Posted 1 year ago #

    I just tested and confirmed that option is not working correctly. It should be fixed in the next release.

  5. fafamonge
    Member
    Posted 1 year ago #

    I solved this issue renaming player.js to podcast.js and all the calls out to this file in the code of Blubrry PowerPress plugin. Works like cotton candy :)

    Thanks Angelo for the orientation.

  6. Angelo Mandato
    Member
    Plugin Author

    Posted 1 year ago #

    The option in PowerPress to disable the player and links site wide now removes the player.js from your pages as of PowerPress version 4.0.7+.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic