Skip to content

Commit

Permalink
if there is no name title will be empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Tzipi-kaltura committed Jun 24, 2024
1 parent ca51704 commit c419b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2020,7 +2020,7 @@ export default class Player extends FakeEventTarget {
title = Utils.Dom.createElement('title');
head.appendChild(title);
}
title.innerHTML = this._sources.metadata.name;
title.innerHTML = this._sources.metadata.name ? this._sources.metadata.name : '';
}
}

Expand Down

0 comments on commit c419b3b

Please sign in to comment.