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

Whammy.js encode webp image array in safari fails #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

imalhasaranga
Copy link

Whammy.js can encode webp image array to webm format even in the browsers that does not support webp image format.

simply using a flash object we can get an array of webp, or using libwebp.js we can convert other image format to webp and then use whammy.js to encode those images to webm. this workaround is working on all the latest browers except safari. with this fix even though safari can't playback webm format, webm will be created success fully

Here is another effort to make whammy.js cross browser compatible
https://github.com/imalhasaranga/whammy-cross-browser-demo

…ich does not support webp, but atob function which uses inside webp is not cross browser compatible so whammy.js break in safari, this fix added
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