Dear jawbrey
I used same class which is :

public class YouTubeViewer : UIWebView
{
    public YouTubeViewer(string url, RectangleF frame)
    {
        string youTubeVideoHTML = @""; 

        string html = string.Format(youTubeVideoHTML, url, frame.Size.Width,
frame.Size.Height);
        this.LoadHtmlString(html, null);
        this.Frame = frame;
    }
}

But the view still white without any thing ..
I pass it like that :

public override void ViewDidLoad () {
                                                base.ViewDidLoad ();
                                                RectangleF MyFrame = new 
RectangleF(20, 20, 200, 200);
                                                YouTubeViewer PlayingVied = new
YouTubeViewer("http://www.youtube.com/v/duKyuaYK8RU?",MyFrame);
                                }

I try it with my iphone .. Thanks



--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Video-Player-Youtube-TableView-tp4106649p4656464.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to