360 script

I am trying to get 360photo like Facebook working on a website…
I am trying to ad a simple script in a bloc… that should embed an external hosted photo / player.
I could do it in the HTML after export but I can’t get it to work. Google advices not to embed but host it on your own server.
It’s becomming a very hot item and my client produces aerial 360’s i can’t say mmm nope can’t do lol.
The images are to big to upload in blocs …
maybe instead of blocking a bigger picture, it would be nice if it’s just a warning you can ignore…

So can someone help me with explaining how I can add a simple script in blocs or the HTML after export?

I tested the script in w3schools and didn’t give any problems.

Best regards