it is better to replace its
<?php echo $file->generateDirectDownloadUrlForMedia(); ?>
with
<?php echo $file->getFullShortUrl(true); ?>?df=1&dt=<?php echo $embedToken; ?>
it controls the flow without blocking the video
<?php echo $file->generateDirectDownloadUrlForMedia(); ?>
with
<?php echo $file->getFullShortUrl(true); ?>?df=1&dt=<?php echo $embedToken; ?>
it controls the flow without blocking the video