YouTube Mini Audio Player
If you read my personal blog (which a lot of you probably don’t even know exists) you’ll commonly see music embedded as mini-YouTube embeds. It turns out, the magic height is 25 pixels, and the magic width (for play/pause and mute) is 62 pixels.
However, it is kind of a burden to do this every time you want to embed a mini player (you have to edit at four fields in the HTML!) So to simplify this process, I, like any programmer before me, created a generator. Just type in the URL to the YouTube video and press make, and you’ll get a preview as well as the cross-browser HTML-esque mess of a code to embed.
Of course, if you’re truly lazy, just drag the bookmarklet below to your bookmark bar in your web browser, and click it on any YouTube video and you’ll be taken to the page with the code already generated.
Source code is available via link at the bottom of the page.