Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Fix iOS safari video thumbnail and limit video support #374

Merged
merged 3 commits into from Apr 12, 2021

Conversation

sddioulde
Copy link
Contributor

Description

Fix iOS safari video thumbnail and limit video support

Dragons

Is there anything the reviewer should be on the lookout for? Are there any dangerous changes?

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide repro instructions & any configuration.
Tested locally

]
const OPENSEA_AUDIO_EXTENSIONS = ['mp3', 'wav', 'oga']

const SUPPORTED_VIDEO_EXTENSIONS = ['webm', 'mp4', 'ogv', 'ogg', 'mov']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just read a bit more into this
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video

it sounds like not all browsers support the same things and you can use multiple elements to fallback between formats. Since the API results are so hairy, i think what we have here is good

src/containers/collectibles/helpers.ts Show resolved Hide resolved
@sddioulde sddioulde merged commit 13401e7 into master Apr 12, 2021
@sddioulde sddioulde deleted the sd-coll-video-support branch April 12, 2021 18:03
sliptype pushed a commit that referenced this pull request Feb 11, 2022
* Limit collectible video formats supported

* Fix iOS video inline autoplay

* Add comments

Co-authored-by: Saliou Diallo <saliou@audius.co>
sliptype pushed a commit that referenced this pull request Feb 12, 2022
* Limit collectible video formats supported

* Fix iOS video inline autoplay

* Add comments

Co-authored-by: Saliou Diallo <saliou@audius.co>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants