fix: use typeof for checking preload option (#4574)
Esse commit está contido em:
@@ -302,7 +302,7 @@ class Html5 extends Tech {
|
||||
el.playerId = this.options_.playerId;
|
||||
}
|
||||
|
||||
if (this.options_.preload !== 'undefined') {
|
||||
if (typeof this.options_.preload !== 'undefined') {
|
||||
Dom.setAttribute(el, 'preload', this.options_.preload);
|
||||
}
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário