ID3 Metadata plugin

This plugin adds support for ID3 metadata tags.

Installation

Include the plugin on the page using a standard script tag:

Copy
Copied
<script src="//cdn.flowplayer.com/releases/native/3/stable/flowplayer.min.js"></script>
<script src="//cdn.flowplayer.com/releases/native/3/stable/plugins/id3.min.js"></script>

Usage

The ID3 plugin only parses and emits the tags primarily used for other systems. It's a simple way to build a custom id3 integration into your players. Your track must have an id attribute that is id3 for this plugin to work.

Copy
Copied
  const player = flowplayer(".player", {src: "demo.example.com/your-id3.m3u8"})

  player.on(flowplayer.id3.events.ID3, async ({data})=> {
    console.log(data)
  })