Adding video to a websites homepage.

Have a site "" which takes you to index.php home page. I have the task of adding the video to the website. The video is a wmv 26.7 MB 640X360 Frame Width / Height Respectively. I can access the index.php file but im looking for suggestions of how to code this in and best place for it. I was thinking of a small box with a play button like i see on some sites..but dont know anything about php coding. I have backed up the index.php file by renaming it in case i have to revert to it should i make a mistake.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You can upload it to youtube or vimeo and use their embedding code.
You should use GET command to embed wmv video on your php page.
look at this:

i'm sure you'll be OK with that, if you have backed up index.php just copy and past and change the code according to your needs, your should create a directory under your website and upload the wmv file there, let say the location in the code will be <param name="filename" value="/wmv/yourmovie.wmv">  ..
also see here:

 if not you have a much wider definition here:

ShotgunGaperAuthor Commented:
I forgot to mention if theres a way to make the video pop up in the 640X360 dimensions since if its too large it messes up the width of the webpage.

if you don't know will about php coding, you can add video by using beautiful ajax effect and easy to use.

it's a free software make a video code for you, please see this example video:

you can create ajax code like the example you watch simply just download: Video LightBox here:

and you can add video to your website with stylish popup video effect.

also you can see demo in video light box website.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ShotgunGaperAuthor Commented:
Excellent easy to understand with the comments in the code and beautiful result. Thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.