A few years ago I created the YouTube™ Viewer add-on (which still works!) for Firefox. The idea was to search for YouTube™ videos in a distraction-free and safe manner and then watch them. Google Chrome now supports packaged apps which can be launched from a desktop icon. I thought this can be used to create a YouTube™ viewer app for Chrome. I created one using Chrome Packaged App APIs [1] [2] and Angular.js. One thing I could not achieve though was to actually embed the video inside the app. This is probably a bug...so I filed one:
180390 - Sandboxed page in packaged app cannot display embedded YouTube video.
180390 - Sandboxed page in packaged app cannot display embedded YouTube video.
Here are the screenshots for instant gratification:
The video playing in Chrome:
The desktop launcher for Desktop App powered by YouTube™:
Get it here.
I will soon blog about the details of how the app works and while doing that explain concepts such as sandboxed pages and security restrictions imposed by the Chrome App programming model.
Here is a screenshot of my original Firefox add-on:
You can download it here. This is built using XUL plus JavaScript.
Here is a screenshot of my original Firefox add-on:
You can download it here. This is built using XUL plus JavaScript.
Enjoy!