Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: css file

  1. #1
    New Coder
    Join Date
    Mar 2011
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts

    css file

    I have a question.

    The question is to embedded object for the trailridge.swf file. The file should
    be inserted as an ActiveX control for Internet Explorer users and as a plug-in for users of non-IE browsers. The dimensions of the video clip to 320pixels x 280 pixels.

    This is my code:

    <object data="trailridge.swf" type="video/x-ms-swf"
    classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6"
    codebase="http"//activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
    width="320px" height="280px" >

    When I refresh my file all the paragraphs are gone but, I can see the video clip.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,638
    Thanks
    6
    Thanked 1,004 Times in 977 Posts
    You have to close the object element, you know? Additionally, you have an erroneous double quote in the codebase attribute value.
    <object data="…" type="…" classid="…" codebase="…"></object>

  • #3
    New Coder
    Join Date
    Mar 2011
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts
    So, is this the correct codes?
    <object data="trailridge.swf" type="video/x-ms.swf"></object>

    codebase="http"//activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
    width="320px" height="280px" >

  • #4
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,638
    Thanks
    6
    Thanked 1,004 Times in 977 Posts
    Code:
    <object data="trailridge.swf" type="video/x-ms-swf"
    classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6"
    codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
    width="320px" height="280px" ></object>

  • Users who have thanked VIPStephan for this post:

    schumacher07 (04-14-2011)

  • #5
    New Coder
    Join Date
    Mar 2011
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thank you for your help...)

    It works


  •  

    Posting Permissions

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