0

I'm not sure if this is possible but is there a way to capture screen using an extension without an https url and without going into native code? Does chrome provide some kind of API call for capturing screen with a compression codec that doesn't involve chrome.desktopCapture?

I'm also wondering how something like screencastify works, where does one begin with trying to build something like this?

jh314
  • 27,144
  • 16
  • 62
  • 82
JasonY
  • 752
  • 10
  • 24
  • 1
    Even with SSL, you cannot record the screen without the `chrome.desktopCapture` API. – Rob W Mar 13 '15 at 15:36
  • so is there prehaps some way to use chrome.desktopCapture without ssl? – JasonY Mar 13 '15 at 16:39
  • Did you understand my comment? SSL is not relevant, you need a Chrome extension before the [`chrome.desktopCapture` extension API](https://developer.chrome.com/extensions/desktopCapture) can be used... – Rob W Mar 13 '15 at 16:53
  • yes i know that, im coding the extension, but the api can only be called on https pages, is there a way around this? even if only for testing purposes on localhost, i dont want to get a ssl certificate just to explore the api – JasonY Mar 13 '15 at 20:30
  • `chrome-extension:` URLs are viewed as secure, so you can also load the extension in an iframe which in turn displays the video, see e.g. https://stackoverflow.com/q/26424366. – Rob W Mar 16 '15 at 15:28
  • thanks rob, i did end up getting an ssl certificate installed on my website to test my custom code since it just saves a lot of hassle, but thanks for this suggestion, i never thought of doing it through an iframe I'll keep this in mind next time! – JasonY Mar 16 '15 at 23:17

0 Answers0