Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Need a hand embeding video files into my website  (Read 5715 times)

0 Members and 1 Guest are viewing this topic.

A10 Tactical

    Topic Starter


    Beginner

    • Experience: Beginner
    • OS: Unknown
    Need a hand embeding video files into my website
    « on: September 03, 2012, 10:24:38 AM »
    I am having quite a difficult time with this.  All of the videos work correctly when I view my website in firefox but in Chrome nothing appears and in Internet Explorer only the play button appears with no video above it.

    Is there any kind of universal video embed code that will work in all 3 of those browsers?

    Here is what I have currently as my code.

    <object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
    standby="Loading Microsoft Windows® Media Player components..." type="application/x-oleobject" width="280" height="256">
    <param name="videos/M-14.avi" value="videos/M-14.avi">
    <param name="animationatStart" value="True">
    <param name="transparentatStart" value="True">
    <param name="autoStart" value="True">
    <param name="showControls" value="True">
    <param name="Volume" value="-450">
    <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="videos/M-14.avi" name="MediaPlayer1" width=350 height=350 autostart=0 showcontrols=1 volume=-450>   

    TechnoGeek

    • Guest
    Re: Need a hand embeding video files into my website
    « Reply #1 on: September 03, 2012, 11:30:32 AM »
    if it works in firefox and not chrome, something is probably wrong with the embed code, but it looks okay to me. may be a plugin compatibility issue as well (?)

    in IE, it looks like the param where you set the video name is incorrect. I think you mean <param name="filename" value="videos/M-14.avi"> for that first tag.

    A10 Tactical

      Topic Starter


      Beginner

      • Experience: Beginner
      • OS: Unknown
      Re: Need a hand embeding video files into my website
      « Reply #2 on: September 03, 2012, 12:57:16 PM »
      Thank you Techno all seems to be working now :))