Hide stream quality if using video tag

pull/4135/head
Isaac Connor 2024-09-16 14:15:38 -04:00
parent d99233782a
commit 9f2c36be6e
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ if ( $Event->Id() and !file_exists($Event->Path()) )
<label for="scale"><?php echo translate('Scale') ?></label> <label for="scale"><?php echo translate('Scale') ?></label>
<?php echo htmlSelect('scale', $scales, $scaleSelected, array('data-on-change'=>'changeScale','id'=>'scale')); ?> <?php echo htmlSelect('scale', $scales, $scaleSelected, array('data-on-change'=>'changeScale','id'=>'scale')); ?>
</div> </div>
<div id="streamQualityControl"> <div id="streamQualityControl"<?php echo $video_tag ? ' style="display: none;"':'' ?>>
<label for="streamQuality"><?php echo translate('Stream quality') ?></label> <label for="streamQuality"><?php echo translate('Stream quality') ?></label>
<?php echo htmlSelect('streamQuality', $streamQuality, $streamQualitySelected, array('data-on-change'=>'changeStreamQuality','id'=>'streamQuality')); ?> <?php echo htmlSelect('streamQuality', $streamQuality, $streamQualitySelected, array('data-on-change'=>'changeStreamQuality','id'=>'streamQuality')); ?>
</div> </div>