Richard Davey
|
23285896c0
|
The HTML5 Sound Manager would unlock the Sound API on a touch event but only if the audio files were loaded in the first Scene, if they were loaded in a subsequent Scene the audio system would never unlock. It now unlocks only if there are audio files in the cache. Fix #3311
|
2018-03-05 13:39:08 +00:00 |
|
samme
|
983772a2fa
|
Warn if HTML5AudioSound#audio fails to play
#3309
|
2018-03-03 14:29:14 -08:00 |
|
Pavle Goloskokovic
|
ae89750610
|
Removed redundant docs
|
2018-02-18 21:38:04 +01:00 |
|
Pavle Goloskokovic
|
812cbbff9f
|
Removed redundant docs
|
2018-02-18 21:37:23 +01:00 |
|
Pavle Goloskokovic
|
7b9af8691a
|
Fixed add method docs
|
2018-02-18 21:36:39 +01:00 |
|
Pavle Goloskokovic
|
c3313ef6e5
|
Fixed class docs
|
2018-02-18 21:35:39 +01:00 |
|
Pavle Goloskokovic
|
631e6cdf59
|
Removed redundant docs
|
2018-02-18 21:24:49 +01:00 |
|
Pavle Goloskokovic
|
1046991e66
|
Removed redundant docs
|
2018-02-18 21:24:29 +01:00 |
|
Pavle Goloskokovic
|
81bebfd8c1
|
Removed redundant docs
|
2018-02-18 21:24:05 +01:00 |
|
Pavle Goloskokovic
|
ae890eca8a
|
Removed redundant docs
|
2018-02-18 21:23:30 +01:00 |
|
Pavle Goloskokovic
|
94859c6f99
|
Removed redundant docs
|
2018-02-18 21:23:15 +01:00 |
|
Pavle Goloskokovic
|
0b377a34d6
|
Fixed update method docs, ESLint fix
|
2018-02-18 21:22:49 +01:00 |
|
Pavle Goloskokovic
|
a08dc5ef64
|
ESLint fix for playCatchPromise method
|
2018-02-18 21:21:42 +01:00 |
|
Pavle Goloskokovic
|
1e08945173
|
Fixed pickAudioTag method docs
|
2018-02-18 21:20:49 +01:00 |
|
Pavle Goloskokovic
|
c745e096ad
|
Fixed pickAndPlayAudioTag method docs
|
2018-02-18 21:20:21 +01:00 |
|
Pavle Goloskokovic
|
b607251e77
|
Fixed stop method docs
|
2018-02-18 21:20:00 +01:00 |
|
Pavle Goloskokovic
|
5010755aea
|
Fixed resume method docs
|
2018-02-18 21:19:44 +01:00 |
|
Pavle Goloskokovic
|
7fd6ce95c3
|
Fixed pause method docs
|
2018-02-18 21:19:16 +01:00 |
|
Pavle Goloskokovic
|
ebd23f9ae2
|
Fixed play method docs
|
2018-02-18 21:18:45 +01:00 |
|
Pavle Goloskokovic
|
0d20a413a7
|
Fixed class docs
|
2018-02-18 21:18:09 +01:00 |
|
Richard Davey
|
33873fe23d
|
eslint fixes and removing type related console errors
|
2018-02-16 19:32:43 +00:00 |
|
Richard Davey
|
d1f5f8a82b
|
Added jsdocs
|
2018-02-12 16:01:21 +00:00 |
|
Richard Davey
|
403a9363fd
|
Updated jsdocs
|
2018-02-12 13:48:47 +00:00 |
|
Pavle Goloskokovic
|
6c5f72f86e
|
ESLint fix
|
2018-01-26 15:38:00 +01:00 |
|
Pavle Goloskokovic
|
31fa6e9b31
|
ESLint fix
|
2018-01-26 15:37:31 +01:00 |
|
Pavle Goloskokovic
|
f3d2b9e510
|
Added loop event docs
|
2018-01-26 15:25:59 +01:00 |
|
Pavle Goloskokovic
|
3de4234db8
|
Added seek event docs
|
2018-01-26 15:25:45 +01:00 |
|
Pavle Goloskokovic
|
3d20e05641
|
Added volume event docs
|
2018-01-26 15:25:09 +01:00 |
|
Pavle Goloskokovic
|
c1b3a18ea0
|
Added mute event docs
|
2018-01-26 15:24:55 +01:00 |
|
Pavle Goloskokovic
|
07d06a58ad
|
Added ended event docs
|
2018-01-26 15:24:40 +01:00 |
|
Pavle Goloskokovic
|
419761db15
|
Added looped event docs
|
2018-01-26 15:24:25 +01:00 |
|
Pavle Goloskokovic
|
d9f6669277
|
Added stop event docs
|
2018-01-26 15:24:05 +01:00 |
|
Pavle Goloskokovic
|
fd2995d978
|
Added resume event docs
|
2018-01-26 15:23:48 +01:00 |
|
Pavle Goloskokovic
|
58006988f0
|
Added pause event docs
|
2018-01-26 15:23:35 +01:00 |
|
Pavle Goloskokovic
|
9b4930ea47
|
Added play event docs
|
2018-01-26 15:23:06 +01:00 |
|
Pavle Goloskokovic
|
0a1e4abd9f
|
Added setRate method docs
|
2018-01-26 15:20:44 +01:00 |
|
Pavle Goloskokovic
|
f7f3906810
|
Added setVolume method docs
|
2018-01-26 15:20:15 +01:00 |
|
Pavle Goloskokovic
|
ace58fa019
|
Added setMute method docs
|
2018-01-26 15:19:55 +01:00 |
|
Pavle Goloskokovic
|
4d5720d094
|
Added destroy method docs
|
2018-01-26 15:19:32 +01:00 |
|
Pavle Goloskokovic
|
32a2bcbf85
|
Added update method docs
|
2018-01-26 15:19:07 +01:00 |
|
Pavle Goloskokovic
|
1ca182e209
|
Added onFocus method docs
|
2018-01-26 15:18:45 +01:00 |
|
Pavle Goloskokovic
|
5b371db61f
|
Added onBlur method docs
|
2018-01-26 15:18:22 +01:00 |
|
Pavle Goloskokovic
|
18cd227e69
|
Added reset method docs
|
2018-01-26 15:18:02 +01:00 |
|
Pavle Goloskokovic
|
a2fdf7c42c
|
Added stopAndReleaseAudioTag method docs
|
2018-01-26 15:17:36 +01:00 |
|
Pavle Goloskokovic
|
3f6df08552
|
Added playCatchPromise method docs
|
2018-01-26 15:17:19 +01:00 |
|
Pavle Goloskokovic
|
fcd9efee42
|
Added pickAudioTag method docs
|
2018-01-26 15:16:43 +01:00 |
|
Pavle Goloskokovic
|
443599f261
|
Added pickAndPlayAudioTag method docs
|
2018-01-26 15:15:52 +01:00 |
|
Pavle Goloskokovic
|
bf3c0a2ea1
|
Added stop method docs
|
2018-01-26 15:15:20 +01:00 |
|
Pavle Goloskokovic
|
1c21a09cb2
|
Added resume method docs
|
2018-01-26 15:14:57 +01:00 |
|
Pavle Goloskokovic
|
311a18b052
|
Added pause method docs
|
2018-01-26 15:14:35 +01:00 |
|
Pavle Goloskokovic
|
17a5cc6128
|
Added play method docs
|
2018-01-26 15:14:19 +01:00 |
|
Pavle Goloskokovic
|
3018a2512c
|
Updated isLocked method docs
|
2018-01-26 15:11:21 +01:00 |
|
Pavle Goloskokovic
|
5c3ad36ec3
|
Added isLocked method docs
|
2018-01-26 14:49:27 +01:00 |
|
Pavle Goloskokovic
|
fbafeeef7f
|
Added destroy method docs
|
2018-01-26 14:47:35 +01:00 |
|
Pavle Goloskokovic
|
92669f3c98
|
Added onFocus method docs
|
2018-01-26 14:36:01 +01:00 |
|
Pavle Goloskokovic
|
aaee7388ca
|
Added onBlur method docs
|
2018-01-26 14:35:34 +01:00 |
|
Pavle Goloskokovic
|
27179b64ed
|
Updated unlock method docs
|
2018-01-26 14:34:32 +01:00 |
|
Pavle Goloskokovic
|
c8e64c5153
|
Updated add method docs
|
2018-01-26 14:33:54 +01:00 |
|
Pavle Goloskokovic
|
47b0eea9a9
|
Updated lockedActionsQueue property docs
|
2018-01-26 14:33:15 +01:00 |
|
Pavle Goloskokovic
|
57724d1455
|
Updated loopEndOffset property docs
|
2018-01-26 14:32:38 +01:00 |
|
Pavle Goloskokovic
|
b5b752f39f
|
Updated audioPlayDelay property docs
|
2018-01-26 14:32:11 +01:00 |
|
Pavle Goloskokovic
|
98c0cfd6fe
|
Updated override property docs
|
2018-01-26 14:31:48 +01:00 |
|
Pavle Goloskokovic
|
ea95ae82e1
|
Added HTML5AudioSoundManager class constructor docs
|
2018-01-26 14:31:10 +01:00 |
|
Pavle Goloskokovic
|
0b84831218
|
Added HTML5AudioSound class constructor docs
|
2018-01-26 14:28:15 +01:00 |
|
Pavle Goloskokovic
|
ac7be301f1
|
Reverting previous commit since it did not fix the issue
|
2018-01-19 17:12:49 +01:00 |
|
Pavle Goloskokovic
|
999b7d96df
|
skipping looping and ending logic if current time is 0 since some HTML5 Audio implementations set currentTime value to 0 when changing playback rate or performing any other operation on an audio tag object
|
2018-01-19 16:24:26 +01:00 |
|
Pavle Goloskokovic
|
f7b0dcf56a
|
Inverted condition to prevent nesting
|
2018-01-19 12:19:02 +01:00 |
|
Pavle Goloskokovic
|
ff8c039cf7
|
Inverted condition to prevent nesting
|
2018-01-19 12:17:34 +01:00 |
|
Pavle Goloskokovic
|
ca614166b1
|
Using playCatchPromise for delayed sound playback
|
2018-01-18 14:14:14 +01:00 |
|
Pavle Goloskokovic
|
3a7d06b48a
|
Using playCatchPromise when starting sound playback
|
2018-01-18 14:13:57 +01:00 |
|
Pavle Goloskokovic
|
ef98de7258
|
Added playCatchPromise method to handle possible exceptions thrown form audio tag play method
|
2018-01-18 14:13:29 +01:00 |
|
Pavle Goloskokovic
|
c1cb3c3ab2
|
Removing touchmove event listener on successful unlock
|
2018-01-18 14:12:32 +01:00 |
|
Pavle Goloskokovic
|
336f5b9028
|
Skipping unlocking if touchmove event occurred before touchend event
|
2018-01-18 14:11:49 +01:00 |
|
Pavle Goloskokovic
|
b036eecd9f
|
Added detectMove method as touchmove event listener
|
2018-01-18 14:10:51 +01:00 |
|
Pavle Goloskokovic
|
01c246ac0b
|
Added variable and method for keeping track of touch move events
|
2018-01-18 14:10:03 +01:00 |
|
Pavle Goloskokovic
|
718dce88b8
|
Setting correct totalDuration property value for all sounds when audio gets unlocked
|
2018-01-18 14:08:49 +01:00 |
|
Pavle Goloskokovic
|
9400c7ea93
|
Setting correct duration property value for all sounds when audio gets unlocked
|
2018-01-18 14:08:33 +01:00 |
|
Pavle Goloskokovic
|
6be1406b8b
|
Renamed locked action name property to prop
|
2018-01-17 19:16:21 +01:00 |
|
Pavle Goloskokovic
|
252b577ab4
|
Using manager.isLocked instead of removed checkTouchLocked method for loop property
|
2018-01-17 19:15:09 +01:00 |
|
Pavle Goloskokovic
|
25f22533fd
|
Using manager.isLocked instead of removed checkTouchLocked method for seek property
|
2018-01-17 19:14:55 +01:00 |
|
Pavle Goloskokovic
|
216bde9577
|
Using manager.isLocked instead of removed checkTouchLocked method for detune property
|
2018-01-17 19:14:43 +01:00 |
|
Pavle Goloskokovic
|
99c9b786c8
|
Using manager.isLocked instead of removed checkTouchLocked method for rate property
|
2018-01-17 19:14:33 +01:00 |
|
Pavle Goloskokovic
|
94d7fb7d4f
|
Using manager.isLocked instead of removed checkTouchLocked method for volume property
|
2018-01-17 19:14:18 +01:00 |
|
Pavle Goloskokovic
|
941b4f5ac8
|
Using manager.isLocked instead of removed checkTouchLocked method for mute property
|
2018-01-17 19:14:06 +01:00 |
|
Pavle Goloskokovic
|
4b6287c4cd
|
Using manager.isLocked instead of removed checkTouchLocked method for stop method
|
2018-01-17 19:13:47 +01:00 |
|
Pavle Goloskokovic
|
5c0c89022e
|
Using manager.isLocked instead of removed checkTouchLocked method for resume method
|
2018-01-17 19:13:36 +01:00 |
|
Pavle Goloskokovic
|
fb775d4063
|
Using manager.isLocked instead of removed checkTouchLocked method for pause method
|
2018-01-17 19:13:21 +01:00 |
|
Pavle Goloskokovic
|
ce6f3400e2
|
Using manager.isLocked instead of removed checkTouchLocked method for play method
|
2018-01-17 19:13:09 +01:00 |
|
Pavle Goloskokovic
|
cee22b158c
|
Removed checkTouchLocked from HTML5AudioSound class
|
2018-01-17 19:11:50 +01:00 |
|
Pavle Goloskokovic
|
da56f97580
|
Removed touchLockedActionQueue from HTML5AudioSound class
|
2018-01-17 19:11:28 +01:00 |
|
Pavle Goloskokovic
|
913f388535
|
Added isLocked method to handle locked actions
|
2018-01-17 19:10:24 +01:00 |
|
Pavle Goloskokovic
|
b25af58495
|
Resetting lockedActionsQueue after performing all locked actions
|
2018-01-17 19:09:36 +01:00 |
|
Pavle Goloskokovic
|
88d26607ec
|
Updated and simplified logic for performing locked actions
|
2018-01-17 19:07:52 +01:00 |
|
Pavle Goloskokovic
|
aacd7a972d
|
Setting lockedActionsQueue value based on locked property value
|
2018-01-17 19:03:16 +01:00 |
|
Pavle Goloskokovic
|
19ec0fb735
|
Added lockedActionsQueue property to HTML5AudioSoundManager class for internal use
|
2018-01-17 19:02:10 +01:00 |
|
Pavle Goloskokovic
|
bcb11d5c4e
|
Moved queued sound actions logic from update method to unlocked event handler
|
2018-01-17 18:24:03 +01:00 |
|
Pavle Goloskokovic
|
fb52e3d490
|
Setting unlocked property to true when audio tags are ready
|
2018-01-17 18:19:51 +01:00 |
|
Pavle Goloskokovic
|
5f035c80e2
|
Removed condition since it is already performed in base class constructor
|
2018-01-17 18:19:26 +01:00 |
|
Pavle Goloskokovic
|
d388c827e4
|
Added a TODO for setting correct duration value when available
|
2018-01-17 18:18:22 +01:00 |
|
Pavle Goloskokovic
|
0f6f0ab45e
|
Setting locked property for HTML5AudioSoundManager class
|
2018-01-17 18:17:01 +01:00 |
|