Skip to content

Conversation

@huchenlei
Copy link
Contributor

Resolves #1182

VHS uses custom /viewvideo endpoint to preview video.

This PR makes the queue sidebar also use the same endpoint to show preview video, so some tricky cases are handled the same way as VHS.

@huchenlei huchenlei merged commit 165604b into main Oct 9, 2024
@huchenlei huchenlei deleted the video_format branch October 9, 2024 16:42
@AustinMroz
Copy link
Collaborator

I was just looking into this, but the changes here are quite thorough. The only minor nitpick I see is that the (regretfully un-namespaced) /viewvideo endpoint always returns videos with a format of video/webm. The odd edge case where this could actually come up is browsers that have been compiled without support for prorpietary codecs. Since a codecs parameter isn't included here, I'm unsure if it actually creates a functional difference.

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

Successfully merging this pull request may close these issues.

[Bug] Unable to preview VHS video (gif can be previewed normally)

3 participants