Put any video in an iframe, with one click!
iFrame'd it! Extension
This uses iframe.ly's API to grab the source URL of any video file currently playing in the browser's window, and to also provide responsive iframe markup for the file. It requires an API key from https://iframely.com, which will allow you to grab the source URL/markup for 1000 videos a month (for free!).
Read more
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "iFrame'd it!", "version": "0.1", "description": "Put any video in an iframe, with one click!", "browser_action": { "default_icon": "iframe.png", "content_security_policy": "script-src 'self' object-src 'self'", "default_icon": "iframe.png", "default_popup": "sandboxed.html" }, "background" : { "scripts": ["jquery.js", "angular.min.js", "angular-sanitize.min.js", "backgroundscript.js", "stuff.js"], "persistent": true }, "content_scripts":[ { "matches":[""], "js":["content.js"] }], "permissions": [ "notifications", "contentSettings", "contextMenus", "tabs", "activeTab",\t\t"browsingData", "http://*/*", "https://*/*", "webRequest", "webNavigation", "storage", "" ],"options_page": "options.html", "icons": { \t\t"16": "iframe.png" } }
Read more