<commit_before>
	$j( mw ).bind( 'newEmbedPlayerEvent', function( event, embedPlayer ){
		$j( embedPlayer ).bind( 'KalturaSupport.checkUiConf', function( event, $uiConf, callback ){

			// Check if the ui conf layout supports volume control
			// <volumebar id="volumeBar" stylename="volumeBtn" width="20" buttontype="iconButton" tooltip="Change volume" color1="14540253" color2="16777215" color3="3355443" color4="10066329" color5="16777215" font="Arial"></volumebar>

			if( !$uiConf.find( 'volumebar' ).length ){
				controlbarLayout( embedPlayer )
			}
			// Continue trigger event regardless of if ui-conf is found or not
			callback();
			
		});
	});
	var controlbarLayout = function( embedPlayer ){
		$j( embedPlayer ).bind( 'updateFeatureSupport', function( e, supports ){
			supports.volumeControl = false;
		});
	}<commit_msg>Added more layout control. (check the uiConfTest.html)<commit_after>
	$j( mw ).bind( 'newEmbedPlayerEvent', function( event, embedPlayer ){
		$j( embedPlayer ).bind( 'KalturaSupport.checkUiConf', function( event, $uiConf, callback ){
			
			var disabled = [];
			
			// Check if the ui conf layout supports play/pause button
			// <button id="playBtnControllerScreen" command="play" buttontype="iconButton" focusrectpadding="0" icon="playIcon" overicon="playIcon" downicon="playIcon" disabeledicon="playIcon" selectedupicon="pauseIcon" selectedovericon="pauseIcon" selecteddownicon="pauseIcon" selecteddisabledicon="pauseIcon" tooltip="" uptooltip="Pause" selectedtooltip="Play" k_buttontype="buttonIconControllerArea" color1="14540253" color2="16777215" color3="3355443" color4="10066329" color5="16777215" font="Arial"></button>
			if( !$uiConf.find( 'button #playBtnControllerScreen' ).length ){
				disabled.push( 'pause' );
			}
			
			// Check if the ui conf layout supports timer text
			// <timer id="timerControllerScreen1" width="40" stylename="timerProgressLeft" format="mm:ss" height="12" dynamiccolor="true" timertype="forwards" color1="14540253"></timer>
			if( !$uiConf.find( 'timer' ).length ){
				disabled.push( 'timeDisplay' );
			}			
			
			// Check if the ui conf layout supports scrubber
			// <vbox id="scrubberContainer" width="100%" height="30" verticalalign="middle" verticalgap="-3" notvisible="{mediaProxy.isLive}">
			if( !$uiConf.find( 'vbox #scrubberContainer' ).length ){
				disabled.push( 'playHead' );
			}

			// Check if the ui conf layout supports volume control
			// <volumebar id="volumeBar" stylename="volumeBtn" width="20" buttontype="iconButton" tooltip="Change volume" color1="14540253" color2="16777215" color3="3355443" color4="10066329" color5="16777215" font="Arial"></volumebar>
			if( !$uiConf.find( 'volumebar' ).length ){
				disabled.push( 'volumeControl' );
			}
			
			
			// Check if the ui conf layout supports play/pause button
			// <button id="fullScreenBtnControllerScreen" command="fullScreen" buttontype="iconButton" height="22" stylename="controllerScreen" icon="openFullScreenIcon" selectedupicon="closeFullScreenIcong" selectedovericon="closeFullScreenIcon" selecteddownicon="closeFullScreenIcon" selecteddisabledicon="closeFullScreenIcon" focusrectpadding="0" allowdisable="false" tooltip="Toggle fullscreen" k_buttontype="buttonIconControllerArea" color1="14540253" color2="16777215" color3="3355443" color4="10066329" color5="16777215" font="Arial"></button>
			if( !$uiConf.find( 'button #fullScreenBtnControllerScreen' ).length ){
				disabled.push( 'fullscreen' );
			}
			
			// Check if the ui conf layout supports play/pause button
			// <button id="onVideoPlayBtnStartScreen" command="play" buttontype="onScreenButton" minwidth="60" labelplacement="top" label="Play" stylename="onScreenBtn" upicon="playIcon" overicon="playIcon" downicon="playIcon" disabeledicon="playIcon" selectedupicon="playIcon" selectedovericon="playIcon" selecteddownicon="playIcon" selecteddisabledicon="playIcon" k_buttontype="buttonIconControllerArea" tooltip="Play video" color1="14540253" color2="16777215" color3="3355443" color4="10066329" color5="16777215" font="Arial"></button>
			if( !$uiConf.find( 'button #onVideoPlayBtnStartScreen' ).length ){
				disabled.push( 'playButtonLarge' );
			}			
			
			controlbarLayout( embedPlayer, disabled );
			
			// Continue trigger event regardless of if ui-conf is found or not
			callback();
			
		});
	});
	var controlbarLayout = function( embedPlayer, disabled ){
		$j( embedPlayer ).bind( 'updateFeatureSupport', function( e, supports ){
			for( var i = 0; i < disabled.length ; i++ ){
				var comm = disabled[i];
				supports[comm] = false;
			}
		});
	}
{'fraction_non_alphanumeric': 0.14291929519251687, 'fraction_numerical': 0.05460082662606047, 'mean_word_length': 5.663768115942029, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1887612', 'n_tokens_mistral': 1700, 'n_tokens_neox': 1386, 'n_words': 324}