View Single Post
Old 11-16-2010, 02:19 PM  
garce
Confirmed User
 
garce's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: Toronto
Posts: 7,103
Quote:
Originally Posted by icymelon View Post
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
garce is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote