mirror of
https://github.com/videojs/video.js.git
synced 2025-07-15 01:34:23 +02:00
fix: make compatible with chrome 53 (#8354)
This commit is contained in:
@ -23,4 +23,7 @@ export class TestCustomElement extends HTMLElement {
|
||||
}
|
||||
}
|
||||
|
||||
window.customElements.define('test-custom-element', TestCustomElement);
|
||||
// Not supported on Chrome < 54
|
||||
if ('customElements' in window) {
|
||||
window.customElements.define('test-custom-element', TestCustomElement);
|
||||
}
|
||||
|
Reference in New Issue
Block a user