JOhnson Posted October 29, 2015 Report Share Posted October 29, 2015 question for you ... as one or two of you know I have a radio of my own ... I am not the best learner in the world but I do try my best Iv choosen Wix free website to make myself a website my problem is that I can embed my radio into the webpage but I cannot show the titles of what is playing because Wix doesn't support PHP or cURL ... is there a way to convert the PHP Code they give you in to an easy HTML Code ... as always I do thank you for any replies to this question Link to comment Share on other sites More sharing options...
err0r Posted October 29, 2015 Report Share Posted October 29, 2015 they don't offer a javascript what's playing? Link to comment Share on other sites More sharing options...
JOhnson Posted October 29, 2015 Author Report Share Posted October 29, 2015 ok first of all let me say thank you for the replies this is the radio wiget html code: <!-- BEGINS: AUTO-GENERATED MUSES RADIO PLAYER CODE --><script type="text/javascript" src="http://hosted.musesradioplayer.com/mrp.js"></script><script type="text/javascript"> MRP.insert({ 'url':'http://s20.myradiostream.com:9394/;' 'codec':'mp3', 'volume':65, 'autoplay':false, 'buffering':5, 'title':'The Magic Radio', 'bgcolor':'#FFFFFF', 'skin':'mcclean', 'width':180, 'height':60 });</script><!-- ENDS: AUTO-GENERATED MUSES RADIO PLAYER CODE --> this is the java code: <script src="http://scripts.myradiostream.com/s20/9394/song.js"></script> now this is what Wix say: You can use the HTML app to embed Javascript code into your site. However, please be aware that your code will only function within the constraints of the HTML app frame. I have tried to add the java inside the html code but I get nothing ... is there somewhere in that radio widget code I need to add the java code as iv tried a few things and when I do all I get is a box with the code in it and not the player ... again iv got to say thank you for any replies on this one Link to comment Share on other sites More sharing options...
err0r Posted October 29, 2015 Report Share Posted October 29, 2015 seems to work fine for me http://err0rcb.wix.com/test has the javascript to show what's playing as well as a player Link to comment Share on other sites More sharing options...
JOhnson Posted October 29, 2015 Author Report Share Posted October 29, 2015 FIXED .... what a fool I put the java code into the html box and got unavailable but forgot to switch the radio on again thank you for your help Link to comment Share on other sites More sharing options...
err0r Posted October 29, 2015 Report Share Posted October 29, 2015 glad you got it working Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now