Gathering detailed insights and metrics for cordova-plugin-streaming-media-xtreme
Gathering detailed insights and metrics for cordova-plugin-streaming-media-xtreme
npm install cordova-plugin-streaming-media-xtreme
Typescript
Module System
Node Version
NPM Version
72.9
Supply Chain
96.6
Quality
75.5
Maintenance
100
Vulnerability
100
License
Java (82.96%)
Swift (9.51%)
JavaScript (7.54%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
10,358
Last Day
17
Last Week
33
Last Month
41
Last Year
2,985
MIT License
5 Stars
53 Commits
5 Forks
2 Watchers
1 Branches
1 Contributors
Updated on Nov 28, 2019
Latest Version
2.3.1
Package Id
cordova-plugin-streaming-media-xtreme@2.3.1
Size
8.74 kB
NPM Version
5.5.1
Node Version
6.11.3
Cumulative downloads
Total Downloads
Last Day
0%
17
Compared to previous day
Last Week
3,200%
33
Compared to previous week
Last Month
-81%
41
Compared to previous month
Last Year
-0.6%
2,985
Compared to previous year
No dependencies detected.
For iOS and Android, by 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 }; 18 window.plugins.streamingMedia.playVideo(videoUrl, options); 19 20 21 var audioUrl = STREAMING_AUDIO_URL; 22 23 // Play an audio file (not recommended, since the screen will be plain black) 24 window.plugins.streamingMedia.playAudio(audioUrl); 25 26 // Play an audio file with options (all options optional) 27 var options = { 28 bgColor: "#FFFFFF", 29 bgImage: "<SWEET_BACKGROUND_IMAGE>", 30 bgImageScale: "fit", // other valid values: "stretch" 31 initFullscreen: false, // true(default)/false iOS only 32 successCallback: function() { 33 console.log("Player closed without error."); 34 }, 35 errorCallback: function(errMsg) { 36 console.log("Error! " + errMsg); 37 } 38 }; 39 window.plugins.streamingMedia.playAudio(audioUrl, options); 40 41 // Stop current audio 42 window.plugins.streamingMedia.stopAudio(); 43 44 // Pause current audio (iOS only) 45 window.plugins.streamingMedia.pauseAudio(); 46 47 // Resume current audio (iOS only) 48 window.plugins.streamingMedia.resumeAudio(); 49
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 1/29 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-03-03
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