|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Join Date: Jan 2006
Location: Ohio
Posts: 32
Reputation: 0
|
Embedded Video in a webpage
Hi, all.
I am new to web design and currently have a website for my basketball team. Was wondering if anyone knows how I can do the following: When the main page pops up, how do I get a video to run first and then the main page? Or How can I have an intro page pop up and then when finished disappears and brings up the main page. Are there codes I can use? Thank you in advance for your help. James |
|
|
|
|
#2 | |
|
mod_rewrite
Join Date: Apr 2002
Location: Melbourne, Australia
Posts: 2,038
Reputation: 166
|
Quote:
Much better is to offer a prominent link to the video on your main page. As to how you embed video in a web page, I am sure someone here will be able to offer some advice. Alternatively, you could consult google.
__________________
Mirzabah. the inner curmudgeon *NEW direbeetles.com prayerbabies.com sunshineharvester.com theoriginalsnakeskins.com |
|
|
|
|
|
#3 |
|
Join Date: Feb 2003
Location: Allentown, PA USA
Posts: 15,215
Reputation: 467
|
I agree with Mirzabah. Never force Flash or video on your home page! Many people will leave your site if it takes too long to load. I have high speed Internet and I almost always skip the intro pages. If I found the site through a search engine, I probably entered the site on another page since intro pages are often not highly ranked pages.
http://www.w3schools.com/flash/flash_inhtml.asp This shows the simplest code to include Flash in a web page. <OBJECT classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH="500" HEIGHT="350"><PARAM NAME="movie" VALUE="filename.swf"> <PARAM NAME="quality" VALUE="high"> <PARAM NAME="bgcolor" VALUE="#FFFFFF"> <EMBED src="filename.swf" quality="high" bgcolor="#FFFFFF" WIDTH="550" HEIGHT="400" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED> </OBJECT> Replace filename.swf with your Flash file name. This is an example code and you will need to change the width and height. I would not use uppercase letters for tags anymore, but it IS easier to read. ![]() |
|
|
|
|
#4 |
|
Join Date: Jan 2006
Location: Ohio
Posts: 32
Reputation: 0
|
Thank you, Mirzabah and Yvette Kuhns for your message. I agree with you, I don't like intro when they take so long, but I was curious on how to write the code. I doubt I will be doing it that way. I have a separate intro page that gives the visitor an option to watch the video or to go to the main page.
I don't have flash, so I created the video in Ulead and saved it as a wav file. Is flash better? Reason, I ask, my stuff doesn't come out clear. It is fuzzy. Again, thank you for your assistance on this. James |
|
|
|
|
#5 |
|
Mod.. with bite..
Join Date: Sep 2002
Location: Australia
Posts: 7,295
Reputation: 442
|
Saved it as a wav file? Why would you wanna do that? wav is for audio.
In Ulead save as an mpg or wma file. I also suggest you embed the mpg on your home page in a stopped mode. Allow your visitors to play it if they wish to or continue on to the information they're looking for. That way you won't drive repeat visitors crazy. There's a whole bunch of threads in here about embedding video with code examples. |
|
|
![]() |
| Thread Tools | |
|
|