Using javascript objects to represent the state of a YouTube API Player
<p>I'm using the <a href="http://code.google.com/intl/da/apis/youtube/js_api_reference.html" rel="nofollow">YouTube Javascript API</a> to create a custom player for my website. Since the player can change state (play, stop, pause etc.) I figured it would be appropriate to represent the player as an Javascript object. Is this a good idea? And if so, how do I get started on objects in javascript?</p>
