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

media-track-list

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

media-track-list

Implements VideoTrackList/VideoTrack and AudioTrackList/AudioTrack interfaces

  • 1.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

media-track-list

CI codecov npm npm bundle size

media-track-list implements VideoTrackList/AudioTrackList interfaces in JavaScript.

This can be used for extending native HTMLVideoElement API.

Usage

import {
    VideoTrackList,
    AudioTrackList,
    VideoTrack,
    AudioTrack,
    clearTrackList,
} from 'media-track-list';

const videoTrackList = new VideoTrackList();
const track = new VideoTrack({
    id: '0',
    width: 1920,
    height: 1080,
});
videoTrackList.addTrack(track);

clearTrackList(videoTrackList);

Keywords

FAQs

Package last updated on 14 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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