Results 1 to 9 of 9
  1. #1
    l33t h3x0r Jimmy D's Avatar
    Join Date
    Feb 2005
    Location
    Cybertron
    Posts
    258

    Question How do I embed wmv onto a webpage?

    Hi,
    Lately i have been trying to embed a wmv onto my webpage however it seems to now work for me. i'm using a simple code with no parameters which is <embed src=my_video.wmv> which works for me when it is a .avi file but seems not to work when using wmv files. is there special code for wmv? or does someone know of a wmv to avi converter?

  2. #2

    Default Re: How do I embed wmv onto a webpage?

    I haven't spoken to my wife for 18 months - I just don't dare to interrupt her.

  3. #3
    l33t h3x0r Jimmy D's Avatar
    Join Date
    Feb 2005
    Location
    Cybertron
    Posts
    258

    Default Re: How do I embed wmv onto a webpage?

    thanks for that, will have a download and see if it works

    Quote Originally Posted by Jimmy D
    however it seems to now work for me
    i ment 'not work for me.

  4. #4
    Wheels
    Join Date
    Dec 2004
    Location
    Auckland
    Posts
    45

    Default Re: How do I embed wmv onto a webpage?

    As I understand it, you need to use an Active-X control to embed a WMV file. The instructions are on the Microsoft site, but below is a sample code with some parameters included.

    <object id="MediaPlayer" width="480" height="384" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" border="0" standby="Loading Windows Media Player components..." type="application/x-oleobject">
    <param name="FileName" value="filename.wmv" />
    <param name="ShowControls" value="1" />
    <param name="ShowPositionControls" value="1" />
    <param name="ShowAudioControls" value="1" />
    <param name="ShowStatusBar" value="1" />
    <param name="AutoStart" value="1" />
    <param name="AnimationAtStart" value="1" />
    <param name="AllowScan" value="1" />
    <param name="Volume" value="50" />
    </object>

  5. #5
    Senior Member
    Join Date
    Jan 2005
    Posts
    1,052

    Default Re: How do I embed wmv onto a webpage?

    Active X won't work with Mac OS X and I am under the impression it doesn't work with FireFox under Windows. If you want to keep your visitors happy, Flash based video would probably be the best option.

  6. #6
    Senior Member
    Join Date
    Dec 2004
    Location
    Auckland
    Posts
    5,069

    Default Re: How do I embed wmv onto a webpage?

    Quote Originally Posted by maccrazy
    I am under the impression it doesn't work with FireFox under Windows
    The code that Wheels posted (as it works on the TVNZ website) does work with firefox.

  7. #7
    Correct my English!
    Join Date
    Feb 2005
    Location
    Cycling somewhere
    Posts
    6,292

    Default Re: How do I embed wmv onto a webpage?

    Doesn't the usual "embed" function work?
    <embed src="filename.wmv">
    I have forgotten what's the tagline again to specify the size in terms of width and height

    Cheers

    Free, 24/7 telephone health advice service | Healthline - 0800 611 116

    Smoking KILLS. Don't let your life be ruled by cigarettes. | Quitline - 0800 778 778 ‎

    Join the unofficial PressF1 WCG team!



  8. #8
    Senior Member pine-o-cleen's Avatar
    Join Date
    Dec 2004
    Posts
    2,269

    Default Re: How do I embed wmv onto a webpage?

    Does anyone use Google anymore?

  9. #9
    Wheels
    Join Date
    Dec 2004
    Location
    Auckland
    Posts
    45

    Default Re: How do I embed wmv onto a webpage?

    Yes, the <embed> tag is the rest of the code that's used for compatibility with the Mozilla browsers, I just posted the common code to get Jimmy started... the latest Firefox and Netscape browsers both now view ActiveX components but the embed code should make it more compatible for older browsers...
    And as pine-o-clean mentions in their post, google has all the answers... and much simpler than Flash based video.

Similar Threads

  1. Embed excel into company intranet
    By Gobe1 in forum PressF1
    Replies: 9
    Last Post: 21-06-2008, 10:40 AM
  2. Asus to embed Linux into all motherboards
    By Morpheus1 in forum PressF1
    Replies: 1
    Last Post: 18-05-2008, 11:47 PM
  3. Help with Webpage please...
    By John W in forum PressF1
    Replies: 1
    Last Post: 08-07-2007, 12:48 PM
  4. Replies: 1
    Last Post: 11-06-2006, 05:32 PM
  5. Replies: 3
    Last Post: 28-10-2004, 12:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •