x


Plugins in a Web Player

Hi guys,

I was trying to add plugins to a web based player and according to the unity manual. It says that plugins disabled when building a Web Player for security reasons. Is there any work around for this? I have an external game controller and I want to use that in my web based game. I would like to know if this is possible?

Thanks in advance! Any help would be greatly appreciated.

Regards, Deepak.

more ▼

asked Jun 07 '10 at 06:52 AM

deepak gravatar image

deepak
4 2 2 2

(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

No, there is no way around it - if we allowed people to run arbitrary code in the web player, they could implement any kind of malicious code using the web player, so we cannot allow it. What is the controller you need to support?

more ▼

answered Jun 07 '10 at 11:19 AM

jonas echterhoff gravatar image

jonas echterhoff ♦♦
9.8k 7 23 104

(comments are locked)
10|3000 characters needed characters left

Hi Jonas,

Thanks for your reply. We have designed our own controller which is interfaced as USB HID device. Hence we need to read the HID report data from USB to play the game...And since Unity does support the USB library, we have to use a C# code which is a USB HID library to open the HID port, read data, pass to Unity...and such a C# project code has to be made into a plugin...

for this case, any way we could do it...we do want to publish our game into browser

more ▼

answered Jun 08 '10 at 08:20 AM

deepak gravatar image

deepak
4 2 2 2

(comments are locked)
10|3000 characters needed characters left

Jonas, is there any chance of having the Web Player do what Adobe Flash does with the Microphone or the iPhone does with GPS readings, that is, give the user a popup whether they want to allow access to the USB device?

more ▼

answered Jul 15 '10 at 05:38 AM

kdemarest gravatar image

kdemarest
1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x831
x408
x21
x1

asked: Jun 07 '10 at 06:52 AM

Seen: 2291 times

Last Updated: Jun 07 '10 at 06:52 AM