-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add support for video captions #910
Commits on May 25, 2021
-
Add support for video captions
Generate HTML5 subtitle tracks dynamically based on the contents of the folder where the video is located. For example: given a movie 'video.mkv', the player will look for VTT subtitle files named 'video.XX.vtt' and '.video.XX.vtt', where XX is the two-letter code for the language. Signed-off-by: Frederic Ruget <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9cb6408 - Browse repository at this point
Copy the full SHA 9cb6408View commit details -
Signed-off-by: Frederic Ruget <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 088b678 - Browse repository at this point
Copy the full SHA 088b678View commit details -
Use v-for instead of v-html to create tracks
Signed-off-by: Frederic Ruget <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f2216ad - Browse repository at this point
Copy the full SHA f2216adView commit details -
Simplify the code (no need for extra async function)
Signed-off-by: Frederic Ruget <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1eacde - Browse repository at this point
Copy the full SHA e1eacdeView commit details -
Get rid of v-html (and associated warning)
Instead fetchTracks() can be called from options(). Signed-off-by: Frederic Ruget <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f681942 - Browse repository at this point
Copy the full SHA f681942View commit details -
Add js/viewer-main.js* (necessary??)
Signed-off-by: Frederic Ruget <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce00b04 - Browse repository at this point
Copy the full SHA ce00b04View commit details -
Signed-off-by: Frederic Ruget <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1362f92 - Browse repository at this point
Copy the full SHA 1362f92View commit details -
Signed-off-by: Frederic Ruget <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 15d412e - Browse repository at this point
Copy the full SHA 15d412eView commit details -
Improve code readability -- use: for (item of items)
Signed-off-by: Frederic Ruget <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for be25019 - Browse repository at this point
Copy the full SHA be25019View commit details -
fixup! Improve code readability -- use: for (item of items)
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9f05ce1 - Browse repository at this point
Copy the full SHA 9f05ce1View commit details -
Fix issue with tracks not always being reactive
Property track was not properly declared, and sometimes was not reactive. E.g. closing and re-opening the player would make subtitles disappear. Fixing entails declaring tracks in the data() function associated with the Videos vue. Signed-off-by: Frederic Ruget <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4c9014 - Browse repository at this point
Copy the full SHA d4c9014View commit details -
Move fetchData() from template to methods
(Templates are not made to call methods.) Signed-off-by: Frederic Ruget <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01fc82e - Browse repository at this point
Copy the full SHA 01fc82eView commit details
Commits on May 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a9cfee1 - Browse repository at this point
Copy the full SHA a9cfee1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31cb81a - Browse repository at this point
Copy the full SHA 31cb81aView commit details