Trying to Embed Artiss Youtube
-
Im trying to use the plugin Artiss youtube embed on my post pages and use a custom field to enter the url for the player but I keep getting a syntax error. What’s wrong with this picture?
<?php
$name = get_post_meta($post->ID,’video_code’,true);
if ($name) {
youtube_video_embed( $name, ‘width=600&height=320’ );
endif;
?>Returns a syntax error of unexpected T_ENDIF
- The topic ‘Trying to Embed Artiss Youtube’ is closed to new replies.