[Plugin: ProPlayer] Getting the video from a Custom Field
-
My theme has a video section that gets the videos from a custom field.
Here is the code in Single.php:<?php if($npdv_options['enableVideo'] == 1) { ?> <?php if ( in_category($npdv_options["videoCatID"]) ): ?> <object type="application/x-shockwave-flash" style="width:510px; height:280px; margin-bottom:15px;" data="<?php echo get_post_meta($post->ID, 'video', true); ?>"> <param name="wmode" value="opaque" /><param name="movie" value="<?php echo get_post_meta($post->ID, 'video', true); ?>" /></object> <?php endif; ?> <?php } ?>My question is that how I can replace this code with a new code that shows ProPlayer and gets the video from the custom field “video”?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘[Plugin: ProPlayer] Getting the video from a Custom Field’ is closed to new replies.