Skip to content

Update for MediaGoblin >= 0.9.0 with multi-resolution video. - #2

Open
BenSturmfels wants to merge 1 commit into
ayleph:masterfrom
BenSturmfels:multi-res-support
Open

Update for MediaGoblin >= 0.9.0 with multi-resolution video.#2
BenSturmfels wants to merge 1 commit into
ayleph:masterfrom
BenSturmfels:multi-res-support

Conversation

@BenSturmfels

Copy link
Copy Markdown

This approach isn't perfect, since the administrator could have defined custom resolutions in the configuration, but this at least provides a minimal level of support for default configurations.

Also fixes the double-forwardslash in URLs. A more robust approach would be to use urllib.parse.urljoin.

Also fixes the double-forwardslash in URLs. A more robust approach would be to use `urllib.parse.urljoin`.

This is a little bit of a lash-up, since the administrator could have defined custom resolutions in the configuration.
@BenSturmfels

Copy link
Copy Markdown
Author

Hi Andrew, I'm just tidying up and figured it might be good to include this small change in your canonical version of mediagoblin-embedcode if you're willing, so that others might find it, since they'll likely find your repo before my fork.

If you'd prefer, we could also adopt this repo into the project repositories at https://git.sr.ht/~mediagoblin/.

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.

1 participant