forked from extern/egroupware
Fix volume gets initiated on a wrong object becuase the youtube object is not yet ready
This commit is contained in:
parent
904e6a96e1
commit
557b47b15f
@ -289,7 +289,7 @@ export class et2_video extends et2_baseWidget implements et2_IDOMNode
|
|||||||
{
|
{
|
||||||
this.youtube.setVolume(value);
|
this.youtube.setVolume(value);
|
||||||
}
|
}
|
||||||
else
|
else if(!this._isYoutube())
|
||||||
{
|
{
|
||||||
this.video[0].volume = value/100;
|
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)
|
if (this._isYoutube() && this.youtube)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user