10925

How to Play Youtube video in webview in iphone?

Question:

how to remove default done button of MPMovieController in iphone?

Answer1:

Try this,

<ul><li>

<a href="http://iphoneincubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application" rel="nofollow">http://iphoneincubator.com/blog/audio-video/how-to-play-youtube-videos-within-an-application</a>

</li> <li>

<a href="http://apiblog.youtube.com/2009/02/youtube-apis-iphone-cool-mobile-apps.html" rel="nofollow">http://apiblog.youtube.com/2009/02/youtube-apis-iphone-cool-mobile-apps.html</a>

</li> </ul>

Answer2:

You can't add it directly to the MPMoviePlayerController's view -- that's a private view and it can't be accessible.

If you want to add buttons, you need to create a transparent window over the top of everything and add the buttons to that.

Apple's <a href="http://developer.apple.com/iphone/library/samplecode/MoviePlayer_iPhone/index.html#//apple_ref/doc/uid/DTS40007798" rel="nofollow">MoviePlayer</a> sample shows how to do this.

Recommend

  • Ios swift - storing uiimage in document directory and path in core data
  • android 2.2 WebView and WebViewClient RTSP problem
  • How to store Button Text of Buttons in a variable? Android Calculator Project
  • youtube video insert “onBehalfOfContentOwner” parameter value
  • GData Youtube : obtaining thumbnails
  • With one EDMX file use multiple connection strings that relate to multiple databases
  • function for writing out a base 7 word, like binary counter style
  • Youtube upload API and cordova / phonegap
  • Finding number of samples in a .wav header
  • How to crop a mp3 in ASP.NET + C#?
  • Add a div to replace Video after Video Plays Through
  • Are there any supported high bit-depth video or image formats in DirectShow
  • Unable to hide youtube iframes in safari?
  • Converting raw frames into webm live stream
  • Get rendered html code in Backing Component from Composite Component
  • record audio in HTML / js without Flash?
  • Cannot page through all results using nextPageToken on YouTube search API v3
  • SIP API media codecs
  • What is the difference between a “service account” and an “installed application”?
  • Recording values of radio buttons in ember
  • How to get the date of next specified day of week
  • Hide buttons on title bar in Java
  • Implement JwtBearer Authentication in NSwag SwaggerUi
  • LESS CSS how to modify parent property in mixin
  • Click on button in another program - FindWindow, C#
  • Flash radiobutton: how do I get the selected radiobutton?
  • Access user's phone number on iOS 7
  • jQuery: How to AJAXify WordPress Search?
  • Clear fused location provider's location for testing
  • Selenium to click on a javascript button corresponding to a text
  • Button click event not firing in jQuery
  • How do I superscript characters in a UIButton?
  • onBackPressed() not being executed
  • Limiting recursion to certain level - Duplicate rows
  • Android fill_parent issue
  • swift auto completion not working in Xcode6-Beta
  • Adding custom controls to a full screen movie
  • jquery mobile loadPage not working
  • Properly structure and highlight a GtkPopoverMenu using PyGObject
  • How can I get HTML syntax highlighting in my editor for CakePHP?