• Resolved ceejee

    (@ceejee)


    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)
  • I was unaware Flash did .mov files. There’s a [quicktime] shortcode that was meant for that, but perhaps Flash is a better solution.

    You can also just manually specify the preview image URL (until I fix the bug):

    [flv image="http://site.com/image.jpg"]htt://site.com/video.mov[/flv]

    I’m using videos in flv format but the preview image has stopped working for me since I upgraded to 6.2.13. I was relying on the default where it looks for a jpg with the same filename as the flv. It was working fine before the upgrade, and the image is still there.

    I know I can specify the preview image manually, but the client who will be maintaining the site is not technical, and the automatic pickup of the preview image was very handy.

    Has this broken for anyone else since upgrading?

    Thread Starter ceejee

    (@ceejee)

    The .mov file I use is h.264 encoded which seems to play just fine using the Flash shortcode. If I insert the same .mov file using the quicktime shortcode, the movie does not show in Firefox. Thanks for the quick response and having a look at fixing it!

    I’m using videos in flv format but the preview image has stopped working for me since I upgraded to 6.2.13.

    I’ll double check my code while I’m looking at .mov.

    Thanks for the quick response Viper and for looking into this. Reverting to the old 6.2.12 version of vipers-video-quicktags.php got my preview images back working, but if nobody else if having issues maybe it’s just something in my setup…

    No, I’ve had other reports. I need to test my code more thoroughly before releasing. 🙂

    Thread Starter ceejee

    (@ceejee)

    Thank you Viper for the 6.2.14 release!

    I guess I’m confused about the limitations of this plugin. I’m running WP 2.8.6 and Viper’s Quicktags 6.2.14.

    When displaying self-hosted .flv files, the preview image is black.

    I know I can manually insert code to display a preview jpg, but isn’t there an way to automatically display the initial image of the video?

    Confused in Seattle,

    George

    I know I can manually insert code to display a preview jpg, but isn’t there an way to automatically display the initial image of the video?

    No, that is not possible unless the player were to start downloading the video file and that uses up bandwidth and defeats the purpose of a preview image. Even YouTube uses a preview image. 😉

    You have to supply a preview image of your own (it default to the same URL as the video file, but with a .jpg extension) or set a default preview image for ALL videos (better than a black screen).

    Hi Viper,

    im lovinyour great Plugin, but when i embed .m4v files in the [quicktime] tag, there is no preview image.

    How can i make it work??

    (The [quicktime image=”http://site.com/image.jpg”%5Dhtt://site.com/video.m4v%5B/quicktime%5D tag, doesn`t work. 🙁 )

    Best regards…

    Hi Viper,

    first you have to think, about the things you speak… 😀

    The preview image works!! It was my fail. Sorry!!!

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.