videojs / videojs-contrib-dash

Video.js plugin for supporting the MPEG-DASH playback through a video.js player
https://videojs.github.io/videojs-contrib-dash/
Apache License 2.0
295 stars 128 forks source link

TTML Caption Styling broken #389

Open damanV5 opened 5 months ago

damanV5 commented 5 months ago

Description

Caption styling seems to be broken for mp4 embedded captions.

Steps to reproduce

Explain in detail the exact steps necessary to reproduce the issue.

  1. Using videojs : 7.20.3 and videojs contrib dash : 5.1.1
  2. Using videojs player options -> html5 : { dash : { useTTML : true } }.
  3. Video Stream is LIVE with DRM Protection.
  4. Captions are embedded mp4 i.e. with a mimeType: application/mp4. Screenshot 2024-04-01 at 3 23 23 PM

Results

Caption displays but styling is broken. Also, I am not able to hide the empty grey strip.

Expected

Captions should be visible inside the black strip and not outside it.

Actual

Black strip and captions are displaying separately i.e. appears broken.

Error output

Screenshot 2024-04-01 at 3 12 52 PM

Additional Information

Please include any additional information necessary here. Including the following:

versions

videojs

7.20.3

browsers

Chrome

OSes

what platforms (operating systems and devices) are affected?

plugins

videojs-contrib-dash : 5.1.1

damanV5 commented 5 months ago

@heff / @dmlap / @boushley / @squarebracket I would be grateful for any help on the above issue.