Monday, September 19, 2011

[YouTube-API] iframe API player "isMuted" returns undefined value

In the iframe API player, calling "isMuted" on the player object returns undefined, rather than true or false, regardless of the muted state of the player. I have a basic repro that polls the player every second and prints the value of isMuted and getVolume (getVolume returns a valid numerical value).

Repro here: http://tcollier-sandbox.heroku.com/youtube-undefined-isMuted.html

--
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/-/Yxd5ivtoEmkJ.
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