I tried to figure out how to play a video on YouTube without leaving YouTube and not go into it. I read to embed it in a UIWebView, and I tried this, but I had no success with that.
I did something like the following
<html> <body> <iframe width="560" height="345" src="http://www.youtube.com/embed/q5WBsBDXqDs?rel=0" frameborder="0" allowfullscreen></iframe> </body> </html>
I even tried using the old embed function, but it doesn't work for me at all. Anyone have any suggestions? Thanks in advance!
Edit: I tried it in a browser and it works fine, but it does not work in UIWebView! This disappoints why this does not work.
source share