Fix bug with display of transcript title · ableplayer/ableplayer@7ebff7a · GitHub
Skip to content

Commit 7ebff7a

Browse files
author
terrill
committed
Fix bug with display of transcript title
1 parent 09c90c7 commit 7ebff7a

5 files changed

Lines changed: 6 additions & 9 deletions

File tree

‎build/ableplayer.dist.js‎

Lines changed: 1 addition & 2 deletions

‎build/ableplayer.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11182,7 +11182,7 @@ if (thisObj.useTtml && (trackSrc.endsWith('.xml') || trackText.startsWith('<?xml
1118211182
transcriptTitle = this.tt.transcriptTitle;
1118311183
}
1118411184

11185-
if (typeof this.transcriptDivLocation === 'undefined') {
11185+
if (!this.transcriptDivLocation) {
1118611186
// only add an HTML heading to internal transcript
1118711187
// external transcript is expected to have its own heading
1118811188
var headingNumber = this.playerHeadingLevel;
@@ -11195,7 +11195,6 @@ if (thisObj.useTtml && (trackSrc.endsWith('.xml') || trackText.startsWith('<?xml
1119511195
else {
1119611196
var transcriptHeading = 'div';
1119711197
}
11198-
// var transcriptHeadingTag = '<' + transcriptHeading + ' class="able-transcript-heading">';
1119911198
var $transcriptHeadingTag = $('<' + transcriptHeading + '>');
1120011199
$transcriptHeadingTag.addClass('able-transcript-heading');
1120111200
if (headingNumber > 6) {

‎build/ableplayer.min.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ableplayer",
3-
"version": "4.4.8",
3+
"version": "4.4.9",
44
"description": "fully accessible HTML5 media player",
55
"homepage": "http://ableplayer.github.io/ableplayer",
66
"bugs": "https://github.com/ableplayer/ableplayer/issues",

‎scripts/transcript.js‎

Lines changed: 1 addition & 2 deletions

0 commit comments

Comments
 (0)