diff --git a/demo/configuration_section.js b/demo/configuration_section.js index f61ed62058..e1047fdd85 100644 --- a/demo/configuration_section.js +++ b/demo/configuration_section.js @@ -45,8 +45,8 @@ shakaDemo.setupConfiguration_ = function() { 'change', shakaDemo.onAdaptationChange_); document.getElementById('logLevelList').addEventListener( 'change', shakaDemo.onLogLevelChange_); - document.getElementById('enableAutoplay').addEventListener( - 'change', shakaDemo.onAutoplayChange_); + document.getElementById('enableLoadOnRefresh').addEventListener( + 'change', shakaDemo.onLoadOnRefreshChange_); document.getElementById('drmSettingsVideoRobustness').addEventListener( 'input', shakaDemo.onDrmSettingsChange_); document.getElementById('drmSettingsAudioRobustness').addEventListener( @@ -68,7 +68,7 @@ shakaDemo.setupConfiguration_ = function() { /** @private */ -shakaDemo.onAutoplayChange_ = function() { +shakaDemo.onLoadOnRefreshChange_ = function() { // Change the hash, to mirror this. shakaDemo.hashShouldChange_(); }; diff --git a/demo/index.html b/demo/index.html index 69a05371ed..909a8c4836 100644 --- a/demo/index.html +++ b/demo/index.html @@ -177,8 +177,8 @@