I have made a website, and i put my unity game on there, but I have the problem where it automatically starts up and plays, is there any way to change that?
If you used the default template for WebGL then your index.html page has JavaScript code that looks something like this on it: Code (CSharp): <script> var unityInstance = UnityLoader.instantiate("unityContainer", "Build/webgl.json", {onProgress: UnityProgress}); </script> So if you don't want to load the game up right away, I guess the way to do that would be to delay running code like that until something else happens on the page.
ok, so is there i way i can make it like youtube vids, if i click on it, then that line of code runs?
Yes there is a way. The question you're asking is basically "How do I make an interactive website". I'm not a web developer myself, but you could go look up tutorials on how to make a button on a web page that runs JavaScript code. Once you can do that, it should be simple to just throw that JavaScript snippet from the Unity template into your button handler code.