Get started with ng-embed CDN

MIT licensed

AngularJS uses ng-embed library for auto-embedding YouTube, Vimeo, and iframe media.

Tags:
  • emoticons
  • angular
  • ng-embed
  • smiley
  • smileys

Stable version

Copied!

How to start using ng-embed CDN


import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  template: `
    <ng-embed [src]="'https://www.youtube.com/embed/dQw4w9WgXcQ'"></ng-embed>
  `
})
export class AppComponent { }
Copied!
Copied!

All versions