In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

User talk:Mk II

From WiiUBrew
Revision as of 21:37, 3 December 2012 by Ahigerd (talk | contribs)
Jump to navigation Jump to search

Where do you get wiiu.videoplayer.setViewMode()? Did you just try that experimentally or something? Because that method isn't exposed to introspection. Somehow I doubt it's as simple as that. Ahigerd (talk) 04:00, 3 December 2012 (CET)

I took a peek at the Wii U browser source files (they're open source and available on the japanese Wii U website) And we know the videoplayer has two states, windowed (with controls) or full-screen. As far as i could tell, setViewMode() accepts a constant long parameter (probably a DEFINE) in the range of 0 to 1.

viewMode pertains to whether the video is shown on the GamePad or on the TV, not windowed/fullscreen. I've determined this on the actual system; I just haven't documented it yet. (Aside: Use : to indent replies and four ~ to sign.) Ahigerd (talk) 19:00, 3 December 2012 (CET)
By the way, where's the link to the source code? I'm assuming it's only the stuff that modifies the WebKit sources (since those are LGPL) and not the WHOLE browser. Ahigerd (talk) 19:06, 3 December 2012 (CET)
Never mind. Found it on my own. Some really useful stuff in here. I'll update the page tonight. Ahigerd (talk) 20:37, 3 December 2012 (CET)