need to align video player
-
i have a video player that i am trying to align to the top of the table that it’s in and no matter what i do it will not obey.
<?php $video = get_post_meta($post->ID, 'live', true); if ($video == '') { ?> <?php $var = get_post_meta($post->ID, 'video', true); if ($var == '') { } else { ?> <div align="center"><a class="player" style="display:block;width:640px;height:360px;vertical-align: middle" id="aplayer"> <img src="http://harmonynet.net/filmstrip_archive.jpg" alt="Watch archive" /></a></div> <script> flowplayer("aplayer", "http://lcsworld.com/wordpress/flowplayer/flowplayer-3.2.9.swf", { clip: { url: 'mp4:<? echo $var; ?>', live: false, autoPlay: true, autoBuffering: true, provider: 'harmonya', ipadUrl: 'http://harmonynet.net:1935/harmonynet/<? echo $var; ?>/playlist.m3u8' }, plugins: { harmonya: { url: "http://lcsworld.com/wordpress/flowplayer/flowplayer.rtmp-3.2.9.swf", netConnectionUrl: 'rtmp://harmonynet.net:1935/harmonynet' } } }).ipad(); </script> <?php }?> <?php } else { ?> <table width="900" border="0" cellpadding="0"> <tr> <td width="640" align="left" vertical-align="Top"> <div vertical-align="top"> <a class="player" style="display:block;width:640px;height:360px;vertical-align: top" id="player"> <img vertical-align="top" src="http://harmonynet.net/filmstrip_live.jpg" alt="Watch Live" /></a></div> <script> flowplayer("player", "http://lcsworld.com/wordpress/flowplayer/flowplayer-3.2.9.swf", { clip: { url: '<? echo $video; ?>', live: true, autoPlay: true, autoBuffering: true, provider: 'harmony', ipadUrl: 'http://harmonynet.net:1935/harmonylive-record/<? echo $video; ?>/playlist.m3u8' }, plugins: { harmony: { url: "http://lcsworld.com/wordpress/flowplayer/flowplayer.rtmp-3.2.9.swf", netConnectionUrl: 'rtmp://harmonynet.net/harmonylive-record' } } }).ipad(); </script> </td> <td width="320" align="center"><object width="260" height="392" id="obj_1334227535947"><param name="movie" value="http://harmonynet.chatango.com/group"/><param name="AllowScriptAccess" VALUE="always"/><param name="AllowNetworking" VALUE="all"/><param name="AllowFullScreen" VALUE="true"/><param name="flashvars" value="cid=1334227535947&a=000000&b=100&c=FFFFFF&d=CCCCCC&e=000000&g=F6F6F4&k=666666&l=333333&m=000000&n=FFFFFF&s=1&t=0&aa=1"/><embed id="emb_1334227535947" src="http://harmonynet.chatango.com/group" width="260" height="392" allowScriptAccess="always" allowNetworking="all" type="application/x-shockwave-flash" allowFullScreen="true" flashvars="cid=1334227535947&a=000000&b=100&c=FFFFFF&d=CCCCCC&e=000000&g=F6F6F4&k=666666&l=333333&m=000000&n=FFFFFF&s=1&t=0&aa=1"></embed></object></td> </tr> </table> <?php } ?>how can i fix this this is in the Twenty Ten: Main Index Template file.
The topic ‘need to align video player’ is closed to new replies.