Device#h264Video
  • References/Game Development/Phaser/System/Device

h264Video : boolean Can this device play h264 mp4 video files? Source code:

2025-01-10 15:47:30
Device#desktop
  • References/Game Development/Phaser/System/Device

desktop : boolean Is running on a desktop? Source code:

2025-01-10 15:47:30
Device#m4a
  • References/Game Development/Phaser/System/Device

m4a : boolean Can this device play m4a files? True if this device can play m4a files.

2025-01-10 15:47:30
Device#firefox
  • References/Game Development/Phaser/System/Device

firefox : boolean Set to true if running in Firefox. Source code:

2025-01-10 15:47:30
Device#firefoxVersion
  • References/Game Development/Phaser/System/Device

firefoxVersion : number If running in Firefox this will contain the major version number.

2025-01-10 15:47:30
Device#macOS
  • References/Game Development/Phaser/System/Device

macOS : boolean Is running on macOS? Source code:

2025-01-10 15:47:30
Device#pointerLock
  • References/Game Development/Phaser/System/Device

pointerLock : boolean Is Pointer Lock available? Source code:

2025-01-10 15:47:30
Device#ie
  • References/Game Development/Phaser/System/Device

ie : boolean Set to true if running in Internet Explorer. Source code:

2025-01-10 15:47:30
Device#touch
  • References/Game Development/Phaser/System/Device

touch : boolean Is touch available? Source code:

2025-01-10 15:47:30
Device#canPlayVideo()
  • References/Game Development/Phaser/System/Device

canPlayVideo(type) → {boolean} Check whether the host environment can play video files.

2025-01-10 15:47:30