Web Analytics Made Easy -
StatCounter Embedding a .wmv file into HTML page.....please help!! - CodingForum


No announcement yet.

Embedding a .wmv file into HTML page.....please help!!

  • Filter
  • Time
  • Show
Clear All
new posts

  • Embedding a .wmv file into HTML page.....please help!!

    Hey all

    Have been trying to solve this for far to long n I think I'm being abit dim so forgive me.

    Basically I have a .wmv file I need to pop into a HTML page. I have some code after scouting on the net and the vid shows up and kinda plays but the controls arent showing properly and the video has decided to slide down the page.....clueless as to why that is!! I assuming I want to embed it so it's simply on page ready to play when the viewer wants to watch it?

    anyway could anyone shed some light, have a looksie and see where I have gone wrong????

    be much apprechiated

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <title>Creative Bexhill-Videos</title>
    <link rel="shortcut icon" href="images/favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="test.css" />
    <div id="wrapper">
    <div id="logo"><a href="index.html"><img src="images/logo1.png" alt="Creative Bexhill Logo" border="0"/></a></div>
    <div id="nav">
    <li><a href="index.html"><img src="images/homer.png" border="0" alt="Home"/></a></li>
    <li><a href="about.html"><img src="images/aboutr.png" border="0" alt="About Us"/></a></li>
    <li><a href="media.html"><img src="images/mediar.png" border="0" alt="Media"/></a></li>
    <li><a href="events.html"><img src="images/eventsr.png" border="0" alt="Events"/></a></li>
    <li><a href="links.html"><img src="images/linksr.png" border="0" alt="Links"/></a></li>
    <li><a href="contact.html"><img src="images/contactr.png" border="0" alt="Contact"/></a></li>
    <div id="content">
    <h1 align="center">Welcome to our Video page.</h1>
    <div align="center">Videos from YouTube of our song "Time to Change".</div>
    <div id="videos">
    <table width="100%" border="0" cellpadding="20" cellspacing="10" align="center">
    <td width="40%" align="center"><iframe title="YouTube video player" class="youtube-player" type="text/html" width="350" height="276" src="http://www.youtube.com/embed/DAkzB-1-3nc" frameborder="0" allowFullScreen></iframe></td>
    <td width="40%" align="left">Jamie Harris and Friends have recorded "Time To Change" inspired by the anti-stigma campaign.<p/> Featuring professional musicians and service users, the song was produced by Jamie Harris at The Rooms studio in St Leonards with engineer Rob expertly managing the equipment.<p/> The song, written by Andrew Voyce, was recorded during April and May 2009.<p/>We all think its great, but then we would!</td>
    <td width="40%" align="center"><iframe title="YouTube video player" class="youtube-player" type="text/html" width="350" height="276" src="http://www.youtube.com/embed/ca1ay0Jy0pQ" frameborder="0" allowFullScreen></iframe></td>
    <td width="40%" align="left">This time being performed LIVE at the Singathon in Alexandra Park, Hastings, East Sussex.
    Following on from the launch this year of the national TV and press campaign, a group of local musicians have got together to record their song, "Time to Change".<p/> With its message highlighting the stigma and discrimination faced by people with mental health issues, Jamie Harris and Friends hope their music will help the wider public gain a better understanding of the difficulties people face, when trying to live and work whilst experiencing illness and distress.</td>
    <td width="50%" align="center">
    <object id="MediaPlayer" width=500 height=840 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
    <param name="filename" value="asylum_video.wmv">
    <param name="Showcontrols" value="True">
    <param name="autoStart" value="False">
    <embed type="application/x-mplayer2" src="asylum_video.wmv" name="MediaPlayer" width=500 height=840></embed>
    <hr width="100%" size="5" align="centre" color="#0100c4"/>
    <div align="center"><b>Community Interest Company Number: 7333230</b></div>
    <div id="footer">Website designed by <a href="mailto:[email protected]">CT-Designs</a> 2011</div>  
    ps yes i know this page is in tables, i just never got around to changing this page to CSS unlike most of the site

    Thanks in advance for any help which as always i am very grateful for.....specially as I have taken far to long to do this for them already!!

    Last edited by claire_t; Aug 30, 2011, 02:09 PM.
    Hmmmm......scratchy head time......