Skip to content

Commit

Permalink
chore(demo): Remove error on iOS on demo page
Browse files Browse the repository at this point in the history
  • Loading branch information
mister-ben committed Feb 28, 2024
1 parent e46247f commit 3f3ba51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@
var steeringManifestEl = document.querySelector('.steering-manifest');

player.one('loadedmetadata', function() {
var steeringController = player.tech_.vhs.playlistController_.contentSteeringController_;
var steeringController = player.tech_.vhs && player.tech_.vhs.playlistController_.contentSteeringController_;

if (!steeringController) {
return;
Expand Down

0 comments on commit 3f3ba51

Please sign in to comment.