Search the web
Sign In
New User? Sign Up
yhoomediaplayer · Yahoo! Media Player
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Getting element id that contains the current song   Message List  
Reply | Forward Message #713 of 789 |
Hello-

I used ymp on http://songaday.netscrap.com/ and got some really positive
feedback from my audience. I'm working on a follow-up to that site and would
like to kick-up the experience a few notches.

One thing I've been able to figure out is using onTrackStartHandler and
getMetaData to passing metadata to an analytics service.

One thing I'd like to do is highlight the page that's currently playing in the
player. Seems like there's a way to reference an id of the div that contains the
active track and change a style (e.g. background color, border) but my hacks
aren't working.

I saw an example of highlighting the track title in the player ui, but I'm
looking to do something similar with the element on the page (and have
subsequent items highlighted as the player autoplays).

Any tips or examples I can see? Much appreciated!

CG





Thu Jul 2, 2009 12:00 am

insulin2
Offline Offline
Send Email Send Email

Forward
Message #713 of 789 |
Expand Messages Author Sort by Date

Hello- I used ymp on http://songaday.netscrap.com/ and got some really positive feedback from my audience. I'm working on a follow-up to that site and would...
Chriz
insulin2
Offline Send Email
Jul 2, 2009
12:04 am

Ok, I think I figured this out. Once I put a unique id in the a href that contains the mp3 url, I was able to see a track.anchor.id... whose parentnode.style...
Chriz
insulin2
Offline Send Email
Jul 2, 2009
6:33 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help