Each YouTube Player maintains its own state, including volume. You'll need to write code that uses the YouTube Player API to keep the volumes in sync across multiple players, by making calls to player.getVolume() and player.setVolume():
https://developers.google.com/youtube/js_api_reference#Playback_controls
Cheers,
-Jeff Posnick, YouTube API Team
apiblog.youtube.com | Google+: http://goo.gl/bZflZ
On Friday, June 22, 2012 7:14:07 PM UTC-4, John Smith wrote:
Basically I'd like to synchronize volume settings on multiple players by using either player's volume slider. Can this be done?
Thank you
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/-CP8Nd11ypYJ.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.
No comments:
Post a Comment