Hi,
I have an old website with a flash animation on the front page (.swf). Because flash is coming so obsolete I decided to convert the .swf to html5 with an online converter. The HTML5 works great if I open it in the browser but I can’t find a way to display it in a page on wordpress. The size of the file is 2MB.
I tried to copy/paste the source code in a “block of code” with the advanced layout builder or in a block of text but without success.
How can I make this work ?
Hey Oby4455,
There are 2 scripts used there, the long one and this one:
<script src="https://www.flash-to-html5.net/js/sprite.js"></script>
Try to save the long script inside a file and call it for example flash_animation.js, then try to call both codes using code block. Let us know if it helps :)
Best regards,
Nikko
Thank you for your answer! I have tried but nothing happens on the page… Do you have any other solution? Thank you so much for your help!!
Hi,
I just see code when I open your html5 file, but where is the animation?
I guess in your case you need to search for a plugin with such a function.
Best regards,
Andy