Kevin Shahinian
September 13th, 2008, 10:42 PM
When watching some of the clips on Apple trailers (those on the Apple homesite):
Apple - Movie Trailers (http://www.apple.com/trailers/)
... The screen goes dark and up pops a quicktime player (embedded?) in a gray box with a "close" button at the lower right. Anyone know how this is coded? Would love to know how to add this feature/behavior to a website gallery of quicktime clips.
Thanks!
Pete Cofrancesco
September 13th, 2008, 11:41 PM
When watching some of the clips on Apple trailers (those on the Apple homesite):
Apple - Movie Trailers (http://www.apple.com/trailers/)
... The screen goes dark and up pops a quicktime player (embedded?) in a gray box with a "close" button at the lower right. Anyone know how this is coded? Would love to know how to add this feature/behavior to a website gallery of quicktime clips.
Thanks!
I believe its done through DHTML. Instead of opening a new window the movie is displayed in a layer and the colors of the text and background in the layer behind it are changed to appear dimmed.
If your thinking about doing it for your site, just know its a lot of work to get it run right and then takes a work to maintain. In addition you have to pay for your site to be on a streaming server otherwise the video won't stream.
Kevin Shahinian
September 14th, 2008, 04:12 PM
Any idea how this is coded? Not much help available online...
Pete Cofrancesco
September 14th, 2008, 11:49 PM
Any idea how this is coded? Not much help available online...
Right click on the page and you can view its source code. Even if you know DHTML the code will be difficult to decipher.