Simplify and show "p" in quality labels.

This commit is contained in:
FireMasterK 2021-06-22 01:55:38 +05:30
parent 95e339ca9f
commit ffd4a195d6
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -43,15 +43,7 @@
<br /> <br />
<select class="uk-select" v-model="defaultQuality" @change="onChange($event)"> <select class="uk-select" v-model="defaultQuality" @change="onChange($event)">
<option value="0">Auto</option> <option value="0">Auto</option>
<option>144</option> <option :key="resolution" v-for="resolution in resolutions" :value="resolution">{{ resolution }}p</option>
<option>240</option>
<option>360</option>
<option>480</option>
<option>720</option>
<option>1080</option>
<option>1440</option>
<option>2160</option>
<option>4320</option>
</select> </select>
<h2>Instances List</h2> <h2>Instances List</h2>
<table class="uk-table"> <table class="uk-table">
@ -100,6 +92,7 @@ export default {
skipMusicOffTopic: true, skipMusicOffTopic: true,
autoPlayVideo: true, autoPlayVideo: true,
audioOnly: false, audioOnly: false,
resolutions: [144, 240, 360, 480, 720, 1080, 1440, 2160, 4320],
defaultQuality: 0, defaultQuality: 0,
}; };
}, },