Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

media-tracks

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

media-tracks - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

dist/shim.js

6

package.json
{
"name": "media-tracks",
"version": "0.0.3",
"version": "0.0.4",
"description": "Polyfill audio and video tracks with renditions.",

@@ -8,2 +8,6 @@ "type": "module",

"types": "dist/types/index.d.ts",
"exports": {
".": "./dist/index.js",
"./shim": "./dist/shim.js"
},
"files": [

@@ -10,0 +14,0 @@ "dist"

15

README.md

@@ -34,17 +34,2 @@ # Media Tracks

class VideoRenditionList extends EventTarget {
[Symbol.iterator](): IterableIterator<VideoRendition>;
get length(): number;
add(rendition: VideoRendition): void;
remove(rendition: VideoRendition): void;
getRenditionById(id: string): VideoRendition | null;
get activeIndex(): number;
get onaddrendition(): (() => void) | undefined;
set onaddrendition(callback: (() => void) | undefined);
get onremoverendition(): (() => void) | undefined;
set onremoverendition(callback: (() => void) | undefined);
get onchange(): (() => void) | undefined;
set onchange(callback: (() => void) | undefined);
}
declare const VideoTrackKind: {

@@ -51,0 +36,0 @@ alternative: string;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc