[Plugin: Viper’s Video Quicktags] Preview image flash movie
-
Perhaps I am using the wrong file type, but since my Mac outputs .mov files, I needed to edit line 3498 and 3499 of of vipers-video-quicktags.php (6.2.13 version) to also replace .mov extensions with .jpg in order to show the preview images.
original line ->
if ( false === $flashvars[‘image’] && in_array( substr( $content, -4 ), array(‘.flv’, ‘.mp4’) ) )
$flashvars[‘image’] = str_replace( array(‘.flv’, ‘.mp4’), ‘.jpg’, $content );modified line ->
if ( empty($flashvars[‘image’]) )
$flashvars[‘image’] = str_replace( array(‘.flv’, ‘.mp4’, ‘.mov’), ‘.jpg’, $content );
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘[Plugin: Viper’s Video Quicktags] Preview image flash movie’ is closed to new replies.