Skip to content

Commit 45a54b1

Browse files
authored
Merge pull request #687 from ableplayer/develop
Develop
2 parents 1b510fc + 2a2c19b commit 45a54b1

9 files changed

Lines changed: 60 additions & 3 deletions

File tree

‎build/ableplayer.dist.js‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7727,6 +7727,17 @@ if (typeof module !== "undefined" && module.exports) {
77277727
}
77287728
}
77297729

7730+
if (context === 'descriptions' || context == 'init') {
7731+
if (this.$descButton) {
7732+
this.toggleButtonState(
7733+
this.$descButton,
7734+
this.descOn,
7735+
this.tt.turnOffDescriptions,
7736+
this.tt.turnOnDescriptions,
7737+
);
7738+
}
7739+
}
7740+
77307741
if (context === 'captions' || context == 'init') {
77317742

77327743
if (this.$ccButton) {

‎build/ableplayer.js‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9424,6 +9424,17 @@ if (typeof module !== "undefined" && module.exports) {
94249424
}
94259425
}
94269426

9427+
if (context === 'descriptions' || context == 'init') {
9428+
if (this.$descButton) {
9429+
this.toggleButtonState(
9430+
this.$descButton,
9431+
this.descOn,
9432+
this.tt.turnOffDescriptions,
9433+
this.tt.turnOnDescriptions,
9434+
);
9435+
}
9436+
}
9437+
94279438
if (context === 'captions' || context == 'init') {
94289439

94299440
if (this.$ccButton) {

‎build/ableplayer.min.css‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎build/ableplayer.min.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎build/separate-dompurify/ableplayer.dist.js‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8069,6 +8069,17 @@ if (typeof module !== "undefined" && module.exports) {
80698069
}
80708070
}
80718071

8072+
if (context === 'descriptions' || context == 'init') {
8073+
if (this.$descButton) {
8074+
this.toggleButtonState(
8075+
this.$descButton,
8076+
this.descOn,
8077+
this.tt.turnOffDescriptions,
8078+
this.tt.turnOnDescriptions,
8079+
);
8080+
}
8081+
}
8082+
80728083
if (context === 'captions' || context == 'init') {
80738084

80748085
if (this.$ccButton) {

‎build/separate-dompurify/ableplayer.js‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8069,6 +8069,17 @@ if (typeof module !== "undefined" && module.exports) {
80698069
}
80708070
}
80718071

8072+
if (context === 'descriptions' || context == 'init') {
8073+
if (this.$descButton) {
8074+
this.toggleButtonState(
8075+
this.$descButton,
8076+
this.descOn,
8077+
this.tt.turnOffDescriptions,
8078+
this.tt.turnOnDescriptions,
8079+
);
8080+
}
8081+
}
8082+
80728083
if (context === 'captions' || context == 'init') {
80738084

80748085
if (this.$ccButton) {

‎build/separate-dompurify/ableplayer.min.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎scripts/control.js‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,17 @@
587587
}
588588
}
589589

590+
if (context === 'descriptions' || context == 'init') {
591+
if (this.$descButton) {
592+
this.toggleButtonState(
593+
this.$descButton,
594+
this.descOn,
595+
this.tt.turnOffDescriptions,
596+
this.tt.turnOnDescriptions,
597+
);
598+
}
599+
}
600+
590601
if (context === 'captions' || context == 'init') {
591602

592603
if (this.$ccButton) {

‎styles/ableplayer.css‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@
142142
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
143143
}
144144

145+
.able-playlist, .able-playlist *,
146+
.able-chapters-div, .able-chapters-div *,
145147
.able-wrapper, .able-wrapper * {
146148
box-sizing: border-box;
147149
}

0 commit comments

Comments
 (0)