MediaFile thumbnail event hooks + VideoThumbnails plugin
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 16 Apr 2014 17:14:26 +0000 (19:14 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 16 Apr 2014 19:48:58 +0000 (21:48 +0200)
commit06d4cecf7f03adae35a50375cc4e91c9eda1fc9e
tree98af6fb64847be3291bb8644faaf1c81f751c4b1
parent00aa3fa734cbea9e7796c8ef419c0de16af81b79
MediaFile thumbnail event hooks + VideoThumbnails plugin

The exception thrown from MediaFile will be caught and simply result in
no thumbnail at all right now. In the future we might use a catch-all
and have a "cannot generate preview"-icon or something.

VideoThumbnails requires php5-ffmpeg and php5-gd.
EVENTS.txt
classes/File.php
classes/File_thumbnail.php
lib/imagefile.php
lib/mediafile.php
lib/unsupportedmediaexception.php [new file with mode: 0644]
plugins/VideoThumbnails/VideoThumbnailsPlugin.php [new file with mode: 0644]