Onsen UI YouTube Jukebox with AngularJS

Fran Dios
The Web Tub
Published in
2 min readNov 24, 2016

The YouTube Jukebox app has been updated to Onsen UI 2.0 + AngularJS and now includes a Material Design version. This app uses the YouTube Data API v3 to fetch videos and display them in our hybrid apps. Learn more about the included changes here.

YouTube Jukebox sample app was released some time ago for Onsen UI 1. It has a tutorial about how to use the YouTube Data API v3 with AngularJS in Onsen UI that is still completely valid for Onsen UI 2. You can check it out for more details.

YouTube Jukebox

The source code of this application is on Github.

After the latest changes it now includes a Material Design version that will be displayed in Android devices. This version contains a modal that overlays a new ons-toolbar which includes a search input. This behavior is quite common in Material Design apps.

Another interesting change is that it now loads new videos when the scroll reaches the bottom of the page using onInfiniteScroll functionality instead of a “Load more” manual button.

This app is included in our samples page along with other useful samples. If you have any doubt about this app, please leave a comment or open an issue on Github.

Originally published at onsen.io on November 24, 2016.

--

--

Fran Dios
The Web Tub

I create apps from Tokyo with love. I also like tomatoes.