Gathering detailed insights and metrics for ng-youtube-embed-iframe
Gathering detailed insights and metrics for ng-youtube-embed-iframe
Gathering detailed insights and metrics for ng-youtube-embed-iframe
Gathering detailed insights and metrics for ng-youtube-embed-iframe
🍿 AngularJS directive for Youtube Iframe Player API
npm install ng-youtube-embed-iframe
Typescript
Module System
Node Version
NPM Version
CoffeeScript (65.36%)
JavaScript (33.34%)
Shell (1.3%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
177 Commits
2 Watchers
1 Branches
1 Contributors
Updated on Dec 22, 2022
Latest Version
1.2.15
Package Id
ng-youtube-embed-iframe@1.2.15
Unpacked Size
40.02 kB
Size
10.97 kB
File Count
8
NPM Version
6.14.8
Node Version
14.15.1
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
No dependencies detected.
ng-youtube-embed-iframe lets you embed a YouTube video player on your website and control the player using AngularJs.
Using ng-youtube-embed-iframe functions, you can queue videos for playback; play, pause, or stop those videos, adjust the player volume, or retrieve information about the video being played. You can also add event listeners that will execute in response to certain player events, such as a player state change or a video playback quality change.
An AngularJS directive for Youtube Iframe API. All functions supported by Youtube Iframe API is supported.
Installation can be done via Package managers such as npm or yarn
1npm install ng-youtube-embed-iframe --save 2# or 3yarn add ng-youtube-embed-iframe
or use cdn
1//cdn.jsdelivr.net/npm/ng-youtube-embed-iframe@latest/ng-youtube.min.js
1//cdn.jsdelivr.net/npm/ng-youtube-embed-iframe@latest/ng-youtube.js
Include the modules required for ng-youtube-embed-iframe.
1<script src="angular/angular.min.js"></script> 2<script src="../ng-youtube.min.js"></script>
add ngYoutube
dependency to the module
1angular.module('myApp', ['ngYoutube']);
and in your html
1<youtube id="myYoutubePlayer" video-id="{{videoId}}"></youtube>
Options like video-id, height, width
provided as element attribute has higher priority.
Other options can be provided in player-options
In HTML
1<youtube player-options="options" id="myYoutubePlayer"></youtube>
In Controller
1$scope.options = { 2 videoId: '', 3 height: '100%', 4 width: '700px', 5 playerVars: {} // all parameters supported by youtube-iframe-api 6};
Refer wiki for documentation
No vulnerabilities found.
Reason
license file detected
Details
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
no vulnerabilities detected
Reason
publishing workflow detected
Details
Reason
update tool detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 9
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
GitHub code reviews found for 3 commits out of the last 30 -- score normalized to 1
Details
Reason
repo is marked as archived
Reason
no badge detected
Reason
non read-only tokens detected in GitHub workflows
Details
Reason
security policy file not detected
Reason
project is not fuzzed
Score
Last Scanned on 2022-08-15
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