WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Viper’s Video Quicktags] Only Preview Images shown, no Video?

[Plugin: Viper’s Video Quicktags] Only Preview Images shown, no Video?

  • I am using the following code to retrieve posts and show only plugin shortcodes as videos(don’t want to show complete post and mess up):

    $pattern = get_shortcode_regex();
    $pattern = str_replace('(.?)', '', $pattern);
    $pattern = str_replace('2', '3', $pattern);
    $content = $post->post_content;
    $shortcodes = preg_replace("/.*($pattern).*?/s", '$1', $content);
    echo do_shortcode($shortcodes);

    Now the problem is that shortcodes do get parsed but instead of loading the video, it shows only the preview image. Video is not shown. Here’s the demo: http://www.geneliaonline.in

    I tried disabling the option: Only load the Javascript file if it’s needed. Disable this to post Quicktime videos in the sidebar text widget. but this did not help.

    How to fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Viper’s Video Quicktags] Only Preview Images shown, no Video?’ is closed to new replies.
Skip to toolbar