Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLAT-24830: Support captions clipping when serving WebVTT #12962

Open
wants to merge 5 commits into
base: Ursa-21.3.0
Choose a base branch
from

Conversation

drorsou
Copy link
Collaborator

@drorsou drorsou commented Nov 6, 2024

No description provided.

plugins/content/caption/base/lib/kWebVTTGenerator.php Outdated Show resolved Hide resolved
*/
public function setClipFrom($clipFrom)
{
$this->clipFrom = $clipFrom;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets add logic that user cannot ask for clipFrom that that is longer than clip to and the opposite

)
continue;

if ($curCaption["startTime"]>=$curCaption["endTime"])
if ($curCaption["startTime"] >= $curCaption["endTime"])
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use '

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants