Open HTML5 video player for YouTube video without embedding

I’ve been learning Ionic by creating different personal applications and my goal with this one is to pull a list of videos from a YouTube channel and allow the user to tap on a video and play it. Everything works great but I’ve had trouble with playing videos.

I’ve tried embedding the videos but it just looks really sloppy and it’s just not efficient having each list item load an embedded video. I’ve been playing around with using the modal view with the embedded video inside of it but it just seems unnecessary.

I’m looking for a way to play a video by grabbing the “youtube.com/watch?v=VIDEO_ID” URL and jumping straight to the devices video player, rather than having the user click through an embedded YouTube video first. Is there a way to do this? I’ve done a lot of searching but couldn’t find an answer for YouTube videos.

1 Like