parallax
parallax copied to clipboard
plugin stuck on Canvas load() function in Firefox
In Firefox (current version 66), sometimes, usually when image is already in the cache, effect was not working.
Looking into why, i discovered that FF has oncanplay as null on all elements instead of undefined.
Is there another way to determine if it is image or video or other elm, maybe .tagName