Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRT Subtitles: End of line and some special syntax not supported #1270

Open
Viiprogrammer opened this issue May 1, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Viiprogrammer
Copy link

Viiprogrammer commented May 1, 2024

Current Behavior:

\N is not supported
{\pos(317,366)} is not supported

image
image

Expected Behavior:

\N is supported
{\pos(317,366)} is supported

Steps To Reproduce:

Example subs:
https://reference.opengram.dev/Trigun.rus.srt
Trigun.rus.zip

Code which I use to load srt subs:

const track = new TextTrack({
  src: 'https://reference.opengram.dev/Trigun.rus.srt',
  kind: 'subtitles',
  label: 'Russian',
  language: 'ru-RU',
  type: 'srt',
  default: true
})

$player.value.textTracks.add(track)

https://stackblitz.com/edit/vidstack-examples-b8rzsk?file=src%2FPlayer.vue

Environment:

  • Framework: Vue

  • Node: 20.12.2

  • Device: Desktop PC

  • OS: Ubuntu 22.04.4 LTS x86_64

  • Browser: Electron 28

@Viiprogrammer Viiprogrammer added the bug Something isn't working label May 1, 2024
@Viiprogrammer Viiprogrammer changed the title End of line not supported End of line and some special syntax not supported May 1, 2024
@mihar-22 mihar-22 changed the title End of line and some special syntax not supported SRT Subtitles: End of line and some special syntax not supported May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant