I'm looking to make a packaged app for Chrome OS which can run videos in fullscreen. The videos are hosted online, and are loaded through a webview. Upon trying to fullscreen the video, it flashes for a brief moment to the full size of the window, and returns to a regular size. Upon defining the "fullscreen" permission, my IDE warns me saying it does not exist. Any advice?
manifest.json:
{
"manifest_version": 2,
"name": "Browser Sample",
"minimum_chrome_version": "43.0.2357",
"version": "2.1",
"icons": {
"16": "icon_16.png",
"128": "icon_128.png"
},
"app": {
"background": {
"scripts": ["main.js"]
}
},
"permissions": [
"webview",
"notifications",
"contentSettings",
"fullscreen",
]
}
index.html:
<!DOCTYPE html>
<html>
<body>
<webview src="https://www.youtube.com/">
</webview>
</body>
</html>