Richard Davey
377cc6b37b
iOS and any browser identifying as AppleWebKit
will now set the Device.es2019
flag to true
. This causes Phaser to use the native array Stable Sort. This fixes an issue where overlapping particles could flicker on iOS. Fix #6483
2023-09-07 16:22:39 +01:00
Richard Davey
0d35651e66
Removed 'hasRequestVideoFrame' and added 'getVideoURL' function
2023-04-11 17:01:42 +01:00
Richard Davey
bde8bf3e11
Device.Video.hasRequestVideoFrame
is a new boolean property that tells if the browser support the new requestVideoFrameCallback
API, or not.
2023-04-11 01:34:13 +01:00
Richard Davey
bd38c951c9
Update Browser.js
2023-01-16 15:42:22 +00:00
Richard Davey
468bf7821d
Updated copyright year
2023-01-02 17:36:27 +00:00
Artem Syzonenko
4a0c786fb9
fix the bug when Edge and Opera browsers are not defined
2022-12-27 13:22:25 +02:00
Richard Davey
9688698954
Added stableSort and fixed final canvas read warning in Chrome
2022-10-04 17:08:09 +01:00
Richard Davey
cf397b7c13
Added missing safariVersion and new es2019 test
2022-09-21 17:35:47 +01:00
Richard Davey
f96986a2e7
Remove console.log
2022-08-18 18:24:08 +01:00
Richard Davey
7c4eff9251
The CanvasFeatures
tests and the TextureManager _tempContext
now specify the { willReadFrequently: true }
hint to inform the browser the canvas is to be read from, not composited.
2022-08-18 18:01:28 +01:00
Dmitry Omelchenko
901dc31880
add second possible flac mime
2022-07-27 15:49:39 +03:00
Dmitry Omelchenko
ef5432df57
add "flac" sound type support
2022-07-27 15:45:33 +03:00
Richard Davey
e0f2a6585a
The Device.Audio
module has been rewritten to use a new internal CanPlay
function that cuts down on the amount of code required greatly.
2022-06-28 16:53:07 +01:00
Richard Davey
c754bb9133
Removed un-needed characters
2022-06-27 17:53:04 +01:00
Richard Davey
59fbcc5ca3
Updated copyright year
2022-02-28 14:29:51 +00:00
Richard Davey
8ec99f9224
Use cached reg ex
2021-11-01 17:34:13 +00:00
Richard Davey
176a95336e
The Video
config will now detect for x-m4v
playback support for video formats and store it in the Video.m4v
property. This is used automatically by the VideoFile
file loader. Fix #5719
2021-11-01 17:33:44 +00:00
Richard Davey
c9b68c167a
Bail out of Device tests if running inside a Web Worker
2021-01-19 09:40:59 +00:00
Richard Davey
4cefe70ff0
Since iOS 13, iPads now identify as MacOS devices. A new maxTouchPoint check is now part of the Device.OS
tests, stopping iPads from being flagged as desktop devices. Fix #5389
2020-11-09 17:15:43 +00:00
Richard Davey
4d7ff23159
Device.Audio.wav
now uses audio/wav
as the canPlayType
check string, instead of audio/wav; codecs="1"
, which should allow iOS13 to play wav files again.
2020-10-05 17:12:09 +01:00
Richard Davey
7d1ca6815f
Lint fixes
2020-07-13 14:16:52 +01:00
Richard Davey
ff65e69cd1
Changed copyright date to 2020
2020-01-15 12:07:09 +00:00
Richard Davey
e8e95d6a6c
Updated docs
2019-10-04 11:13:11 +01:00
Richard Davey
edf6375cea
Device.Video property name changes to normalize with Audio
2019-10-03 14:13:56 +01:00
Richard Davey
c91ed91ce3
License link update
2019-05-10 16:15:04 +01:00
Richard Davey
53c63fa190
Removed all references to Cocoon.
2019-02-15 10:38:57 +00:00
Richard Davey
27004061f5
Fixed jsdocs
2019-02-12 12:04:35 +00:00
Richard Davey
9709d850c4
Added suffix support, removed div creation, added Safari 5.1 hack and active property.
2019-01-23 00:12:26 +00:00
Richard Davey
aa341854c7
Happy New Year
2019-01-15 16:20:22 +00:00
Richard Davey
b3804a2455
eslint fixes
2018-10-12 18:56:56 +01:00
Richard Davey
3e9cc42f49
Device.OS has been restructured to allow fake UAs from Chrome dev tools to register iOS devices.
2018-10-10 13:41:47 +01:00
Richard Davey
6fef0fb57e
The Device.OS check for node
will now do a typeof
first to avoid issues with rollup packaged builds needing to shim the variable out. Fix #4058
2018-09-26 16:36:45 +01:00
AleBles
7fc1fbbb4c
Put Android device check before Linux, because Android useragent always includes 'Linux' and Linux ua doesn't include Android
2018-06-07 10:15:44 +02:00
Nils Plaschke
6d0b7e91ab
Added additional check for node
...
If `process` is defined, but it has no `versions` property the check will fail with an error.
The detection of node is not working properly.
In my case I have embedded phaser into a vue-cli@3 application, which is technically node but has no `versions` property.
This fixes the problem
2018-04-13 15:22:59 +02:00
Richard Davey
747f09af86
jsdoc fixes
2018-03-28 15:04:09 +01:00
Richard Davey
f500f5509b
Added DeviceConf def
2018-03-21 14:40:30 +00:00
Richard Davey
26f0578261
jsdoc fixes
2018-02-22 01:07:30 +00:00
Richard Davey
965f2b0e74
Fixed jsdocs and general tidying up.
2018-02-13 00:41:01 +00:00
Richard Davey
d1f5f8a82b
Added jsdocs
2018-02-12 16:01:21 +00:00
Richard Davey
2a86400a28
Added in jsdocs
2018-01-31 13:54:44 +00:00
Richard Davey
cb2891db8a
Added jsdocs to the Device inspector, removed out-dated properties and changed case of Device access
2018-01-25 17:03:35 +00:00
Pavle Goloskokovic
63c402517c
Handling when WebGL context is falsy and not just null
2018-01-15 12:05:11 +01:00
Pavle Goloskokovic
2e60619218
Fixed detecting WebGL support
2018-01-15 11:29:38 +01:00
Richard Davey
d8f1ba03e9
Moved repository location
2018-01-09 21:43:56 +00:00