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

jwplayer transcode seek support. Remove video.js #268

Merged
merged 1 commit into from
Dec 16, 2019

Conversation

WithoutPants
Copy link
Collaborator

This change means that all video files are shown only in jwplayer, instead of showing video.js for non-streamable files. This change includes a local change to the jwplayer code, which is maintained in the hooks branch of my personal fork of the jwplayer project, available here: https://github.com/WithoutPants/jwplayer/tree/hooks

This version of jwplayer allows hooking into the getDuration, seek and getPosition methods to override them. The stash code was changed to make use of these hooks in the same way that it hooked into the same methods in video.js.

Since video.js is no longer used or required, it was removed.

@WithoutPants WithoutPants added the improvement Something needed tweaking. label Dec 16, 2019
@bnkai
Copy link
Collaborator

bnkai commented Dec 16, 2019

Tests fine for me.

Copy link
Collaborator

@Leopere Leopere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A-OK'd in #code-review on Discord

@Leopere Leopere merged commit f8762c4 into stashapp:develop Dec 16, 2019
@WithoutPants WithoutPants mentioned this pull request Feb 4, 2020
10 tasks
@WithoutPants WithoutPants deleted the jwplayer_transcode_seeking branch May 15, 2020 07:13
Tweeticoats pushed a commit to Tweeticoats/stash that referenced this pull request Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Something needed tweaking.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants