Gathering detailed insights and metrics for angular-video-embed
Gathering detailed insights and metrics for angular-video-embed
Gathering detailed insights and metrics for angular-video-embed
Gathering detailed insights and metrics for angular-video-embed
scl-angular-video-embed
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.5.0.
angular-embed-video
> Get embed code for embedding youtube/vimeo/dailymotion/\* video in websites from URL or ID in Angular 6+. > Currently supports YouTube, Vimeo and Dailymotion. Feel free to make pull request to add others!
ngx-embed-video
> Get embed code for embedding youtube/vimeo/dailymotion/\* video in websites from URL or ID in Angular 6+. > Currently supports YouTube, Vimeo and Dailymotion. Feel free to make pull request to add others!
@trtshen/ngx-embed-video
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.
npm install angular-video-embed
Typescript
Module System
Node Version
NPM Version
TypeScript (74.92%)
JavaScript (16.54%)
HTML (8.53%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Stars
30 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Apr 19, 2018
Latest Version
2.0.5
Package Id
angular-video-embed@2.0.5
Size
106.36 kB
NPM Version
3.10.6
Node Version
6.11.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A simple directive for angular 1.x that makes embedding videos from various services easier.
Currently supported:
Install via npm - In the terminal:
1npm install angular-video-embed --save
Include the module in your main app
1angular.module('app', ['zen.video-embed']);
You must include the video service's library script in order to use that service
1<!-- YOUTUBE --> 2<script src="https://www.youtube.com/iframe_api"></script> 3 4<!-- VIMEO --> 5<script src="https://player.vimeo.com/api/player.js"></script> 6 7<!-- VIDDLER --> 8<script src="https://static.cdn-ec.viddler.com/js/arpeggio/v3/build/main-built.js"></script>
1$scope.video = { 2 id: "49222355", 3 service: "vimeo" 4};
1<div zen-video-embed video="video" style="width: 600px; height: 400px;"></div>
1$scope.url = "https://www.youtube.com/watch?v=iNJdPyoqt8U";
1<div zen-video-embed url="{{url}}" style="width: 600px; height: 400px;"></div>
1$scope.url = "https://www.youtube.com/watch?v=iNJdPyoqt8U"; 2$scope.onPlayed = function () {console.log("onPlayed fired");} 3$scope.onPaused = function () {console.log("onPaused fired");} 4$scope.onEnded = function () {console.log("onEnded fired");} 5$scope.onBuffering = function () {console.log("onBuffering fired");} // Only supported on Youtube 6$scope.onReady = function () {console.log("onReady fired");}
1<div zen-video-embed url="{{url}}" on-played="onPlayed" on-paused="onPaused" on-ended="onEnded" on-buffering="onBuffering" on-ready="onReady" style="width: 600px; height: 400px;"></div>
1// Each event callback receives a "Player Wrapper" instance which contains the underlying player library instance. 2$scope.onReady = function (player) { 3 if(player.video.service === "youtube") { 4 player.player.setVolume(0); 5 } 6}
Contributions are always welcome! If you would like to have another service added to the list please request it by opening up an issue or sending a pull request
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
90 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More