nextcloud / nextcloud/viewer

add subtitles for video feature

Open
#239 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #907 by @douzebis — closed without merging
  • #910 by @douzebis — closed without merging
1. to develop enhancement
Dominant language
JavaScript
Stars
119
Forks
72
Avg merge
18h 42m
Merged PRs (30d)
24

Description

add this code to Videos.vue : template->video support many subtitle
`

	<track
		:src="davPath.replace(/\.[^\.]+$/, '.vi.vtt')"
		label="Vietnamess"
		kind="captions"
		srclang="vi-vn" default />`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in Videos.vue and locate the video template. Review how the existing video source is assembled, then verify that English and Vietnamese subtitle tracks can be loaded for supported videos. Done means the video displays the requested subtitle options when the corresponding .en.vtt and .vi.vtt files are available.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.