functionality wrt ui. mode selection. onrequestvideo loading