Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Feb 2009
    Posts
    18
    Member #
    18405
    Okay so I have the following demo movie on my web site:
    http://nburda.net/box/try.html

    Here is the code in it:
    <p>
    <object type="video/x-ms-wmv" data="demo.avi" width="1008" height="568">
    <param name="src" value="demo.avi"/>
    <param name="autostart" value="false"/>
    <param name="autostart" value="0"/>
    <param name="controller" value="true"/>
    </object>
    </p>

    As you can see the video is terrible. The background is supposed to be white. This true for both IE and Firefox. It also takes forever to load. When I originally recorded it it was perfect, but displayed in these browsers it sucks. Is there some way to edit the object tag to force it to display with better resolution? Perhaps I can try another format? Cutting down the size of the file would help as well.

  2.  

  3. #2
    Senior Member
    Join Date
    Dec 2008
    Posts
    483
    Member #
    17875
    Liked
    1 times
    not to sure on the object tag, its support is horrible across browsers but you CAN make it work.

    The load time might be due to video encoding, you should reencode the video with divx. I know it offers good compression, their might be better, but flv and divx seem to be popular. with flv youd be using a flash player and not wmp. I would recommend looking into the use of flv and a flash based video player (this seems to be the way the web is going now a days - eg youtube and other big sites)

    This might help : http://www.longtailvideo.com/players/jw-flv-player/

    gluck

  4. #3
    Junior Member Catherine's Avatar
    Join Date
    Aug 2009
    Posts
    6
    Member #
    19693
    When changing HTML code for video, it is recommended to add Embed tag, e.g. <embed src="demo.avi" ....>
    With embed and object tag, your video could play on most of browsers. Generally, AVI is not much compressed and the video quality could be good. But video size will be much large, and it requires more time for loading. You may also use FLV with F4V as video codec, which also offer good quality. Your video will be smaller, and good for video streaming online. You may have a look at Moyea PlayerBox to create your own player for Flash video (FLV).

  5. #4
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    The <object> tag is the XHTML standard; <embed> is not.

    Something that works all the time is a Flash video player loaded via swfobject. Flash is a giant hack as it is, but this solution does at least work.

    A decent video player: http://www.longtailvideo.com/players/jw-flv-player/
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  6. #5
    Junior Member Catherine's Avatar
    Join Date
    Aug 2009
    Posts
    6
    Member #
    19693
    Oh, I just notice that videos like .avi, do not need embed tag.


Remove Ads

Posting Permissions

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

Search tags for this page

object tag avi play

Click on a term to search for related topics.
All times are GMT -6. The time now is 06:15 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com