Skip to content

Change startFrom and endAt to trimLeft and trimRight #4360

@JonnyBurger

Description

@JonnyBurger

In Video / Audio / OffthreadVideo tags,

we have startFrom / endAt props.

It is confusing because it seems like it will shift the media when it actually trims.

Replace these props but keep the old ones working.

Make a function that throws if conflicting props are passed (e.g. trimStart and startFrom)

Update the docs but keep startFrom and endAt as a deprecated props and link to the new ones.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions