1

So I use a UIWebView to stream my embedded youtube video using loadHTMLString:baseURL:. This works great. However, I noticed that the MPMoviePlayerController keeps losing the already streamed frames. When I start the video, press "Done" and the restart the video again, it begins from the very beginning again. I first thought that this is the default behavior and checked it by loading a request with the url youtube.com and played a random video. The controller saved the stream.

So my question is whether I did something wrong or wether UIWebView doesn't save it's stream when loadHTMLString:baseURL: is used?

cdeszaq
  • 29,170
  • 25
  • 111
  • 169
lbrndnr
  • 3,327
  • 21
  • 35
  • what do you mean by "my embedded youtube video" ? is it some local file ? what is the differenc ebetween your video and the other ones you tested ? – Yahia Jan 10 '12 at 07:28
  • An embedded video is an attempt to make an UIWebView look like a native MPMoviePlayerController that plays a YouTube video. http://stackoverflow.com/questions/1779511/play-youtube-videos-with-mpmovieplayercontroller-instead-of-uiwebview – lbrndnr Jan 11 '12 at 02:56
  • 1
    It might help if you give us some code to look at... – leanne Jan 11 '12 at 04:43
  • I think you mean the buffer. Youtube videos don't stream. – Kendall Frey Jan 12 '12 at 01:18

0 Answers0