Iframe 如何在Windows 8应用程序中显示Vimeo视频?

Iframe 如何在Windows 8应用程序中显示Vimeo视频?,iframe,webview,windows-8,embed,vimeo,Iframe,Webview,Windows 8,Embed,Vimeo,我想在Windows 8应用程序中显示Vimeo的视频。我已经用C#/XAML开发了一个应用程序,并希望在iframe中嵌入视频(通过WebView控件) 这是我的代码: string EmbedCode = "<iframe src=\"http://player.vimeo.com/video/33713088?title=0&amp;byline=0&amp;portrait=0\" width=\"640\" height=\"360\" frameborder=\

我想在Windows 8应用程序中显示Vimeo的视频。我已经用C#/XAML开发了一个应用程序,并希望在iframe中嵌入视频(通过WebView控件)

这是我的代码:

string EmbedCode = "<iframe src=\"http://player.vimeo.com/video/33713088?title=0&amp;byline=0&amp;portrait=0\" width=\"640\" height=\"360\" frameborder=\"0\" webkitAllowFullScreen mozallowfullscreen allowFullScreen>";
MyWebView.NavigateToString(EmbedCode);
string-embeddecode=”“;
MyWebView.NavigateToString(嵌入代码);

不幸的是,它不起作用。有人知道官方Vimeo应用程序是如何实现这一点的吗?

是否需要WebView?没有。只要它可以用XAML表示就行。