Quote:
Originally Posted by icymelon
that would be nice. the question is what is the best way for it to work?
you have an option to set the flv player. then you just need to post the flv url and thumb url. these would be displayed under ever post box? or would it be better if it worked like nextgen gallery? you insert a code into the post so you can position where the video is positioned?
|
I'm not quite sure what you guys are talking about, but this is what I do for Wordpress, using the
Flash Video Player Plugin:
Open wp-includes/js/quicktags.js in your favourite editor and add this:
Code:
edButtons[edButtons.length] =
new edButton('flv_video_input'
,'flv'
,'[flashvideo file="&image=http://www.urlofposterimage.jpg" /]'
,''
,''
);
When you create a new post, you'll now have an flv quicktag. Click it. Add your video url before "&image" and the poster image after "image="
To position your video, replace:
Code:
,'[flashvideo file="&image=http://www.urlofposterimage.jpg" /]'
with:
Code:
,'<div class="flvposition">[flashvideo file="&image=http://www.urlofposterimage.jpg" /]</div>'
and add a .flvposition entry to your style.css file