From: Vincent Vanwaelscappel Date: Thu, 14 Oct 2021 09:28:17 +0000 (+0200) Subject: wait #4751 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=5f31b907adc159072c5750afe9f942cb50b5f7f4;p=fluidbook_tools.git wait #4751 @0.5 --- diff --git a/src/Links/VideoLink.php b/src/Links/VideoLink.php index 0bd2052..9cf632d 100644 --- a/src/Links/VideoLink.php +++ b/src/Links/VideoLink.php @@ -82,6 +82,7 @@ class VideoLink extends Link } else if (!is_null($compiler) && Url::isLocal($data->to)) { // Get video dimensions from thumbnail if possible (locally uploaded files) $path = file_exists($data->to) ? $data->to : $compiler->wdir . '/' . $data->to; + dd($path); $e = explode(',', `ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=p=0 $path`); $attr['width'] = $e[0]; $attr['height'] = $e[1];