Skip to content

Commit

Permalink
Update player.js
Browse files Browse the repository at this point in the history
fix for "After installation, h.264 needs to be clicked twice before it reacts and the modal appears"
#1681
  • Loading branch information
raszpl authored May 18, 2023
1 parent 5b0ed4c commit f4dd692
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions menu/skeleton-parts/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ extension.skeleton.main.layers.section.player.on.click = {
component: 'switch',
text: 'autoPip',
id: 'player_autoPip',
value: false,
on: {
click: function () {
if (this.dataset.value === 'true' && satus.storage.get('player_autopause_when_switching_tabs')) {
Expand Down Expand Up @@ -778,6 +777,7 @@ extension.skeleton.main.layers.section.player.on.click = {
block_vp9: {
component: 'switch',
text: 'blockVp9',
value: false,
custom: true,
on: {
click: function () {
Expand Down Expand Up @@ -809,6 +809,7 @@ extension.skeleton.main.layers.section.player.on.click = {
block_h264: {
component: 'switch',
text: 'blockH264',
value: false,
custom: true,
on: {
click: function () {
Expand Down Expand Up @@ -875,6 +876,7 @@ extension.skeleton.main.layers.section.player.on.click = {
component: 'switch',
text: 'codecH264',
storage: 'player_h264',
value: false,
custom: true,
on: {
click: function () {
Expand Down Expand Up @@ -962,7 +964,6 @@ extension.skeleton.main.layers.section.player.on.click = {
sdr: {
component: 'switch',
text: 'forceSDR',
value: false,
storage: 'player_SDR'
}
},
Expand Down

0 comments on commit f4dd692

Please sign in to comment.