surmon-china / videojs-player

@videojs player component for @vuejs(3) and React.
https://github.surmon.me/videojs-player
MIT License
5.23k stars 1.12k forks source link

In video.js, when the source content type is "audio/mp3", the subtitle of the track is not updated. #443

Closed iranika closed 1 year ago

iranika commented 2 years ago

Describe the bug

I am trying to add subtitles to audio. In video.js, when the source content type is "audio/mp3", the subtitle of the track is not updated.

We have prepared a Demo page.

Demo page. https://iranika.github.io/videojs-debug/

Souce Code. https://github.com/iranika/videojs-debug

What is interesting is that when you change the caption or operate the fullscrean, the subtitle will be displayed. However, the subtitle is not updated. It's not detecting the cuechange Event, i think well...

Is this a bug?

Reproduction

Demo page. https://iranika.github.io/videojs-debug/

Souce Code. https://github.com/iranika/videojs-debug

System Info

vanilla. using CDN.
I am not use package manager.

Used Package Manager

yarn

Validations

iranika commented 2 years ago

sorry, mistake.

surmon-china commented 2 years ago

Hi @iranika, this is actually an issue with Video.js.

In fact, after my testing, I found that the subtitles do have the problem of not updating, and it should be related to an event inside Video.js.

iranika commented 2 years ago

Hi @surmon-china , thank you for testing.

I have created an issue on video.js. https://github.com/videojs/video.js/issues/7910

I will continue to wait for this bug to be fixed.

iranika commented 1 year ago

This problem was fixed PR(https://github.com/videojs/video.js/pull/7918), and merged v7.20.3 🎉