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

Display multiple subtitles at once #5798

Closed
thsbrown opened this issue Feb 15, 2019 · 4 comments
Closed

Display multiple subtitles at once #5798

thsbrown opened this issue Feb 15, 2019 · 4 comments

Comments

@thsbrown
Copy link
Contributor

thsbrown commented Feb 15, 2019

Description

Native HTML5 seams to allow displaying multiple text tracks at once. However video.js emulated text tracks fail to allow doing this.

I have tried displaying multiple tracks programmatically using
toggleTracks: function() { let tracks = videoPlayer.textTracks(); for (let i = 0; i < tracks.length; i++) { const track = tracks[i]; if(this.showingTracks){ track.mode = 'showing'; continue; } track.mode = 'hidden'; } }

Results

Expected

I expect to see the subtitles overlaying each other allowing styling if necessary to move them to desired location.
See https://iandevlin.com/html5/track/index-multiple.html

Actual

Please describe what actually happened.
Only the first track set to showing is displayed (as documentation suggests)

Error output

If there are any errors at all, please include them here.

Additional Information

Please include any additional information necessary here. Including the following:

versions

videojs

7.4.1

@welcome
Copy link

welcome bot commented Feb 15, 2019

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.

@stale
Copy link

stale bot commented Apr 16, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the outdated Things closed automatically by stalebot label Apr 16, 2019
@gkatsev
Copy link
Member

gkatsev commented Apr 16, 2019

This is being fixed by #5817.

@stale stale bot removed the outdated Things closed automatically by stalebot label Apr 16, 2019
@stale
Copy link

stale bot commented Jun 18, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the outdated Things closed automatically by stalebot label Jun 18, 2019
@gkatsev gkatsev added confirmed and removed outdated Things closed automatically by stalebot labels Jun 18, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants