cookpete / react-player

A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
https://cookpete.github.io/react-player
MIT License
8.94k stars 1.12k forks source link

Captions not working with HLS #604

Closed naheller closed 5 years ago

naheller commented 5 years ago

Current Behavior

The track element appears in the DOM, but is not visible on the page.

Expected Behavior

Captions appear over the video.

Steps to Reproduce

  1. Load an HLS video into react-player
  2. Add subtitles:
    { 
    kind: 'subtitles', 
    src: 'http://localhost:8080/captions/caption.vtt', 
    srcLang: 'en', 
    default: true 
    }
  3. Play video.

Environment

Other Information

DOM output: Screen Shot 2019-03-25 at 11 32 17 AM

MihailDemchenko commented 4 years ago

Hi @naheller. I have the same issue. Did you find some solution?

BijanRegmi commented 1 year ago

same issue

huqiyao commented 4 months ago

Hi @naheller Did you know the solution?

somewonderfulguy commented 1 month ago

Why on Earth is it closed? It is still an issue! @naheller