Video Trimming: Crash due to missing tracks
property
#12472
Labels
Elements: Video
Group: Video Optimization
Media transcoding, compression and cropping
Type: Bug
Something isn't working
Bug Description
Sometimes the video trimming crashes here:
web-stories-wp/packages/element-library/src/video/trim.js
Lines 115 to 121 in f9f7a09
because
tracks
is undefined.I have not yet found out how to get
tracks
to beundefined
, but it is the case in this story @kkalarickal created:https://web-stories.local/wp-admin/post-new.php?post_type=web-story#page=%2522dcf4d19c-60e4-47bc-918a-ce01c5f6cb0a%2522
We should add a data migration to add the missing
tracks
property and figure out why it's sometimes absent.Expected Behaviour
No crashes in video trimming
Steps to Reproduce
Screenshots
Additional Context
The text was updated successfully, but these errors were encountered: