-
Notifications
You must be signed in to change notification settings - Fork 671
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
set 'video/quicktime' to 'video/mp4' for uploads #4495
Conversation
`video/quicktime` only plays in Firefox and Safari. `video/mp4` plays in Firefox, Safari, and Chromium-based browsers.
I suppose this merits some additional discussion. There are still Should this PR also be expanded so TL embeds |
Test be8a853: Left: Edge | Right: Firefox Vivaldi also a no-go on embedding |
I suppose it looks bad for something to indicate it should be embedding...and then not, though that's the existence I'm used to on iOS since it doesn't support video/audio embeds at all, only images. 😅 Edit: I don't think Firefox or Safari users should have to suffer just because Chromium doesn't support something...but that's just my opinion, I guess. |
Took me some time to understand what's happening here, so I want to check my understanding with you @xnaas: Currently on Because the External links served with -- Am I understanding everything you're trying to do here @xnaas? |
That is the route I went with this, yes, @itsjohncs. |
Thanks. I'm hesitant about trying to preview external Is there a way to hide the preview on the client once it's clear that the preview can't be loaded? |
All video embeds have this bug on mobile Safari, which could be up to 20% of users. 😜 I get the point, though. Would be nice for anyone who cares about Chromium to maybe bump Chromium issue #1120292 and mention this, dunno.
That, unfortunately, will require feedback from another maintainer. I wouldn't have a clue. 😅 (and per above mention of iOS issue, would love something for this) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we ought to remove the part of this PR that allows external links served with video/quicktime
to be served then. That seems like something that ought to be done only after we can handle broken embeds on the client.
If you'd like to pass the torch to someone else to implement that at some point: making an issue and hoping it attracts someone seems like a good enough route.
I "un-did" the 2nd commit, which contained the "offending" code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good to me. Though I didn't test this myself since it seems like the testing you've described is sufficient.
We're waiting to merge anything until after we make a release, but we'll merge this after that.
video/quicktime
only plays in Firefox and Safari.video/mp4
plays in Firefox, Safari, and Chromium-based browsers.