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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
Thread Tools
Old 06-28-2005, 07:44 PM   #1 (permalink)
An American Hero and Moderator, The Conversation Pit.
 
superflysmith's Avatar
 
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
superflysmith is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 06-28-2005, 09:35 PM   #2 (permalink)
Manager Emeritus
 
v-six's Avatar
 
Join Date: Sep 2004
Location: High Falls, NY
Posts: 2,073
OS: OS X for mac, XP Pro for PC


Send a message via AIM to v-six
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

v-six is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 06-28-2005, 10:08 PM   #3 (permalink)
An American Hero and Moderator, The Conversation Pit.
 
superflysmith's Avatar
 
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
superflysmith is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 06-28-2005, 10:16 PM   #4 (permalink)
Manager Emeritus
 
v-six's Avatar
 
Join Date: Sep 2004
Location: High Falls, NY
Posts: 2,073
OS: OS X for mac, XP Pro for PC


Send a message via AIM to v-six
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

v-six is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 06-28-2005, 10:27 PM   #5 (permalink)
Manager Emeritus
 
v-six's Avatar
 
Join Date: Sep 2004
Location: High Falls, NY
Posts: 2,073
OS: OS X for mac, XP Pro for PC


Send a message via AIM to v-six
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
v-six is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 06-29-2005, 12:36 AM   #6 (permalink)
An American Hero and Moderator, The Conversation Pit.
 
superflysmith's Avatar
 
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.
superflysmith is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 06-29-2005, 12:38 AM   #7 (permalink)
Manager Emeritus
 
v-six's Avatar
 
Join Date: Sep 2004
Location: High Falls, NY
Posts: 2,073
OS: OS X for mac, XP Pro for PC


Send a message via AIM to v-six
No need to thank me, you got it on yer own
__________________
mysql> --i-am-a-dummy

v-six is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 06-29-2005, 12:41 AM   #8 (permalink)
An American Hero and Moderator, The Conversation Pit.
 
superflysmith's Avatar
 
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
superflysmith is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 06-29-2005, 12:42 AM   #9 (permalink)
Manager Emeritus
 
v-six's Avatar
 
Join Date: Sep 2004
Location: High Falls, NY
Posts: 2,073
OS: OS X for mac, XP Pro for PC


Send a message via AIM to v-six
It probably just copied wrong, but you're missing a closing bracket at the end of
<img src="url of gif"</a>

I think it should be <img src="url of gif"></a>
... Here's to me wishing I was better at html
__________________
mysql> --i-am-a-dummy

v-six is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 04:28 PM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82