- Home /
How to open scocial media link on browser unity game ?
hi, i made some social media buttons for my unity game, i build the game with webgl for itch.io, but when i click buttons, youtube button for ex, it tells me "youtube doesn't autorise connection". SEE the picture in the code section i used Application.OpenURL(// youtube Url); please what can i do?
2019-08-24-21.png
(84.5 kB)
Comment
Answer by Mat_os · Aug 25, 2019 at 07:19 PM
Hello. I tried to use this:
Application.OpenURL("https://docs.unity3d.com/ScriptReference/Application.OpenURL.html");
But i have same problem too :c
How about using this:
https://answers.unity.com/questions/1133713/webgl-open-url-in-new-tab.html
i ended up with deleting the button :/ they link they provided doesn't work, but maybe i'll use Application.ExternalEval , or i'll just leave it since it's not a breathtaking game, you can check it if you want :) https://munnir.itch.io/night-invasion