1. 3k
  2. mixer

Source

mixer / elements / player.php

<?php $shkeys = array(
	'p1' => array(
		1 => 'e',
		2 => 'd'
	),
	'p2' => array(
		1 => 'r',
		2 => 'f'
	)
); ?>
<div id="player_<?php echo $id ?>" class="player">
	<h2><?php echo sprintf('%02d', $id) ?></h2>

	<div class="player-controls">
		<div class="player-vol" id="volume-<?php echo $id ?>"></div>

		<div class="clear"></div>

		<?php geg_render('reset_btn', array('text'=>'100', 'onclick'=>"Mixer.sliders[".($id-1)."].slider('value', 100)", 'title'=>sprintf('Player %02d Maximum Volume', $id))) ?>
		<?php geg_render('reset_btn', array('text'=>'&frac12;', 'onclick'=>"Mixer.sliders[".($id-1)."].slider('value', 50)", 'title'=>sprintf('Player %02d 50%% Volume <'.$shkeys["p$id"][1].'>', $id))) ?>
		<?php geg_render('reset_btn', array('text'=>'0', 'onclick'=>"Mixer.sliders[".($id-1)."].slider('value', 0)", 'title'=>sprintf('Player %02d Minimum Volume <'.$shkeys["p$id"][2].'>', $id))) ?>
	</div>

	<div id="flashobj_<?php echo $id ?>" class="video_obj">
		Sorry, but you need to have Flash player 8.0 or above and JavaScript enabled to watch this video!
	</div>
</div>