WP Marketing » Topic: Automatic width and height http://wpmarketing.org/forum/topic/automatic-width-and-height Wordpress for Internet and Affiliate Marketing en-US Tue, 10 May 2016 12:09:47 +0000 http://bbpress.org/?v=1.0.2 <![CDATA[Search]]> q http://wpmarketing.org/forum/search.php hanadaddy on "Automatic width and height" http://wpmarketing.org/forum/topic/automatic-width-and-height#post-453 Wed, 11 Jan 2012 12:16:51 +0000 hanadaddy 453@http://wpmarketing.org/forum/ <p>Hmm, where did you read about the auto width adjustment of flv players? I do not recall such capability. </p> kneops on "Automatic width and height" http://wpmarketing.org/forum/topic/automatic-width-and-height#post-412 Tue, 22 Nov 2011 14:49:51 +0000 kneops 412@http://wpmarketing.org/forum/ <p>I'm using this plugin to show videos inside video.php, one of the attachment templates of WordPress. It works ok, but I read somewhere that flv within a flv-player is capable of adjusting itself to the native width and height. Now I have this code inside video.php, but my videos/flv's have all kinds of different widths and heights.</p> <p><code>&lt;?php $flvname = wp_get_attachment_url(); ?&gt; </p> <p>&lt;?php<br /> if (function_exists('hana_flv_player_template_call')){<br /> $hana_arg="<br /> video='$flvname'<br /> player='3'<br /> more_2=\"showStopButton: false, showScrubber: false, showVolumeSlider: false,showMuteVolumeButton: false,<br /> showFullScreenButton: false, showMenu: false, controlsOverVideo: 'locked',controlBarBackgroundColor: -1,<br /> controlBarGloss: 'none', usePlayOverlay:false \"<br /> ";<br /> echo hana_flv_player_template_call($hana_arg);<br /> }<br /> ?&gt;</code> </p>