mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Fix volume gets initiated on a wrong object becuase the youtube object is not yet ready
This commit is contained in:
parent
94c98718ef
commit
96e960226f
@ -289,7 +289,7 @@ export class et2_video extends et2_baseWidget implements et2_IDOMNode
|
||||
{
|
||||
this.youtube.setVolume(value);
|
||||
}
|
||||
else
|
||||
else if(!this._isYoutube())
|
||||
{
|
||||
this.video[0].volume = value/100;
|
||||
}
|
||||
@ -364,7 +364,7 @@ export class et2_video extends et2_baseWidget implements et2_IDOMNode
|
||||
}
|
||||
}
|
||||
|
||||
get_mute(_value)
|
||||
get_mute()
|
||||
{
|
||||
if (this._isYoutube() && this.youtube)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user