Legacy Documentation: Version 4.6
Language: English
Example: Flash Vars
HTML code to load Unity content

Web Player Deployment

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

When building a Web Player, Unity automatically generates an HTML file next to the player data file. It contains the default HTML code to load the web player data file.

It is possible to further tweak and customize the generated HTML file to make it fit better with the containing site’s design, to add more HTML content, etc. The following pages discuss the related subjects in depth:

Example: Flash Vars
HTML code to load Unity content