Embed Quicktime over sliced PSD?
by Ryan Krumm
on
Sep 21, 2009 at 4:48:51 pm
Hello,
So I'm new to Dreamweaver and I'm trying to make a website to post videos onto. The simplest way for me to design the site (being a noob) was to make a sliced PSD file and import it into Dreamweaver. So when I click on the slice where I want the QT to play, it inserts the plugin below or above it. How do I get it to be on top of the image slice?
I know I could just simply work around it by created slices around where the video is going to play (as read on another post here) but there is going to be a gap there before the video pops up and I want to LEARN Dreamweaver not just get what I need done, you know?
Re: Embed Quicktime over sliced PSD? by Fernando Mol on Sep 21, 2009 at 6:54:04 pm
Use a slice as a placeholder for your video. Then, delete the content of the slice in Dreamweaver and place your Quicktime movie.
You can use a poster movie, so it doesn't start downloading until the user click on it.
A poster movie is a single frame quicktime mov file you exported from your full movie to represent it. The code to place a poster movie should look like this:
<EMBED SRC="posterMovie.mov" CONTROLLER=false WIDTH=180 HEIGHT=136 HREF="yourFullMovie.mov" TARGET="myself">
I hope this helps
*Remember to share a link to your site and to rate the posts. This is a free service for you and for us.
Re: Embed Quicktime over sliced PSD? by Ryan Krumm on Sep 21, 2009 at 8:12:27 pm
A poster frame is a great idea, thank you.
The only issue I run into by deleting the content from the slice is that it contains a radial gradient that spills into the other slices. Without it there, the background color that surrounds the movie shows and messes with the gradient effect. I know could always just slice around the movie, I was just thinking that there was a simple way just to layer the movie right on top of the slice. Is that possible?
But the movie won't play when the poster is clicked -- you have to hit the controller play button. This is all while I'm previewing in Safari, mind you.
Here is a sample of my code. I've copied it from the tutorial and made the appropriate adjustments.
Re: Embed Quicktime over sliced PSD? by Ryan Krumm on Sep 23, 2009 at 9:29:56 pm
Since this is my first attempt at creating a website, I haven't gotten a web host yet in case it didn't work out and I had to get someone else to do it.
I did notice that I was using the plugin method as opposed to ActiveX. Could that be the issue? Should I be using ActiveX?
Re: Embed Quicktime over sliced PSD? by Fernando Mol on Sep 24, 2009 at 1:51:58 pm
As far as I know, hspace and vspace does have that kind of render problem across browsers. But it could be something else. Pretty hard to guess without the actual page on my hands.
Try adding a CSS rule for the margins on that element or place it inside a div.
*Remember to share a link to your site and to rate the posts. This is a free service for you and for us.