Forum Replies Created

Viewing 1 replies (of 1 total)
  • to edit the player, you can open up the plugin folder, and open up streampad.php.

    around line 66 is a line that starts with s.src = and ends in a url. you can add options to the end of the url.

    Here is the api that explains it (just one page, dont worry)
    https://www.streampad.com/embed-api

    I changed the colors on mine so it looks like this now:

    s.src = 'https://o.aolcdn.com/art/merge/?f=/_media/sp/sp-player.js&f=/_media/sp/sp-player-wordpressorg.js&expsec=86400&ver=9&trackcolor=ffffff&bgcolor=ff5a3f';

    @bobegods, you can make it autoplay, check the api link.

    @kosmar, that is a really good idea! you could download the source from here:

    https://o.aolcdn.com/art/merge?f=/_media/sp/sp-player.js

    Than copy it to your local directory, and replace the amazon link with your own. Did a quick search and it looks like this:

    if (streampadPlayer.vars.currentSongVO.album != null) {
    				amazon.setAttribute('href', 'https://www.amazon.com/s/ref=nb_ss_gw_2_10?url=search-alias%3Dpopular&field-keywords='+streampadPlayer.vars.currentSongVO.artist+'%20'+streampadPlayer.vars.currentSongVO.album+'&tag=streampad-20');
    				amazon.style.display = 'block';

    I dont know javascript very well at all but it seems like it would be easy. Code says its gpl and copyright aol? Would be an awesome fork thou.

Viewing 1 replies (of 1 total)