Skip to content

Fixing namespaced TTML malfunction

Created by: kozmaz87

Dash.js wasn't playing any TTML that had explicit namespacing. The problem lay with the removeNamespacePrefix function on 2 points: it cancelled parsing and afterwards it turned out to not have catered for tt being a substring of tts so it removed tt and so the :extent region attribute was born.

The test framework needs examples of EBU-TT-D with and without default namespace to prevent such an error hiding.

Merge request reports