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

Update Allowed Blob Mimetypes #672

Merged
merged 4 commits into from
Jul 18, 2022

Conversation

Thumbscrew
Copy link
Contributor

@Thumbscrew Thumbscrew commented Jul 11, 2022

Description

Adds additional MIME-types to bring Cinny in line with matrix-react-sdk, but ultimately I just wanted to be able to play .mov (video/quicktime) files in Cinny.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Preview: https://62d4c2613aae825088e7e0f5--pr-cinny.netlify.app
⚠️ Exercise caution. Use test accounts. ⚠️

@kfiven
Copy link
Collaborator

kfiven commented Jul 17, 2022

Doesn't look like it plays .mov files now.

@Thumbscrew Thumbscrew marked this pull request as draft July 17, 2022 16:04
@Thumbscrew Thumbscrew force-pushed the support-additional-mime-types branch from 7d83193 to 72b5864 Compare July 17, 2022 17:53
@Thumbscrew Thumbscrew marked this pull request as ready for review July 17, 2022 17:54
@Thumbscrew
Copy link
Contributor Author

Thumbscrew commented Jul 17, 2022

Doesn't look like it plays .mov files now.

I tested in Firefox originally and it worked as is, but it looks like it didn't work in Chromium-based browsers. I've added additional commits to fix this but does feel like a bit of a hack...

@ajbura
Copy link
Member

ajbura commented Jul 18, 2022

Partially fixes #369

@ajbura ajbura merged commit e6f395c into cinnyapp:dev Jul 18, 2022
@Thumbscrew Thumbscrew deleted the support-additional-mime-types branch July 18, 2022 16:34
NovaAndrom3da pushed a commit to NovaAndrom3da/neocinny that referenced this pull request Nov 23, 2023
* update allowed mimetypes

* fix .mov files failing to play in Chromium

* add check for  before passing to FileReader

* add missing semi-colon
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.

None yet

3 participants