mode must be one of 'inline', 'immersive-vr', or 'immersive-ar'.
mode
'inline'
'immersive-vr'
'immersive-ar'