WP video input

Posted December 4th, 2005 by AMPower

<h2>Validly insert a flv video into a WP post</h2>

<p>Many video plugins don’t generate valid code</p>

<p>Besides, I really like the JW FLV Player created by Jeroen Wijering </p>

<h3>This is an h3</h3>

<h1 style=”text-align:center”>The Code</h1>

<h2>This is an h2</h2>
<p>This is a p</p>
<p>This is a p</p>
<h3>This is an h3</h3>
<div id=”UNIQUE ID” style=”text-align:center”>This div will be replaced</div><script type=’text/javascript’ src=’http://yoursite.com/yourdirectory/swfobject.js’></script>&ltscript type=”text/javascript”>
var so = new SWFObject(‘http://yoursite.com/yourdirectory/player.swf’,'vid’,'400′,’320′,’9′);
so.addParam(‘allowscriptaccess’,'always’);
so.addParam(‘allowfullscreen’,'true’);
so.addParam(‘flashvars’,'&author=Anthony M Power-AMPwerx&description=ADD DESCRIPTION&captions=ADD CAPTIONS&duration=ADD DURATION&file=ADD FILE LINK&image=ADD IMAGE LINK&link=http://ampwerxmedia.com/&start=ADD START TIME&title=ADD TITLE&type=ADD TYPE&volume=80&controlbar=over&plugins=viral-1&viral.callout=none&viral.onpause=false’);
so.write(‘UNIQUE ID’);
</script>

This div will be replaced


Be the first to comment on this post.


Post a Comment

Enter Your Details:


You may write the following basic XHTML Strict in your comments:
<a href="" title=""></a> · <acronym title=""></acronym> · <abbr title=""></abbr>
<blockquote cite=""></blockquote> · <code></code> · <strong></strong> · <em></em>

  • If you’re a first-time commenter, your response will be moderated.
  • If your response includes a link, it will require moderator approval.
Enter Your Comments:


Note: This is the end of the usable page. The image(s) below are preloaded for performance only.