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?