English 中文(简体)
i 能够操作第4.3号决议的调频视频。
原标题:i cant able to run the youtube videos in ios4.3

我曾尝试过以下法规,以开放你的录像带,不工作的人可能知道原因,

NSString *youTubeVideoHTML = @"<html><head>
                      <body style="margin:0">
                      <embed id="yt" src="http://www.youtube.com/watch?v=gczw0WRmHQU" type="application/x-shockwave-flash" 
                      width="%0.0f" height="%0.0f"></embed>
                      </body></html>";

预 收

问题回答

我猜想你把这段话重新装入一个网络,不要 you?

    /**
 * Embeds the youtube HTML data into the webview
 */
- (void)embedYouTubeIntoWebview:(UIWebView *)webView 
                        withURL:(NSString *)url 
                        inFrame:(CGRect)frame {
  webView.delegate = self;
  NSString *embedHTML =
    @"
  <html><head>
  <style type="text/css">
  body {
  background-color: transparent;
  color: white;
  }
  </style>
  </head><body style="margin:0">
  <embed id="yt" src="%@" type="application/x-shockwave-flash" 
  width="%0.0f" height="%0.0f"></embed>
  </body></html>";
  NSString *html =
    [NSString stringWithFormat:embedHTML, url, frame.size.width, frame.size.height];

  [webView loadHTMLString:html baseURL:nil];
}

相信这赢得了与支持者的合作。 你们需要用真正的手段加以测试。





相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签