• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WebView viewing video files, how to save locally
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WebView viewing video files, how to save locally


  • Subject: WebView viewing video files, how to save locally
  • From: Matt <email@hidden>
  • Date: Sat, 23 Dec 2006 16:03:25 -0500

Continuing with my webkit based project, I wanted to give the user the option to save a webpage to the hard drive. I read up on the documentation and saw code like:

NSWebArchive *archive = [[[webView mainFrame] dataSource] webArchive];

That's all fine and wonderful, I worked to get NSData and save it to a file. All is lovely most of the time. However, when a user comes across a video file, such as just an mpg, trying to save as a webarchive or just grabbing the raw data and writing to file, it all yields useless stuff. (like 12kb)

So, I'm assuming that because webView is just using the QT plugin, that I will need to talk with QT somehow and get the data that way. Anyone have any suggestions for getting the data so that I could just save a mpg file to disk as that? Maybe accessing the QT/browser cache?

Thanks,

Matt
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: for Loop Error or Logical Error?
  • Next by Date: Re: for Loop Error or Logical Error?
  • Previous by thread: Re: for Loop Error or Logical Error?
  • Next by thread: Exception closing NSPersistentDocument with unsaved data
  • Index(es):
    • Date
    • Thread