Overview
Features
1. Select video or audio files
<input class="form-control" type="file" id="fileInput" accept=".mp3, .mp4, .ogg, .webm" multiple (change)="createPlaylist($event)">
playlist: any[] = [];
createPlaylist = (e: Event) => {
if (!e || !e.target) return;
this.playlist.push(e.target.files);
}
Supported Formats
Technologies
- HTML5 video media element
- Blob API
- File API
- Angular
- Bootstrap 5
- Canvas