Skip to content

Commit 9e5dd81

Browse files
authored
test: fix Safari test failures (#8300)
1 parent cb8b329 commit 9e5dd81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/player.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3548,7 +3548,7 @@ class Player extends Component {
35483548
load() {
35493549
// Workaround to use the load method with the VHS.
35503550
// Does not cover the case when the load method is called directly from the mediaElement.
3551-
if (this.tech_.vhs) {
3551+
if (this.tech_ && this.tech_.vhs) {
35523552
this.src(this.currentSource());
35533553

35543554
return;

0 commit comments

Comments
 (0)