Uncaught ReferenceError: Wii is not defined #1

Closed
opened 2013-02-27 02:02:35 -08:00 by nielvrom · 7 comments
nielvrom commented 2013-02-27 02:02:35 -08:00 (Migrated from github.com)

I always get the error "Uncaught ReferenceError: Wii is not defined".
What could cause the problem?

Thanks in advance!

I always get the error "Uncaught ReferenceError: Wii is not defined". What could cause the problem? Thanks in advance!
ryanmcgrath commented 2013-02-27 05:39:50 -08:00 (Migrated from github.com)

Can you show some example code? Others have run into this issue but it was usually with their setup. Happy to help debug.

Can you show some example code? Others have run into this issue but it was usually with their setup. Happy to help debug.
nielvrom commented 2013-02-27 06:39:45 -08:00 (Migrated from github.com)

Is it normal that the script doesn't work in a browser on a desktop? (for example: Google Chrome)

Is it normal that the script doesn't work in a browser on a desktop? (for example: Google Chrome)
ryanmcgrath commented 2013-02-27 06:41:56 -08:00 (Migrated from github.com)

Hey,

Ah, the goal was never really to run it on a browser, but there's nothing
that should prevent it from running on the browser. It's probably a check
or two failing somewhere regarding polling the other 3 wii remotes - the
primary one just fires based off standard DOM events...

If I get some time later tonight I could try and take a look, otherwise
you're welcome to fork and patch it. :)

  • Ryan

On Wed, Feb 27, 2013 at 9:39 AM, nielvrom notifications@github.com wrote:

Is it normal that the script doesn't work in a browser on a desktop? (for
example: Google Chrome)


Reply to this email directly or view it on GitHubhttps://github.com/ryanmcgrath/wii-js/issues/1#issuecomment-14176718
.

Skype: ryanmcgrathr
Twitter: http://twitter.com/ryanmcgrath/
Web: http://venodesigns.net/
GitHub: http://github.com/ryanmcgrath/

Hey, Ah, the goal was never really to run it on a browser, but there's nothing that should prevent it from running on the browser. It's probably a check or two failing somewhere regarding polling the other 3 wii remotes - the primary one just fires based off standard DOM events... If I get some time later tonight I could try and take a look, otherwise you're welcome to fork and patch it. :) - Ryan On Wed, Feb 27, 2013 at 9:39 AM, nielvrom notifications@github.com wrote: > Is it normal that the script doesn't work in a browser on a desktop? (for > example: Google Chrome) > > — > Reply to this email directly or view it on GitHubhttps://github.com/ryanmcgrath/wii-js/issues/1#issuecomment-14176718 > . ## Skype: ryanmcgrathr Twitter: http://twitter.com/ryanmcgrath/ Web: http://venodesigns.net/ GitHub: http://github.com/ryanmcgrath/
nielvrom commented 2013-02-27 06:44:57 -08:00 (Migrated from github.com)

I am testing with only one wii remote. Could that be the problem?

I am testing with only one wii remote. Could that be the problem?
ryanmcgrath commented 2013-02-27 06:47:31 -08:00 (Migrated from github.com)

In the Wii browser, or on the desktop?

On Wed, Feb 27, 2013 at 9:44 AM, nielvrom notifications@github.com wrote:

I am testing with only one wii remote. Could that be the problem?


Reply to this email directly or view it on GitHubhttps://github.com/ryanmcgrath/wii-js/issues/1#issuecomment-14177011
.

Skype: ryanmcgrathr
Twitter: http://twitter.com/ryanmcgrath/
Web: http://venodesigns.net/
GitHub: http://github.com/ryanmcgrath/

In the Wii browser, or on the desktop? On Wed, Feb 27, 2013 at 9:44 AM, nielvrom notifications@github.com wrote: > I am testing with only one wii remote. Could that be the problem? > > — > Reply to this email directly or view it on GitHubhttps://github.com/ryanmcgrath/wii-js/issues/1#issuecomment-14177011 > . ## Skype: ryanmcgrathr Twitter: http://twitter.com/ryanmcgrath/ Web: http://venodesigns.net/ GitHub: http://github.com/ryanmcgrath/
nielvrom commented 2013-02-27 08:48:01 -08:00 (Migrated from github.com)

on the desktop

on the desktop
ryanmcgrath commented 2013-02-27 08:55:30 -08:00 (Migrated from github.com)

Hey,

Well, the Wii remotes can't communicate with an arbitrary browser on the
desktop. The only way the library works to interact with Wii remotes is in
the browser on the Wii itself - it's a specific build of Opera that's
tailored to the console.

  • Ryan

On Wed, Feb 27, 2013 at 11:48 AM, nielvrom notifications@github.com wrote:

on the desktop


Reply to this email directly or view it on GitHubhttps://github.com/ryanmcgrath/wii-js/issues/1#issuecomment-14184490
.

Skype: ryanmcgrathr
Twitter: http://twitter.com/ryanmcgrath/
Web: http://venodesigns.net/
GitHub: http://github.com/ryanmcgrath/

Hey, Well, the Wii remotes can't communicate with an arbitrary browser on the desktop. The only way the library works to interact with Wii remotes is in the browser on the Wii itself - it's a specific build of Opera that's tailored to the console. - Ryan On Wed, Feb 27, 2013 at 11:48 AM, nielvrom notifications@github.com wrote: > on the desktop > > — > Reply to this email directly or view it on GitHubhttps://github.com/ryanmcgrath/wii-js/issues/1#issuecomment-14184490 > . ## Skype: ryanmcgrathr Twitter: http://twitter.com/ryanmcgrath/ Web: http://venodesigns.net/ GitHub: http://github.com/ryanmcgrath/
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: code/wii-js#1
No description provided.