]> _ Git - fluidbook_tools.git/commitdiff
wait #4751 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 14 Oct 2021 09:28:17 +0000 (11:28 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 14 Oct 2021 09:28:17 +0000 (11:28 +0200)
src/Links/VideoLink.php

index 0bd205243fb1b2ccd47af859a98b7c17d5ff70ff..9cf632dbd632aa6fb6ffa586b11eb33ad5e30baa 100644 (file)
@@ -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];