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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
An angular module based on the jquery library https://github.com/nfl/jquery-oembed-all
`npm install
``bower install
`Run the unit tests and/or open test.html in a browser
run `grunt build
`
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.