Skip to content

Commit

Permalink
Merge pull request #262 from spennythug/caption-search-pull
Browse files Browse the repository at this point in the history
Making it so videos with and without captions can be mixed. Also fixe…
  • Loading branch information
mfairchild365 committed Jul 28, 2015
2 parents b1ae9a9 + 43b2db8 commit b13ff24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/templates/html/MediaPlayer.tpl.php
Expand Up @@ -53,7 +53,7 @@
var $video = $(v);
var mediahub_id = $video.attr('data-mediahub-id');

<?php if($getTracks): ?>
if(t.captionsButton){
t.container.append($(".mh_transcript_template").html());
$transcript = t.container.find('.mh-transcript');
$captionSearch = t.container.children(".mh-caption-search");
Expand Down Expand Up @@ -141,7 +141,7 @@
.prepend($('<span>').text('[' + displaytime(track.entries.times[i].start*1000) + '] '))
));
};
$transcript.children("a").remove();
$transcript.children("li").remove();
$transcript.append(listItems);
};

Expand All @@ -162,7 +162,7 @@
setTranscript(t.selectedTrack);
};
};
<?php endif; ?>
};

// Playcount
var w = false, u = '<?php echo $controller->getURL($context->media) ?>';
Expand Down

0 comments on commit b13ff24

Please sign in to comment.