How to use mouselockAPI? - javascript

I have Firefox nightly, Opera next, and Google Chrome, but I can't test the mouselock API on them (why?). I downloaded a special version of FF nightly, which should support it, but it also doesn't support.
May be an error with my computer?
Thanks in advance,

https://developer.mozilla.org/en/API/Pointer_Lock_API
The Pointerlock isn't supported in any browser.

Related

Is there types for MS Edge as there is for Chrome?

Google Chrome has #types/chrome for extension developing. Is there same thing for MS Edge? I find some mismatches between chrome and edge browsers and was hoping that types could help a bunch.
You don't need it. Edge is based on Chromium, and the same Chromium extension can be submitted to the Edge extension store.
https://learn.microsoft.com/en-us/microsoft-edge/extensions-chromium/
If you've already developed an extension for another Chromium-based browser, you can submit it to the Microsoft Edge Add-ons website. You don't need to rewrite your extension, and must verify it works in Microsoft Edge. When you migrate an existing Chromium extension to other Chromium browsers, make sure the same APIs or alternatives are available for your target browser.
For compatibility, make sure the API you use is supported by Edge (Supported APIs for Microsoft Edge extensions)

getByteFrequencyData not working for live streams in Safari

For a live demonstration see: http://codepen.io/rrorg/pen/WxPjrz?editors=0010
When playing a HTTP audio live stream in Safari, the analyser's getByteFrequencyData fills the Array with zeroes.
In all other browsers this works as expected, and Safari has no problems correctly populating the frequency data for static files.
CORS headers are correctly set, the Apple documentation mentions no special cases.
You're not going to like this: Safari does not support createMediaElementSource.
Source: http://caniuse.com/#feat=audio-api ,
It's due to not support for: http://caniuse.com/#feat=stream
Solution? ...adobe flash :(
Latest Safari nightly webkit seems to have solved this but that doesn't solve the problem for now :/

How good is support for createMediaElementSource() in Safari?

I am having a difficult time finding information about createMediaElementSource() support. The mozilla MDN shows support starting with version 6.0 but caniuse.com states that safari apparently does not support it.
So what is true? Does safari support this function? If yes, starting from which version?
I ran the MDN test http://mdn.github.io/media-source-buffer/ on all versions of Safari available to me on saucelabs (v6 to v9) and it did not work on any of those versions.

Webkit or W3C Notifications in Chrome for Android?

I'am trying to use html5 notifications for a web app.
It's working in Chrome 26 (on OSX) with both webkitNotifications and Notification (W3C).
I've read that webkitNotifications is also supported in Chrome for Android here and here but I can't make it works.
I've simply try to debug both Notification and window.webkitNotifications objects to see if it's implemented. Chrome don't find this two objects.
I need some help : is caniuse.com wrong or is it me ?
Thank you ! :)
Quick Answer: It is not supported yet on Chrome for Android and it hasn't been in the past either.
Just for clarity for other readers the current revision of Chrome is 27, and it is not supported in the this version or versions prior.

File API: What browsers support the slice method?

What is the current support for the slice method?
Currently Chrome 6+, FF 4+:
Firefox 3.6+ (partial file support, but not .slice() yet)
Firefox 4+ (full file support, though I'm unsure which beta this was added in)
Chrome 6+ (full file support)
Of course this list will become outdated, hopefully soon. There's a test available at html5rocks.com for others to test their browser as new releases happen as well.

Categories