According to the codes given by kbjradmin,i simplify it a lil full credits goes to the creator of the codes not me....
1.First add the codes from style.txt to your stylesheet....
2.next add the codes from head.txt to the <HEAD> section of your page.
don't forget to add the images for the following icons and their respective directory
Code:
imagefiles:['min.gif', 'close.gif', 'restore.gif', 'resize.gif'], //Path to 4 images used by script, in that order
3.then lastly on each posts,just add these codes with the links to your video...
Code:
<a href="#" onclick="divwin=dhtmlwindow.open('divbox', 'div', 'somediv', '#4: DIV Window Title', 'width=450px, height=300px, left=200px, top=150px, resize=1, scrolling=1'); return false">Video</a>
<!--SET RESIZE AND SCROLLING TO "0" TO REMOVE THOSE FUNCTIONS-->
<div id="somediv" style="display:none">
<!--THIS IS WHERE YOU INSERT THE CODE FOR YOUR VIDEO-->
</div>
hope this works for you...