fail silently when no codces are found (#3142)
Co-authored-by: janWilejan <>
This commit is contained in:
parent
f2d9d407c3
commit
185123dab2
@ -102,7 +102,7 @@ class PlaybackMetrics {
|
||||
const tech = this.player.tech({ IWillNotUseThisInPlugins: true });
|
||||
this.supportsDetailedMetrics = !!tech;
|
||||
|
||||
tech.on('usage', e => {
|
||||
tech?.on('usage', e => {
|
||||
if (e.name === 'vhs-unknown-waiting') {
|
||||
this.setIsBuffering(true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user