Hi,
I am trying to create a video page template. I essentially want to call a custom field from a page to fill in the video and splashimage fields. So from your template theme code:
<?php
if (function_exists('hana_flv_player_template_call')){
$hana_arg="
video='http://www.kneelinghorse.com/wp-content/plugins/hana-flv-player/babyhana.flv'
player='2'
width='180'
height='150'
more_2=\"showStopButton: false, showScrubber: false, showVolumeSlider: false,showMuteVolumeButton: false,
showFullScreenButton: false, showMenu: false, controlsOverVideo: 'locked',controlBarBackgroundColor: -1,
controlBarGloss: 'none', usePlayOverlay:false \"
";
echo hana_flv_player_template_call($hana_arg);
}
?>
I would like to do something like this:
<?php $videolink = get_post_custom_values($key = 'videolink'); ?>
<?php $splashimage = get_post_custom_values($key = 'splashimage'); ?>
<?php
if (function_exists('hana_flv_player_template_call')){
$hana_arg="
video='<?php echo $videolink; ?>'
splashimage='<?php echo $splashimage; ?>'
player='2'
width='180'
height='150'
more_2=\"showStopButton: false, showScrubber: false, showVolumeSlider: false,showMuteVolumeButton: false,
showFullScreenButton: false, showMenu: false, controlsOverVideo: 'locked',controlBarBackgroundColor: -1,
controlBarGloss: 'none', usePlayOverlay:false \"
";
echo hana_flv_player_template_call($hana_arg);
}
?>
Is this possible? Or am I going about this all wrong?
Thank you in advance for any help!
resolved