I'm sure there are many better ways to do things - it's just V0.2 🙂
You're right about it using the theme. I figured that's already doing UA lookup, so why bother doing it twice?
I'll need to dig out my iPhone & Android devices to see how they handle a YouTube vid being embeded in XHTML. However, I'd rather assume that the theme being served up is indicative of what the device supports. Besides, Android and iPhone both work fine on m.youtube.com.
Still - food for thought for V0.3!
T