Closed arifje closed 5 years ago
When ffprobe can't run for some reason or there's no valid file data returned, getFileInfo() generates an server error which is not catched correctly:
Edit: for now I resolved it with:
{% set videoData = (craft.transcoder.getFileInfo(video, true)) ? craft.transcoder.getFileInfo(video, true) : false %}
But I don't know if this is the best way.
Fixed in https://github.com/nystudio107/craft-transcoder/commit/af102a1d1d134cadf64c01daf15a494262d124aa
When ffprobe can't run for some reason or there's no valid file data returned, getFileInfo() generates an server error which is not catched correctly:
Edit: for now I resolved it with:
But I don't know if this is the best way.