Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Rydrako · Nov 17, 2011 at 02:34 AM · webplayerpublishingurlgoogle sites

How do I find a web player URL?

Hello, I'm trying to put my web player build on my website made with Google sites. There's already a gadget for it but it asks for my web player URL. So how do I find this? I know I can just open the html file and it would have a file location on the URL box but I tried that but it didn't work out.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by jahroy · Nov 17, 2011 at 02:44 AM

This tells you the path to your unity3d file relative to the html file:

  • http://unity3d.com/support/documentation/ScriptReference/Application-srcValue.html

This tells you the URL of the html file referencing your unity3d file:

  • http://unity3d.com/support/documentation/ScriptReference/Application-absoluteURL.html

This is where you can find other info like this:

  • http://unity3d.com/support/documentation/ScriptReference/Application.html

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Rydrako · Nov 17, 2011 at 04:07 AM 0
Share

Wait...so how do I tell my application's url?

avatar image jahroy · Nov 17, 2011 at 04:58 AM 0
Share

What do you mean by your application's URL?

I would think Google would be interested in the URL to your html file.

That would depend on where you've placed it on your webserver.

avatar image Rydrako · Nov 17, 2011 at 01:47 PM 0
Share

Oh hey look! You can make your own gadget! Anyone know how to code a working web player that I can assign my own game to?

avatar image
1

Answer by Lancemaker_ · Nov 17, 2011 at 03:32 PM

there is an easy non pro solution. You can use Dropbox to put it on the web, and then paste the public link on your web page. Its very easy to use, and its a placeholder for a more elaborate solution.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by vikingfabian-com · Jan 19, 2016 at 06:27 AM

My solution to get the application URL, not including the .unity3D file. (I tried removing Application.srcValue from Application.absoluteURL, but gives weird result if there are special chars in it)

 public static string Url()
 {
     string result = Application.absoluteURL;
 
     //removing "/MyGame.unity3D" 
     for (int i = result.Length - 1; i >= 0; --i)
     {
         if (result[i] == '/')
         {
             return result.Remove(i);
         }
     }
 
     return "";
 }
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Can i use a random website for a url? 1 Answer

Curl Error 6 : Could Not Resolve Host on Windows Universal 0 Answers

what does publisher url mean 1 Answer

Using VideoPlayer to stream a video from a website 3 Answers

"UriFormatException: Absolute URI is too short" - Error prevents me from building my project 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges