Skip to content

Commit

Permalink
SUP-46698: add ks for serving captitons inside getPlaybackContext (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
MosheMaorKaltura authored Feb 27, 2025
1 parent c5bb6af commit a52eaa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/content/caption/base/CaptionPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ public function contributeToPlaybackContextDataResult(entry $entry, kPlaybackCon
try
{

$url = $assetDb->getDownloadUrl(true, false, null, null, false);
$url = $assetDb->getDownloadUrl(true, false, null, null, true);
if ($url)
{
$webVttUrl = myPartnerUtils::getCdnHost($assetDb->getPartnerId()) . self::SERVE_WEBVTT_URL_PREFIX . '/captionAssetId/' . $assetDb->getId() . '/segmentIndex/-1/version/' . $assetDb->getVersion() . '/captions.vtt';
Expand Down

0 comments on commit a52eaa1

Please sign in to comment.