apng-js
apng-js copied to clipboard
Simple implementation
Hi there! Thanks so much for making this library!
I'm looking for a drop-dead simple way to use this library, but it appears to be wrapped in Webpack and importing multiple files.
Do you have a completely compiled file, (maybe even minified) that I can pop into my site and it will just target the png on the page.
I'm trying to pause a png after 5 seconds and/or click.
Any help would be great. I've read your docs about vanilla implementation, but the file just won't play nice since they require imports.
I have no separate standalone build (for now) but there is a workaround. You can use the compiled script from the npm (https://unpkg.com/[email protected]/lib/index.js). Add it to the page via
Thanks for the reply. I saw you mentioned this JS in the documentation. What is the most basic code I use with this to target a generic png file on my page? Thanks again for the quick reply!
@davidmz how we can build our own js? any tutorial/guide/link will be helpful