Where to put $watch in directive in AngularJS?

Where do I put music in my HTML?(tumblr)?

  • this is really making me mad. I use "scm music player" and I got everything put together, like the playlist and stuff, but I have no idea where to put it in my HTML. It says to put it under <body>. I know where body is but i don't know where to put the code for the playlist. please tell me where to put it! well this is where is says body: body{ background:{color:background} url({image:Background}) repeat center top; background-attachment: fixed; color: {color:text}; font-family: 'Open Sans', arial, sans-serif; font-size: 10px; line-height: 12px; overflow-x:hidden; margin:0px; {block:ifTextItalic}font-style:italic;{/… text-align: left;} and this is the code: <!--SCM Music Player by Adrian C Shum - >http://scmplayer.net--> <script type="text/javascript" src="http://scmplayer.net/script.js" ></script> <script type="text/javascript"> SCMMusicPlayer.init("{'skin':'skins/bl… Special','url':'http://www.youtube.com/watch?v=r9pEtoFCoLo'},{'title':'We Could Happen','url':'http://www.youtube.com/watch?v=zgselUm89YA'},{'title':'By Chance','url':'http://www.youtube.com/watch?v=RKCVYKzLsjs'},{'title':'Yonkers','url':'http://www.youtube.com/watch?v=XSbZidsgMfw'},{'title':'Radical','url':'http://www.youtube.com/watch?v=whr5qmXtloE'},{'title':'Her','url':'http://www.youtube.com/watch?v=nuuwl-6Ikvk'},{'title':'She','url':'http://www.youtube.com/watch?v=mFNaFeIm4bU'},{'title':'Sandwitches','url':'http://www.youtube.com/watch?v=79_axJZ2plk&feature=related'},{'title':'Orange Juice','url':'http://www.youtube.com/watch?v=YhycjXvFDy8'},{'title':'I Can%27t Stop','url':'http://www.youtube.com/watch?v=3Q9rewnLFYw'},{'title':'Bass Cannon','url':'http://www.youtube.com/watch?v=gYGioWinQQE&ob=av2n'},{'title':'Cali Dreamin','url':'http://www.youtube.com/watch?v=sybYPOF59cA&oref=http%3A%2F%2Fwww.youtube.com%2Fresults%3Fsearch_query%3DCali%2Bdreamin%26oq%3DCali%2Bdreamin%26aq%3Df%26aqi%3Dg4%26aql%3D%26gs_sm%3D3%26gs_upl%3D10741l20416l0l21104l12l11l0l4l4l0l236l1158l1.3.3l7l0'}],'placement':'bottom','showplaylist':'false'}"); </script> <!--End of SCM Music Player script--> can you please tell me where to insert the code?THANK YOU!

  • Answer:

    just put it under the <body></body> tag if it doesn't work. put it in the bottom.. Go to Customize>Edit HTML Music Player Tutorial Small/Buttons only: http://www.youtube.com/watch?v=6DqmR7U861%7C Invisible Music Player: http://www.youtube.com/watch?v=IGVk_5o_Q8s

Zabrina at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

have you tried placing it at the end?

Jen

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.