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

How to insert a subtitle link? #14

Closed
Axelaredz opened this issue Oct 15, 2016 · 2 comments
Closed

How to insert a subtitle link? #14

Axelaredz opened this issue Oct 15, 2016 · 2 comments

Comments

@Axelaredz
Copy link

hi, prompt and have the opportunity to insert into the subtitles link?
..and highlight the subtitle text with the cursor like a regular text

@SunnyLi
Copy link
Owner

SunnyLi commented Oct 16, 2016

hello,

prompt and have the opportunity to insert into the subtitles link?

I think you want to ask the user to provide subtitle link and then load it?
Well, it doesn't have this feature, but it should be possible to have a prompt external to videojs but have some logic to reinitialize the videojs player with updated subtitle link inserted into the plugin config.

highlight the subtitle text with the cursor like a regular text

You can do it by removing pointer-events: none; in .vjs-ass class here or just overwrite the style with

.vjs-ass {
  pointer-event: auto
}

@SunnyLi
Copy link
Owner

SunnyLi commented Jan 9, 2017

Seems like I've misunderstood what you meant by subtitles link
but it looks like you've already got your answer at Arnavion/libjass#82.

@SunnyLi SunnyLi closed this as completed Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants