Skip navigation
EwokStud 39 posts
Jun 3, 2009
Currently Being Moderated

How do you get flv files to play using <OBJECT>?

Apr 2, 2012 1:16 PM

Tags: #flash #html #swf #flv #object #fla

1.)

The following code was downloaded from the Adobe site, and edited by me, but I would like to play flv files instead of SWF.

 

<object

      classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"

      width="550"

      height="400"

      id="shadow"

      align="middle">

   <param

        name="shadow"

        value="Shadow.flv">

        <!--[if !IE]>-->

        <object

             type="application/x-shockwave-flash"

             data="Shadow.flv"

             width="550"

             height="400">

          <param

               name="shadow"

               value="Shadow.flv">

      <!--<![endif]-->

      <a href="http://www.adobe.com/go/getflash">

      <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.g if"

       alt="Get Adobe Flash player">

       </a>

      <!--[if !IE]>-->

      </object>

      <!--<![endif]-->

  </object>

 

I thought flv was a more prolific filetype than SWF, and that flv was the norm....  I'd prefer to use the filetype which uses the least amount of disk space, and loads faster, between the two of them.

 

2.)

Also, I need to learn more about classid, because I do not know if the classid in the original code is that, which I need.  Is there a listing of class id types out there?  I do know what clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 means....

 

Please help

 
Replies
  • Currently Being Moderated
    Apr 3, 2012 5:23 AM   in reply to EwokStud

    flv is the media, not the player.  You need the player that makes it play, thus a Flash swf file with either an FLVPlayback component or a NetStream implementation.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points