inserting flash

Discussion in 'HTML & Website Design' started by Swerd, Sep 17, 2008.

  1. #1
    hey,

    I want to insert flash into one of my sites but it doesnt seem to be working for me.

    I am using adobe CS3.

    I have the flv file. when I insert the flash in dreamweaver and upload nothing shows up on the site. I have tried converting to .swf using flash then insert the swf.. When i do this i can see the player but still no video.

    any ideas?
    cheers,
     
    Swerd, Sep 17, 2008 IP
  2. ClickMedia

    ClickMedia Banned

    Messages:
    104
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just use embed tag to show flash (design) file in the web page.
    If you want to show a .flv movie you need a FLV player (web player).
     
    ClickMedia, Sep 17, 2008 IP
  3. SEOnWebDesigning

    SEOnWebDesigning Banned

    Messages:
    270
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    from insert menu you can select insert flv.
     
    SEOnWebDesigning, Sep 17, 2008 IP
  4. Swerd

    Swerd Active Member

    Messages:
    1,657
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    90
    #4
    Thanks.

    what have i done here: http://www.ezcbcash.com/test.html ?

    Yeah, what I want is the FLV player. I have recorded a video of myself for my marketing site and want to put it on my site at http://www.ezcbcash.com/2/ (in the box up the top)

    I have converted the movie file to FLV using an adobe program. I want it so when the mouse goes over the video a control panel shows with play pause etc etc.

    Thanks heaps for any help
     
    Swerd, Sep 17, 2008 IP
  5. Swerd

    Swerd Active Member

    Messages:
    1,657
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    90
    #5
    anyone able to help?

    cheers,
     
    Swerd, Sep 18, 2008 IP
  6. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I surf with scripts off by default. I saw the box where the movie was, and some text, though nothing played of course. I turned scripts on, and everything vanished. Why?

    I think it's because you stuck the movie inside the noscript tag. When there are no scripts, there's a nice movie (can't be seen though, since when I block scripts I usually block Flash etc as well). When scripts are enabled, the noscript tag goes dead (like it should).

    Not sure what all the AC flash javajunk crapola is... the only reason I've found for its existence is when you've made a Flash, and have no web page, and want to check out your video in a web browser. You can have .swf's without that JS so I'm thinking you don't need it there for an FLV (I know nothing about FLV's but nor sure it even matters).

    The <embed> tag works pretty well cross browser but it's an invalid tag. There's some other ways to stick stuff on your pages:

    There's Flash Satay.
    <object id="whatever" type="application/x-shackwave-flash" data="whole path of your movie file.swf" width="550" height="400">
    <param name="movie" value="testvideo.swf" />
    </object>

    That actually works, though IE6 does that "click to continue loading this page" stuff and there's some other things you have to do if you want IE to play while it's still loading (streaming), and another thing if you want the "You don't have the latest Flash, download here" stuff.
    Flash Satay
    Bye Bye Embed

    Another way to load Flash on pages is using some JS like SWFObject (used to be UFO and another, I forget what it's called).

    What's nice about SWFObject is it can do all the "Get the latest Flash player" by determining which version the movie needs in the JS, makes IE work normally, and you can even send another file if the user doesn't have Flash or has Flash turned off (however, if Javascript is turned off there's nothing, so stick some alt content as a child of your object, which works in some browsers at least, lawlz).
    http://code.google.com/p/swfobject/wiki/documentation
    http://pipwerks.com/lab/swfobject/

    The HTML is a bit bigger cause this uses two objects, an outer object for IE and an inner one for teh Mozillas. Opera and Safari I guess don't care which one is which so long as they play the same movie.
    example HTML code:
    
          <object id="kleinswf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" height="400" width="600px">
            <param name="movie" value="Klein.swf">
              <!--[if !IE]>-->
    	  <object type="application/x-shockwave-flash" data="Klein.swf" height="400" width="600px">
    	    <!--<![endif]-->
                <img src="../../images/klein.jpg" height="400" width="600" alt="[woohoo, an image]">
                <!--[if !IE]>-->
    	  </object>
    	  <!--<![endif]-->
          </object>
    
    Code (markup):
    So, there's a lot of things you could do.

    But again, if you keep going the way you do (with the "Twice Baked method" which does still work anyway), I think it's the noscript stealing your movie.
     
    Stomme poes, Sep 19, 2008 IP
  7. Freaker2k4

    Freaker2k4 Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    1. Exactly, what is the function of the <noscript> tag there :confused:
    2. why don't you simply use :
    <object>
      <param name="movie" value="testvideo.swf" />
      <embed src="testvideo.swf" width="550" height="400"></embed>
    </object>
    Code (markup):
    3. the quality depends more on the SWF itself rather when you set it manually.
     
    Freaker2k4, Sep 19, 2008 IP