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 avidesk · Aug 24, 2012 at 01:23 AM · webplayerembed

Unity Webplayer Embed in Wordpress Page

I'm trying to embed a webplayer into a Wordpress page using the HTML editor. I am confident that I have the code correct, but it always shows the "Install Unity WebPlayer" button, even though it is already installed.

I've also tried using the Wordpress Plugin provided by Unity, and the updated version for Unity 3 created by Adam Zwakk. I get the same result.

Has anyone had success doing this?

Comment
Add comment · Show 3
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 Elarith · Aug 24, 2012 at 04:28 AM 0
Share

Hello Avidesk. I've never tried to do this personally, but I have seen it done.

http://redknightgames.com/category/games/

This site is using wordpress, and their game works fine embedded within it. I'm sorry, but I don't know how they did it, or if this is what you're after. (Also, I'm not sure whether I should have posted this as an answer or a comment So I went with comment)

avatar image fafase · Aug 24, 2012 at 05:10 AM 0
Share

ou might need the raw Html pro version. There is already a raw html plug in for free, but I do not how much html you can modify.

avatar image Krahgnatokz · Oct 16, 2014 at 05:45 AM 0
Share

What does he mean with "Style Sheets" in the UnityDog code?

4 Replies

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

Answer by avidesk · Aug 24, 2012 at 01:17 PM

I tried the Wordpress plugin for Unity 3 one more time and got it to work, although it does have an incorrect line of code that makes height=width, regardless of what you use for a height value. To fix that problem you need to replace:

 unityObject.embedUnity("unityPlayer", "'.substr($tUOParams[0],5,-1).'", '.substr($tUOParams[1],7,-1).', '.substr($tUOParams[1],7,-1).');

with:

 unityObject.embedUnity("unityPlayer", "'.substr($tUOParams[0],5,-1).'", '.substr($tUOParams[1],7,-1).', '.substr($tUOParams[2],8,-1).');
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
6

Answer by Nabeel Saleem · Nov 24, 2014 at 10:48 AM

Embed without any plugin the easiest way I found :) http://unity3diy.blogspot.com/2014/11/embed-unity3d-game-on-wordpress-web.html

Comment
Add comment · Show 2 · 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 MoliCat · Nov 24, 2014 at 10:50 AM 2
Share

Thanks :) @Nabeel

avatar image Jennifer1 · Dec 08, 2014 at 11:32 AM 0
Share

Do you have any way to use it in Internet explorer ?

avatar image
0

Answer by Toby-Grierson · Aug 24, 2012 at 01:37 PM

I did it. I posted here

I used the Wordpress plugin. I encountered this problem and it turned out it was using the wrong path; the wordpress page might not be pulled from the same path where your file is. I typed code like so:

`[WP_UnityObject src="http://www.noblemuffins.com/demos/synergyBladeWeb.unity3d" width="680" height="510" /]`

With the full path into the Wordpress editor. No HTML or JS or nothing.

Comment
Add comment · Show 2 · 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 Exxon · Apr 09, 2013 at 08:35 AM 0
Share

I encountered the same issue when opening it in chrome. For me it turned out being i had "https" ins$$anonymous$$d of "http" in the src path

avatar image frogsbo · Jan 20, 2014 at 09:19 PM 0
Share

CHRO$$anonymous$$E FROZE TOO

avatar image
0

Answer by frogsbo · Jan 20, 2014 at 09:08 PM

http://forum.unity3d.com/threads/182372-UnityDog-Wordpress-Plugin/page2

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

16 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How do I embed a webplayer in a site? 2 Answers

Multiple Unity web players embedded on the same page 1 Answer

Embed swf within Unity Webplayer 0 Answers

Is there a way to get the page that my WebPlayer is embedded into? 2 Answers

HTTP Referer header and Unity Web Player (Internet Explorer 11) 0 Answers


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