Gathering detailed insights and metrics for cordova-plugin-streaming-media-secure
Gathering detailed insights and metrics for cordova-plugin-streaming-media-secure
Gathering detailed insights and metrics for cordova-plugin-streaming-media-secure
Gathering detailed insights and metrics for cordova-plugin-streaming-media-secure
Simple plugin for loading full screen streaming secure video or audio.
npm install cordova-plugin-streaming-media-secure
Typescript
Module System
Node Version
NPM Version
72.9
Supply Chain
97.3
Quality
75.3
Maintenance
100
Vulnerability
100
License
Java (83.13%)
Swift (9.41%)
JavaScript (7.46%)
Total Downloads
1,371
Last Day
1
Last Week
7
Last Month
28
Last Year
175
MIT License
1 Stars
57 Commits
1 Forks
1 Branches
1 Contributors
Updated on Mar 04, 2023
Latest Version
2.3.2
Package Id
cordova-plugin-streaming-media-secure@2.3.2
Unpacked Size
32.54 kB
Size
8.82 kB
File Count
12
NPM Version
6.1.0
Node Version
10.4.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-22.2%
7
Compared to previous week
Last Month
-22.2%
28
Compared to previous month
Last Year
22.4%
175
Compared to previous year
No dependencies detected.
For iOS and Android, by Suhas P R, Stuart McCamley & Nicholas Hutchind
This plugin allows you to stream audio and video in a fullscreen, native player on iOS and Android.
cordova plugin add cordova-plugin-streaming-media-xtreme
1if(window && window.plugins && window.plugins.streamingMedia) { 2 let StreamingMedia = window.plugins.streamingMedia 3 // play streaming video from a remove resource 4 //https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8 5 StreamingMedia.playiOS('url') 6 StreamingMedia.playLocaliOS("local file path") 7} 8
1 var videoUrl = STREAMING_VIDEO_URL; 2 3 // Just play a video 4 window.plugins.streamingMedia.playVideo(videoUrl); 5 6 // Play a video with callbacks 7 var options = { 8 successCallback: function() { 9 console.log("Video was closed without error."); 10 }, 11 errorCallback: function(errMsg) { 12 console.log("Error! " + errMsg); 13 }, 14 orientation: 'landscape', 15 shouldAutoClose: true, // true(default)/false 16 controls: true // true(default)/false. Used to hide controls on fullscreen 17 secure: true // true(default)/false. Used to prevent user from taking screenshot and screen recording 18 }; 19 window.plugins.streamingMedia.playVideo(videoUrl, options); 20 21 22 var audioUrl = STREAMING_AUDIO_URL; 23 24 // Play an audio file (not recommended, since the screen will be plain black) 25 window.plugins.streamingMedia.playAudio(audioUrl); 26 27 // Play an audio file with options (all options optional) 28 var options = { 29 bgColor: "#FFFFFF", 30 bgImage: "<SWEET_BACKGROUND_IMAGE>", 31 bgImageScale: "fit", // other valid values: "stretch" 32 initFullscreen: false, // true(default)/false iOS only 33 successCallback: function() { 34 console.log("Player closed without error."); 35 }, 36 errorCallback: function(errMsg) { 37 console.log("Error! " + errMsg); 38 } 39 }; 40 window.plugins.streamingMedia.playAudio(audioUrl, options); 41 42 // Stop current audio 43 window.plugins.streamingMedia.stopAudio(); 44 45 // Pause current audio (iOS only) 46 window.plugins.streamingMedia.pauseAudio(); 47 48 // Resume current audio (iOS only) 49 window.plugins.streamingMedia.resumeAudio(); 50
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
all dependencies are pinned
Details
Reason
tokens are read-only in GitHub workflows
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
no vulnerabilities detected
Reason
no reviews found
Details
Reason
0 commit(s) out of 30 and 0 issue activity out of 0 found in the last 90 days -- score normalized to 0
Reason
no badge detected
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Reason
no update tool detected
Details
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