HTML5 gamepad API issues (on Mac) - html

I'm curious if anyone out there has been able to connect to the gamepad API with either a wireless xbox360 controller or a bluetooth PS3 controller on a Mac. As you can see below, I have both controllers connected and get nothing showing in the console. Yes, I've hit the buttons to make sure to get the handshake. I just wanted to make sure that I'm not missing something completely silly before going and purchasing a wired 360 controller.

I'm using a PS3 controller via bluetooth, on mac chrome, confirmed here: http://html5gamepad.com/
What OS version / chrome version are you on?

Related

ESP8266 Captive Portal and jump to "normal" Browser

I like to run some esp8288 with some custemizing or controles in AP mode.
To make it easyer to use I like to use the captive portal function to make the access easyer for the user.
So the after connecting the captive portal will pop up e.g. on Iphone and it shows only one link like "open on Browser".
I already learnd that the portal app is only let you use a link to e.g. safari if the server sends a webpage like:
<HTML><HEAD><TITLE>Success</TITLE></HEAD><BODY>Success</BODY></HTML>
but I was not able to find a way how this is possible.
Does somebody already managed that on a ESP8266. I already tryed to analyse pages from T-Online or vodafone where this is possible, but without an result.
Jens
The WiFiManager library, surtenly, does not provide such an option to open full (not mini) browser, but just to save WiFi credentials and turn WiFi STAtion mode.
Would be nice to see the WireShark sniff of the T-Online and/or Vodafone captive logins to see how they done.
Actually the <TITLE>Success</TITLE> response You mention, tells the mini-browser its already the Internet connection (not captive portal) and it can close

chrome settings disabled for microphone, camera and location for a website

I am developing a website which requires camera and microphone for communication.
The site uses Twilio communication for audio/video calls.
Twilio device setup is failing and is giving an error as:
Twilio.Exception: twilio.js 1.3+ SDKs require WebRTC/ORTC browser support. For more information, see https://www.twilio.com/docs/api/client/twilio-js. If you have any questions about this announcement, please contact Twilio Support at .
To which I tried to debug and found that for my website in Google settings, microphone, camera and location settings are set to Block and is Disabled.
I have tried,
Resetting the Chrome browser
Upgrading to latest version of Chrome
Re-installing the Browser
But to no success.
This is how the chrome settings looks like:
Note: This seems to happening on 2 of my laptops, although on some machines it is working properly and the settings to these items is Allow in those machines. I have a customer demo and will have to use my laptop for it.
Any help is highly appreciated!
The getUserMedia API which allows access to the camera and microphone requires a secure context, i.e. https. See this blog post for background information. Recent versions of Chrome do not make getUserMedia available on http anymore.
Switch to https which should work out of the box on Heroku.

Equivalent of Chrome Native Messaging in Edge

NPAPI plugins are not supported on Microsoft's new browser Edge.
Google Chrome developed Chrome Native Messaging in order to interact with an executable installed on the computer provided its link on the registry (for Windows OS).
Firefox seems to want to support Chrome extensions in the future, and we can assume the browser will eventually support Chrome Native Messaging as well.
Internet Explorer will continue to support NPAPI until 2020 (from what I heard).
For Edge, no solution has yet been developed (or is there one?)
I'm willing to work with URL handlers (myapplication://mydata) in order to compensate for this lack. Is there a better approach so far?
https://msdn.microsoft.com/en-us/library/aa767914%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
My intent is to communicate through an HSM installed on the computer, and use the Crypto API interface, or a PKCS#11 driver in order to sign data and send back the result to the browser. With a chrome native messaging extension, it actually works well. With a URL Handler, I will be able to send data to the executable, but I won't get the result, so I will have to think to post the result to a web specific URL, but this can result in a security hole to my perspective.
Thanks in advance,
EDIT : 2017-01-14 : The following link shows the progress of the adaptation of the Microsoft Edge Extension API :
https://developer.microsoft.com/en-us/microsoft-edge/platform/documentation/extensions/api-support/extension-api-roadmap/
EDIT: as Beckyang posted recently, there is a link where you can vote for the feature to be developed in priority, here :
https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/13612338-native-messaging
After reading some recent news:
https://github.com/david-sabata/web-scrobbler/issues/678
http://www.theverge.com/2015/7/30/9072271/microsoft-windows-10-updates
http://news.softpedia.com/news/microsoft-wants-google-chrome-extensions-to-work-on-edge-with-zero-work-to-do-488282.shtml
It seems like the adaptation of the initial Chrome extension will be possible as soon as Microsoft has implemented a "Chrome-Extension-like" API. So, eventually, It won't be necessary to develop something completely new.
The Native APIs are supported in Windows 10 Insider Preview Build 15002.
Native messaging in Microsoft Edge.

Unable to access playstore through wifi on any of the android devices connected to it

I am unable to access Google Play store on my WiFi. I have tried this with a number of android devices and it doesn't work on any of them. However, if I connect them to the data connection, everything works fine. I can browse the web perfectly fine on the phone. Only play store doesn't start. Can anyone give a solution?
Happened exactly like that to me suddenly. Google Play Store on my phone worked fine with AT&T mobile data but stopped working on Time/Warner wifi. I went into Android application manager, found Playstore, and tapped the button to uninstall the most recent update of Playstore. It began working again. That action also clears the cache & data so that alone may work.

Google Chrome Client Certificate Popup

I'm implementing a mutual authentication for my client in order to solve not having to continually whitelist some of the agencies with a dynamic ip. The process works fine in all browsers that I've tried in the Windows environment (Windows 7).
The problem is that there is a popup for every time that the user goes to the site. On most browsers, this is a one time occurrence, when you first go to the site for the day. On Google Chrome, however, the popup occurs on what appears to be every POST/GET request. I found how to disable the popup for IE and FF with this link: http://docs.threerings.org.uk/wiki/Certificates_without_prompting, but there is still the problem with Chrome.
I've tried to install the certificate into the Trusted Root Certification Authorities, but I get an error message, "The import failed because the store was read-only, the store was full, or the store did not open correctly.".
If anyone has an idea on what I can do to get around the pop-up for Chrome, it would be greatly appreciated.
This is what you're looking for:
http://www.chromium.org/administrators/policy-list-3#AutoSelectCertificateForUrls
I could tell you how to do it exactly, but my honest opinion is that this is something you have to work out yourself. You need to know what is going on because you are more than likely to run into bugs (not bugs per-se but some undesired or unwanted results).
I have to admit that Google Chrome and Chromium are great browsers, but when it comes to client certificates, they have a lot of improvements to be made.
Just some extra info on this that may help people.
The first part references the CFBundleIdentifier which you can find in the Contents folder then info.plist. Click you Application and then show package contents then you should see it.
So I had to do this for Chromium for Tizen debugging below worked obviously use your CN name.
defaults write org.chromium.Chromium AutoSelectCertificateForUrls -array-add -string '{"pattern":"*","filter":{"ISSUER":{"CN":"Entrust Certification Authority"}}}'