fix some bugs reported by sonarCloud

This commit is contained in:
vitorsemeano 2020-11-06 00:18:43 +00:00
parent 92b1cb3aa3
commit 03a6269b5f
3 changed files with 7 additions and 9 deletions

View file

@ -3126,7 +3126,7 @@ class PlaybackManager {
}
});
pluginManager.ofType('mediaplayer').map(initMediaPlayer);
pluginManager.ofType('mediaplayer').forEach(initMediaPlayer);
function sendProgressUpdate(player, progressEventName, reportPlaylist) {
if (!player) {