Skip to content

Commit c50ba7e

Browse files
authored
chore(demo): Remove error on iOS on demo page (#1493)
1 parent e46247f commit c50ba7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@
438438
var steeringManifestEl = document.querySelector('.steering-manifest');
439439

440440
player.one('loadedmetadata', function() {
441-
var steeringController = player.tech_.vhs.playlistController_.contentSteeringController_;
441+
var steeringController = player.tech_.vhs && player.tech_.vhs.playlistController_.contentSteeringController_;
442442

443443
if (!steeringController) {
444444
return;

0 commit comments

Comments
 (0)