From bc0872a73ec824a043c4d51a408dbb79025c4bfc Mon Sep 17 00:00:00 2001 From: Brandon Casey <2381475+brandonocasey@users.noreply.github.com> Date: Tue, 29 Sep 2020 16:27:56 -0400 Subject: [PATCH] feat: add CODECS attribute to subtitle playlists if it exists (#106) --- index.html | 4 +- src/toM3u8.js | 16 +- test/index.test.js | 11 ++ test/manifests/vtt_codecs.js | 348 ++++++++++++++++++++++++++++++++++ test/manifests/vtt_codecs.mpd | 60 ++++++ 5 files changed, 432 insertions(+), 7 deletions(-) create mode 100644 test/manifests/vtt_codecs.js create mode 100644 test/manifests/vtt_codecs.mpd diff --git a/index.html b/index.html index a65c645e..e7522bcd 100644 --- a/index.html +++ b/index.html @@ -7,8 +7,8 @@
Open dev tools to try it out