How to embedd .swf file onto website?

4 replies
Hey i recently created a video using camtasia and optimized it for in .swf (flash format) however i do not know what html/code i need to embedd it into my web page? Can anyone help?


Thank you
#embedd #file #swf #website
  • {{ DiscussionBoard.errors[1182804].message }}
  • Profile picture of the author Vanquish
    Thanks for the program but i'm still having trouble embedding it on my site. Is there anyway you can give me a source code and tell me where to replace the .swf file or does anyone have any more ideas on how to embedd this damn .swf file, I thought it would be much easier than it currently is.
    Signature
    Nothing to sell, only value to give and new knowledge to learn.
    {{ DiscussionBoard.errors[1182914].message }}
  • Profile picture of the author sf_Imtiaz
    Originally Posted by Vanquish View Post

    Hey i recently created a video using camtasia and optimized it for in .swf (flash format) however i do not know what html/code i need to embedd it into my web page? Can anyone help?


    Thank you
    Code:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="###" height="###">
      <param name="movie" value="path/filename.swf">
      <param name="quality" value="high">
      <embed src="path/filename.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="###" height="###"></embed>
    </object>
    Replace the "###" in "width" and "height" with the actual width and height of your video.

    A much simpler code to do this is:

    Code:
    <object width="###" height="###">
    <param name="movie" value="path/filename.swf">
    <embed src="path/filename.swf" width="###" height="###">
    </embed>
    </object>
    But this smaller piece of code wouldn't work if the visitor doesn't have flash player. The top code will suggest to download flash player if the visitor doesn't have it.
    {{ DiscussionBoard.errors[1183032].message }}

Trending Topics