Is it possible to play a youtube video inside an application?

I've tryed including the <embed> from youtube and also the <iframe> kind but it works in the simulator and not in the device.

How can I do this?