dm_moviebox
a lightbox-style movie player built with mootools.

dutchmoney

dm_moviebox

downlaod compressed (11k)
downlaod uncompressed (16k)

the moviebox script was built from the ground up with the goal of making it just work. aside from the main mootools 1.11 file, no extra css or javascripts are needed. it supports quictime mov and mp4, youtube links, google video links, windows media wmv and asf. all that's needed is a link to a filetype listed above, or a link to a youtube/google video page and the script will do a plugin/mime detect and play the link in lightbox fashion if it is supported. if not, the link should function as it normally would. simply include the following lines of code on any page:

<script type="text/javascript" src="scripts/mootools.js"></script>
<script type="text/javascript" src="scripts/dm_moviebox.js"></script>

additional documentation
coming soon.

test links:
mov test
mp4 test
youtube test
google video test
wmv test
asf test

from a linked image:
movie

comments:

David
October 1, 2007, 7:51pm
This is cool, but in Windows IE 6 & 7, the audio keeps playing after the video is dismissed. I'm using XP. No such troubles when viewed on the Mac or when using FireFox on Windows.

jesse von doom (dutchmoney)
October 3, 2007, 9:52am
hi david. are you talking about quicktime? there's a bug in the PC quicktime plugin that keeps it playing audio even after the object is dismissed. i'm sorry there's some trouble...i had thought it was mostly fixed. let me look into it and see if i can find a proper fix...

kris
October 5, 2007, 2:35pm
Hi, I have the same problem in IE 6 & 7, the audio keeps playing after closing the video by clicking on the link 'close'. It's ok if we press the 'Escape' key to close the video.

I tried with wmv file.

kris
October 5, 2007, 2:57pm
Hi, I have the same problem in IE 6 & 7, the audio keeps playing after closing the video by clicking on the link 'close'. It's ok if we press the 'Escape' key to close the video.

I tried with wmv file.

Vinz
December 10, 2007, 2:26pm
Is there a way to stop the yellow quicktime notification line on top of IE(7)?

Jorge Epuñan
January 15, 2008, 2:46pm
it was very easy to implement .mp3, using the qt plugin. now i'm trying to add .swf support, same as youtube embbed.

Nonamer66
January 19, 2008, 4:04pm
I have the same problem with youtube still playing the video after hitting close or outside of the box. Only occurs in IE. I wish everyone used firefox. :(

soogal
April 17, 2008, 11:07pm
http://soogal.110mb.com

mootools at work litebox at work etc

check it out :d

add a comment:

(sorry, HTML is not allowed.)

your name:

comment:

please feel free to email us with any questions/comments/suggestions.
all dm_ scripts ©2007 dutchmoney llc / distributed under the MIT license, terms here