function check(type, provider, playsinline) {
	    var canPlayInline = browser.isIPhone && playsinline && support.playsinline;
	    var api = support[type] || provider !== 'html5';
	    var ui = api && support.rangeInput && (type !== 'video' || !browser.isIPhone || canPlayInline);
	    return {
	      api: api,
	      ui: ui
	    };
	  }
function check(type, provider, playsinline) {
	    var canPlayInline = browser.isIPhone && playsinline && support.playsinline;
	    var api = support[type] || provider !== 'html5';
	    var ui = api && support.rangeInput && (type !== 'video' || !browser.isIPhone || canPlayInline);
	    return {
	      api: api,
	      ui: ui
	    };
	  }
function check ( type , provider , playsinline ) { var canPlayInline = browser . isIPhone && playsinline && support . playsinline ; var api = support [ type ] || provider !== 'html5' ; var ui = api && support . rangeInput && ( type !== 'video' || ! browser . isIPhone || canPlayInline ) ; return { api : api , ui : ui } ; }
Check for support Basic functionality vs full UI
Check for support Basic functionality vs full UI