maxwellito / vivus-instant

Single page app to create independent stroke animated SVGs
332 stars 43 forks source link

SVG not showing on mobile #14

Open UneMinute opened 5 years ago

UneMinute commented 5 years ago

First, thank you for what you've done, it's awesome! I've tried including the svg file in an img element, then the code straight into my html file but I can't seem to make it work on mobile (it doesn't show up at all). I'm afraid I don't know much about svgs, anything I should look at to understand what I am doing wrong? Thank you!

maxwellito commented 5 years ago

Hey! I'll need more details to be able to help you. Like your mobile browser, the SVG you're animating. If you could share your page it would be very helpful :)

UneMinute commented 5 years ago

Hey, thank you so much for your quick reply! Here is the page. It's a friend's mobile, so I'm not quite sure about the browser but I think it is Edge.

maxwellito commented 5 years ago

On Android or iOS? Because on iOS its just wrapper for Webkit and it should be ok. About Android, I just installed it to check, I faced no issues. The animation was smooth.

UneMinute commented 5 years ago

On Android sorry. Could it be that his version is just too old? I'll add the wrapper for iOS, thank you!

maxwellito commented 5 years ago

Maybe but I doubt it. Maybe a plugin instaled in Edge if its possible. About iOS you don't need to do anything. I was just saying that no matter which browser you're using, its still the WebKit engine. iOS doesn't give the choice. This is why all iOS browsers (Chrome, Edge, Firefox..) are a wrapper on Webkit :)

UneMinute commented 5 years ago

Oh ok, sorry about that! I've asked and it works well on any other smartphone indeed, so.. I'll search and I'll let you know if I find out what's wrong! Thank you so much for your help and your creation, a lot! :)