1.3.0 • Published 2 months ago

media-track-list v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

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);
1.3.0

2 months ago

1.2.0

8 months ago

1.1.0

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago