Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions build/ableplayer.dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -7727,6 +7727,17 @@ if (typeof module !== "undefined" && module.exports) {
}
}

if (context === 'descriptions' || context == 'init') {
if (this.$descButton) {
this.toggleButtonState(
this.$descButton,
this.descOn,
this.tt.turnOffDescriptions,
this.tt.turnOnDescriptions,
);
}
}

if (context === 'captions' || context == 'init') {

if (this.$ccButton) {
Expand Down
11 changes: 11 additions & 0 deletions build/ableplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -9424,6 +9424,17 @@ if (typeof module !== "undefined" && module.exports) {
}
}

if (context === 'descriptions' || context == 'init') {
if (this.$descButton) {
this.toggleButtonState(
this.$descButton,
this.descOn,
this.tt.turnOffDescriptions,
this.tt.turnOnDescriptions,
);
}
}

if (context === 'captions' || context == 'init') {

if (this.$ccButton) {
Expand Down
2 changes: 1 addition & 1 deletion build/ableplayer.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/ableplayer.min.js

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions build/separate-dompurify/ableplayer.dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -8069,6 +8069,17 @@ if (typeof module !== "undefined" && module.exports) {
}
}

if (context === 'descriptions' || context == 'init') {
if (this.$descButton) {
this.toggleButtonState(
this.$descButton,
this.descOn,
this.tt.turnOffDescriptions,
this.tt.turnOnDescriptions,
);
}
}

if (context === 'captions' || context == 'init') {

if (this.$ccButton) {
Expand Down
11 changes: 11 additions & 0 deletions build/separate-dompurify/ableplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8069,6 +8069,17 @@ if (typeof module !== "undefined" && module.exports) {
}
}

if (context === 'descriptions' || context == 'init') {
if (this.$descButton) {
this.toggleButtonState(
this.$descButton,
this.descOn,
this.tt.turnOffDescriptions,
this.tt.turnOnDescriptions,
);
}
}

if (context === 'captions' || context == 'init') {

if (this.$ccButton) {
Expand Down
2 changes: 1 addition & 1 deletion build/separate-dompurify/ableplayer.min.js

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions scripts/control.js
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,17 @@
}
}

if (context === 'descriptions' || context == 'init') {
if (this.$descButton) {
this.toggleButtonState(
this.$descButton,
this.descOn,
this.tt.turnOffDescriptions,
this.tt.turnOnDescriptions,
);
}
}

if (context === 'captions' || context == 'init') {

if (this.$ccButton) {
Expand Down
2 changes: 2 additions & 0 deletions styles/ableplayer.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.able-playlist, .able-playlist *,
.able-chapters-div, .able-chapters-div *,
.able-wrapper, .able-wrapper * {
box-sizing: border-box;
}
Expand Down