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

Add seo url for webm videos to circumvent a safari issue #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rs-amp
Copy link

@rs-amp rs-amp commented Nov 26, 2021

Some versions of safari are unable to play webm videos if the url does not end in a .webm extension. With videos served by amplience, this issue was partially present, as the video would fail to load normally, but if you had visited the video before and cached the 302, it would work (as the redirect target has the extension .webm).

This PR adds a step after fetching set data where it enriches webm videos in the set to add an seo url, in the format profile.webm. This seems to allow the video to load on safari without needing to visit and cache the 302 redirect.

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