You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @skjnldsv
Indeed captions would be a nice addition to the viewer.
And it seems we could leverage plyr.io support for HTML5 captions to provide the feature at a low cost?
Is there no traction for this?
Actually, pull request #915 will provide .srt-like support for plyr.io.
It is already working and (I reckon) just lacks unit tests before it can be merged into master.
Unfortunately I have no time at the moment to complete the job :(
supporting anything else than vtt files will require to have an endpoint to is able to extract subtitles from the video and expose them as a conversion to vtt.
there might be libraries that do it (I seem to remember a Node JS based one)
maybe the generated vtt file could be cached in appdata like image previews after extracting+generating
Thank you for the suggestion and for taking the time to report it.
The Nextcloud Viewer is no longer developed as a standalone app. Its code has moved to the @nextcloud/viewer library, which is now maintained at https://github.com/nextcloud-libraries/nextcloud-viewer. Because of this, we will not add any further enhancements to this repository and are closing open feature requests here.
Activity
skjnldsv commentedon Sep 9, 2019
Any files to give me a working example?
Also please use the appropriate issues templates tex time :)
douzebis commentedon May 17, 2021
Hi @skjnldsv
Indeed captions would be a nice addition to the viewer.
And it seems we could leverage plyr.io support for HTML5 captions to provide the feature at a low cost?
Is there no traction for this?
douzebis commentedon May 19, 2021
I just tested the patch below.
Does quite a decent job.
I might send a pull request?
MeowMeowVenom commentedon Jun 21, 2021
Plyr.io supports only .vtt (its more like HTML5 thing)
https://github.com/maple3142/GDIndex
The above index, has support for .srt files too.
douzebis commentedon Jun 21, 2021
Actually, pull request #915 will provide .srt-like support for plyr.io.
It is already working and (I reckon) just lacks unit tests before it can be merged into master.
Unfortunately I have no time at the moment to complete the job :(
PVince81 commentedon Aug 22, 2022
supporting anything else than vtt files will require to have an endpoint to is able to extract subtitles from the video and expose them as a conversion to vtt.
there might be libraries that do it (I seem to remember a Node JS based one)
maybe the generated vtt file could be cached in appdata like image previews after extracting+generating
VincentX0905 commentedon Mar 18, 2026
This question has existed for a long time. Is it even possible to achieve this...?
Xplouder commentedon Mar 18, 2026
@douzebis what happened with #915 ? it actually got merged? i see it closed and removed from version 27 milestones...
douzebis commentedon Mar 19, 2026
@Xplouder yes it was merged. By John Molakvoæ I reckon.
It used to work. But I have not tested it in a long time.
skjnldsv commentedon Mar 19, 2026
No it was not, the PR was staled and too complicated to revive. This ticket is still up for takesies
susnux commentedon Oct 25, 2026
Thank you for the suggestion and for taking the time to report it.
The Nextcloud Viewer is no longer developed as a standalone app. Its code has moved to the
@nextcloud/viewerlibrary, which is now maintained at https://github.com/nextcloud-libraries/nextcloud-viewer. Because of this, we will not add any further enhancements to this repository and are closing open feature requests here.If you are still interested in this feature, please open a new feature request in the library repository:
https://github.com/nextcloud-libraries/nextcloud-viewer/issues/new/choose
Feel free to link back to this issue so the existing discussion is not lost.