Onsen UI YouTube Jukebox with AngularJS

Fran Dios
Fran Dios
Nov 24, 2016 · 2 min read
Image for post
Image for post

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.

The Web Tub

Pushing the web current through hybrid mobile and PWA…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store