Skip to content

Commit

Permalink
Merge branch 'VID-686' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dthies committed Aug 4, 2023
2 parents 269aef8 + 5531bd2 commit 5dc9e8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/videojs/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ function videotimeplugin_videojs_data_preprocessing(array &$defaultvalues, int $
'mediafile',
0
);
$defaultvalues['mediafile'] = $draftitemid;
$draftitemid = file_get_submitted_draft_itemid('poster');
file_prepare_draft_area(
$draftitemid,
$context->id,
Expand Down

0 comments on commit 5dc9e8f

Please sign in to comment.