Want Music on Your SmugMug Site?

124»

Comments

  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited February 8, 2008
    Can anyone tell me how to keep the music playing when you change a page (Sonific player)? When I go to a new page the music starts all over!
    Can't be done as far as I know, sorry :(
  • PenrodPenrod Registered Users Posts: 40 Big grins
    edited April 23, 2008
    Hey, guys. My turn to be a pain in the rump....

    With Sonific closing soon they apparently aren't taking new members, so that route is out. Which is a darn shame because I'd FINALLY found a song that was really working for me.

    Anyway, found another song, uploaded to fileden, got the code and tried to put it on my homepage. And at that point I'm dead in the water. I've added what I BELIEVE was appropriate code to both footer & CSS areas......

    The song file doesn't seem to work. I only want it to play on the homepage.... anyone have time to lend a hand?

    http://www.penrodstudios.com
  • PenrodPenrod Registered Users Posts: 40 Big grins
    edited April 23, 2008
    Blech! Now I have the file working - as an executable file that opens a media player..... this is making me crazy. Please can someone lend a hand? I've now wasted 4 hours on this one task. :/
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited April 23, 2008
    Hi Penrod, post your code you use.

    I don't see a player on your site.

    http://wiki.smugmug.com/display/SmugMug/How+To+Add+Music

    has great references.
  • PenrodPenrod Registered Users Posts: 40 Big grins
    edited April 23, 2008
    Ha! Andy, you da man. I'd read that link earlier, but missed the syntax. Its fix't now! Thanks, man.

    :)
  • parkermyersparkermyers Registered Users Posts: 40 Big grins
    edited April 29, 2008
    Andy wrote:
    Hi Penrod, post your code you use.

    I don't see a player on your site.

    http://wiki.smugmug.com/display/SmugMug/How+To+Add+Music

    has great references.

    I would like to try to add music to my site. I have read the instructions you posted above, but I am not sure I quite understand where the mp3 needs to reside. I sit uploaded to the smugmug site just like gallery photos are...and it resides there??

    I would like for it to play on all pages, so that it doesn't start and stop each time you change pages or only on one specific page.

    I am planning on using instrumental piano music. Does it run in a loop or do I have the option of having more than one song if someone lingers longer at the site?

    Also I would like to have a "music off" button available for anyone to turn it off, though I don't want a media player visable on the page.

    Any help or suggestions would be much appreciated.
  • SloYerRollSloYerRoll Registered Users Posts: 2,788 Major grins
    edited April 29, 2008

    Any help or suggestions would be much appreciated.
    Unless you use a table (outdated & bad) or pop up window (bad, but not as bad). You can't do it. Some web weenies will say a pop up is bad, but If done well and the user knows it's coming. It can be used for good.

    The music resides on what is called a host. A host is a chunk of computer hard drive space that has permanent access to the web. So when the web page go to find the MP3 (or whatever) it finds out where the host is (this part is embedded in the code) and grabs it. This is the same thing a SmugMug image being posted on the dgrin gallery here. SmugMug hosts the image, but you use it in another location.

    All settings such as loop, volume etc are embedded in the JavaScript as variables. Most of the time you can go in and just click buttons on the hosting site to make adjustments like there. But you can also go into the code and change the variables if you can figure it out.

    Make sense?
  • parkermyersparkermyers Registered Users Posts: 40 Big grins
    edited April 29, 2008
    Make sense?[/quote]
    Thanks for the reply. Yes and no. So then must I have a "visible" media player on the site in order to have any music?

    I have seen some nice sites (non-smug) that had this invisible music feature, so I guess they were residing on a server or with a different format than you can do on smug?

    So what then would be my options to add music?

    Thanks.
  • SloYerRollSloYerRoll Registered Users Posts: 2,788 Major grins
    edited April 29, 2008
    Thanks for the reply. Yes and no. So then must I have a "visible" media player on the site in order to have any music?

    I have seen some nice sites (non-smug) that had this invisible music feature, so I guess they were residing on a server or with a different format than you can do on smug?

    So what then would be my options to add music?

    Thanks.
    It's only invisible since it isn't wrapped inside an html tag.

    I don't mind music on sites in moderation, but MANY in here don't like it. But to force someone to listen to music by not providing the ability to turn the music down or off is just un-courteous to the viewer IMO.

    There are tons of tuts in here on how to get music on your sm site. Try them out and ask specific questions.

    To start you out. Try going to a music hosting site such as imeem.com or the equivalent. This is where you will find the songs and grab the code to put in your SM site.

    HINT:
    Unless there's a specific button to make SmugMug code. Most sites think that you are going to embed this into an HTML page. SM sites are HTML, but not in the standard sense. So your going to need to wrap the code you copy in html tags.
    *I provided an example, but couldn't make it work properly in these forums.

    I'm much more versed in standard xhtml/css than actual SM site customization though. So there are are others that can answer more specific questions w/o having to look it up or research like I would have to.
  • atom katom k Registered Users Posts: 92 Big grins
    edited June 29, 2008
    Changing the look af the audio player...
    How can I change the appearance of the little Quicktime player in my footer? http://www.consolidatedaggregates.com/

    I like having (INSIST on having!) the ability to mute or turn off the music, I just wish I could make it look cooler, hopefully by tweaking the html in my footer...
  • atom katom k Registered Users Posts: 92 Big grins
    edited June 29, 2008
    Copy protection?
    I'd like to protect my music from being downloaded from my smugmug page. Possible?
  • atom katom k Registered Users Posts: 92 Big grins
    edited June 29, 2008
    Audio playing only once...
    Hey, here's an idea, it's probably beyond the ability of SmugMug - I don't know if I've seen it anywhere for that matter. What if you could have music play the first time someone views your homepage but then, using cookies or something, the audio wouldn't play automatically if they returned to the homepage minutes later (the viewer could still voluntarily hit "play" if they wanted to) - far less irritating and obtrusive than audio replaying every time the page is loaded.

    If that were possible, you could even set it to play only once a day or once an hour or whatever increment you chose.

    Just throwin it out there...
  • atom katom k Registered Users Posts: 92 Big grins
    edited July 1, 2008
    atom k wrote:
    I'd like to protect my music from being downloaded from my smugmug page. Possible?

    Possible?
  • webman18webman18 Registered Users Posts: 4 Beginner grinner
    edited October 15, 2008
    Ok, so I have a question...

    I placed DIV tags and everything in my footer - I verified it works on the home page and everything - however, I only want it to play in a gallery...

    How can I do this?

    In my CSS I have:

    .gallery_mygallery #my_music {dispaly: block;}

    Footer, I have:

    <div id ="my_music">
    <div align="center">
    <embed src="http://www.mysite.com/song.m4a" width="70" height="18" autostart="true" loop="true">
    </div>

    I would like to have this only autostart in my one gallery, not on the homepage or the rest of the site...

    Who can help me? <img src="https://us.v-cdn.net/6029383/emoji/clap.gif&quot; border="0" alt="" >
Sign In or Register to comment.