It is very likely that we won't be letting templates access `settings` anymore. Can you move the value outside the template? Also, if possible can you make sure it does not throw an exception if the setting is not defined:
 
   settings.MITX_FEATURES.get('AUTOPLAY_VIDEOS', False)