Skip to content

Style is not applied, and .srt is not shown #8

@arLevi

Description

@arLevi

I'm using jQuery 3.7.1 with Firefox 138.0.1 and I downloaded a subtitle from Youtube, snippet:

# file my.srt
[04:18.960 --> 04:20.960]  abc
[04:20.960 --> 04:21.960]  def
[04:21.960 --> 04:23.960]  ghi

And

# file: my.vtt
14:16.840 --> 14:22.740
abc

14:23.840 --> 14:26.220
def

14:32.560 --> 14:34.540
ghi

HTML is:

<video id="video">
                <source src="my_video.mp4">
                <track label="SRT test" kind="subtitles" srclang="en" src="my.srt" default>
                <track label="VTT test" kind="subtitles" srclang="en" src="my.vtt">
</video>
  1. Still the only subtitles it shows is the my.vtt when I switch to the .srt subtitles just disappear....
  2. The style is being applied behind the <video> tag, don't see how to attach an image here
  3. I wonder why the library is using $.ajax ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions