bbc/ngEmbed

Name: ngEmbed

Owner: BBC

Description: null

Created: 2015-02-12 12:07:14.0

Updated: 2017-03-13 11:45:04.0

Pushed: 2017-03-13 11:45:02.0

Homepage: null

Size: 72

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ngEmbed

An angular module based on the jquery library https://github.com/nfl/jquery-oembed-all

Getting started
To test

Run the unit tests and/or open test.html in a browser

To build

run `grunt build`

Using it

Include the module as a dependency for your app e.g.

mbed content simply create the ngEmbed directive and set the `embed-url` attribute. The results of the embed will be placed in the `ngModel` which will contain the provider, the urls, and the embed code.

can also provide a settings object that will allow you to pass either global settings or provider-specific settings just as in the jquery-embed-all library.

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.