The plugin works great, but there is one problem.
After upload, you have to go into the post edit page and manually place the video into the post from the media gallery so that it will display.
I've been working with the developers of the plugin to find a solution, but they aren't coming up with great ideas.
here is their latest suggestion: place the following code into the theme's function.php file.
Code: Select all
add_action('wp_head','test_get_post_meta');
function test_get_post_meta(){
$data = wp_get_attachment_url( get_post_meta(3680, 'jtheme_video_file','true') );
var_dump($data);
}In order to do that, the code needs to get the video URL and send it to a field titled "jtheme_video_file"
Does anyone have any idea how to edit this bit of code so that the URL will get to the jtheme_video_file field where I need it?
Thanks for any help.