User talk:Mk II
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)
- Yes, a lot of interesting stuff in there! I only have a basic working knowledge of C++ but i reckoned there should be useful information like structures and public variables. Mk II (talk) 13:25, 4 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)