AngularJS Directive For Friendly Youtube & Vimeo Video URL

Author: andoulla
Official Page: Go to website
Publish Date: May 9, 2015
License: MIT

Description:

A directive that takes in a vimeo or a youtube url and converts it into an embedded friendly url and the displays it.

Features:

  • Converts any url into an embedded friendly url (according to vimeo’s and youtube’s preference)
  • Gets the trusted resource url using angular’s trustAsResourceUrl() functionality

Preview:

angular-video Youtube Example

Youtube Example

angular-video Vimeo Example

Vimeo Example


You Might Be Interested In:

Tags: ,

Add Comment