[SOLVED] add this code in a widget
hello everyone,
I have this code working very well in a page. Code:
<link href="http://www.your_site.com/your_path/css/sc-player.css" rel="stylesheet" type="text/css" /> I would like to avoid iframe, cause it will be to complicate for the administrator to add players. Does someone have a clue of how I can get it to work..? Maybe I need to developpe a widget..? but how to start...? I spend hours on the player to be as I need..I would like to be able to use it ! ! :):) Thanks ! |
You can either install a widget that allows javascript or you could install the spectacu.la page plugin which allows you to use a page as a widget.
|
Hi,
ok thanks.. wasn't sure what was the problem.. and I didn't know that there is some widget can allow javascrip.. will search for one.. and will let you now.. thanks |
Sorry My mistake, but it doesn't work on a page neither.
Didn't get anything with the javascript widget.. It works very well on a html page..? any ideas..? |
Sorry... I'm not all that familiar with javascript. It appears it is a player of some sort. Is there perhaps a plugin you could use instead of the javascript?
|
the player works with soundcloud..So I can't use another player.
But actually I didn't see that the code works perfectly on firefox (mac), but doesnt works on safari and chrome.. ! it make me think that he could works on all the web browser ! ;) but how:confused: |
I would check on their site. It appears they have some info on using their app in WordPress.
|
Hi,
thanks for your answers but I got it. Were two different links for the jquery.js, one on the readme file and other on the online quick start.. So everything is fine, I don't put my api key yet and it's workin ! ! I put that code on the insert html: Code:
<link href="http://www.your_site.com/your_path/css/sc-player.css" rel="stylesheet" type="text/css" /> Code:
<a href="http://soundcloud.com/your_artist/sets" class="sc-player">My new dub track</a> If you want customise a player for stream your soundcloud set, tracks or favorite you can use : https://github.com/soundcloud/soundcloud-custom-player :):) |
All times are GMT -6. The time now is 09:45 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.