Skip to content

Commit

Permalink
Merge pull request WWBN#321 from manu0401/defaultwebm
Browse files Browse the repository at this point in the history
Check webm by default if not disabled
  • Loading branch information
DanielnetoDotCom authored Feb 4, 2021
2 parents 2eeb73a + 84ad575 commit eb1d88c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions install/checkConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
\$global['disableBulkEncode'] = false;
\$global['disableImportVideo'] = false;
\$global['disableWebM'] = false;
\$global['defaultWebM'] = false;
\$global['concurrent'] = 1;
\$global['hideUserGroups'] = false;
\$global['progressiveUpload'] = false;
Expand Down
6 changes: 5 additions & 1 deletion view/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,13 @@
<?php } ?>
<?php
if (empty($global['disableWebM'])) {
if (empty($global['defaultWebM']))
$checked = '';
else
$checked = 'checked="checked"';
?>
<label id="webm">
<input type="checkbox" id="inputWebM">
<input type="checkbox" id="inputWebM" <?php echo $checked; ?>>
<i class="fas fa-chrome" aria-hidden="true"></i> Extract WebM Video <small class="text-muted">(The encode process will be slow)</small>
<br><small class="label label-warning">
For Chrome Browsers
Expand Down

0 comments on commit eb1d88c

Please sign in to comment.