mirror of
https://github.com/photonstorm/phaser
synced 2024-11-29 08:01:04 +00:00
Reset _codePaused to false in play handlers to allow video to resume
This commit is contained in:
parent
699e81e008
commit
b63bb53430
1 changed files with 2 additions and 0 deletions
|
@ -929,6 +929,7 @@ var Video = new Class({
|
|||
*/
|
||||
playPromiseSuccessHandler: function ()
|
||||
{
|
||||
this._codePaused = false;
|
||||
this.touchLocked = false;
|
||||
|
||||
this.emit(Events.VIDEO_PLAY, this);
|
||||
|
@ -970,6 +971,7 @@ var Video = new Class({
|
|||
*/
|
||||
playHandler: function ()
|
||||
{
|
||||
this._codePaused = false;
|
||||
this.touchLocked = false;
|
||||
|
||||
this.emit(Events.VIDEO_PLAY, this);
|
||||
|
|
Loading…
Reference in a new issue