![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
Thread Tools |
|
|
#1 (permalink) |
|
An American Hero and Moderator, The Conversation Pit.
Join Date: Oct 2004
Location: Milwaukee, WI
Posts: 1,576
OS: XP PRO
|
html/css code
I very new to all of this so I was hoping someone could help me out with a code.
I want a .gif file to link to a .mov file. I would like the movie file to open up right away and begin to play after the .gif is clicked. Does anyone have a code to do this?
__________________
"Some people go their whole life wondering if they ever made a difference. Marines don’t have that problem." Bush made the Packers lose
|
|
|
|
|
|
#2 (permalink) |
|
Manager Emeritus
|
I'm not sure if this will work for what you want, but its worth a try. It's the bare minimum code needed. If that doesn't do what you want, we'll get you a better answer.
<a href="yourmovie.mov" target="_blank"><img src="image.gif"></a>
__________________
mysql> --i-am-a-dummy
|
|
|
|
|
|
#3 (permalink) |
|
An American Hero and Moderator, The Conversation Pit.
Join Date: Oct 2004
Location: Milwaukee, WI
Posts: 1,576
OS: XP PRO
|
Thanks for replying. I had to switch it to an mpg file because it was just too big. so now I'm trying to figure that out. theses are the codes I'm working with...
video= <embed name="RAOCXplayer" src="URL of video goes here" type="application/x-mplayer2" width="400" height="302" ShowC."1" ShowStatusBar="1" AutoSize="true" EnableC."0" DisplaySize="0" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/ Products/MediaPlayer/"></embed> picture= <a href="url_of_link" target="_blank"><img src="url_of_image" alt="Click Here"></a> I think the embed is causing me problems. I've got the picture showing along with the player. When I take the embed out. I've got the picture showing as well as parts of the video code. Needless to say I don't have much hair left.
__________________
"Some people go their whole life wondering if they ever made a difference. Marines don’t have that problem." Bush made the Packers lose
|
|
|
|
|
|
#4 (permalink) |
|
Manager Emeritus
|
do you want the movie to open in a new window, or somewhere on the current page? If you want it in a new window, which is what you have with _blank... I don't see why you'd be getting the image in the new window also. I'll try to get this all straightened out, hopefully someone with more html experience than I will come to the rescue.
__________________
mysql> --i-am-a-dummy
|
|
|
|
|
|
#5 (permalink) |
|
Manager Emeritus
|
Next attempt
This is another barebones function, see if it does what you want for the video. If it does, you should be able to link your gif to a new html page that you can set up however you want with this in the body.<embed SRC=http://videosource.wmv AUTOPLAY=true CONTROLLER=true LOOP=false>
__________________
mysql> --i-am-a-dummy
Last edited by v-six : 06-28-2005 at 10:29 PM. Reason: important typo |
|
|
|
|
|
#6 (permalink) |
|
An American Hero and Moderator, The Conversation Pit.
Join Date: Oct 2004
Location: Milwaukee, WI
Posts: 1,576
OS: XP PRO
|
Thanks for all your help. I finally got it close to what I want. This is the code I ended up with...
<a href="url of mpg"type="application/x-mplayer2" width="400" height="302" ShowC."1" ShowStatusBar="1" AutoSize="true" EnableC."0" DisplaySize="0" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/ Products/MediaPlayer/"target="_blank"><img src="url of gif"</a> It's close to what I want.My only knock on it is, It opens up right away in windows media w/out d/l the whole thing first. So it's a little choppy. I'm not really sure I can fix it because it opens differently on both my computers and differently in both IE and Firefox. But I can live with the results. Thanks again for your help.
__________________
"Some people go their whole life wondering if they ever made a difference. Marines don’t have that problem." Bush made the Packers lose
Last edited by superflysmith : 06-29-2005 at 12:39 AM. |
|
|
|
|
|
#8 (permalink) |
|
An American Hero and Moderator, The Conversation Pit.
Join Date: Oct 2004
Location: Milwaukee, WI
Posts: 1,576
OS: XP PRO
|
Yea but it's good to know there is people out there ready to try and help out if I get stumped.
__________________
"Some people go their whole life wondering if they ever made a difference. Marines don’t have that problem." Bush made the Packers lose
|
|
|
|
![]() |
| Thread Tools | |
|
|