embed a video file in HTML


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 9 of 9

Thread: embed a video file in HTML

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    134

    embed a video file in HTML

    how do I embed a flv and also an ivr file in html? Index of /assets/video
    By the way, right click and save those while you can.

  2. #2
    Join Date
    Oct 2005
    Location
    Maady
    Posts
    1,819
    I think you have to make flash object that read the video and display it ..
    Programmer&Cracker CS
    MyBlog:Blog.Amahdy.com
    MyWebsite:www.Amahdy.com

  3. #3
    Join Date
    Nov 2007
    Posts
    2
    If you mean Flash movie files, use the following, where "moviefile.swf" is the movie filename...


    <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"

    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"

    WIDTH="550" HEIGHT="400" id="myMovieName">



    <PARAM NAME=movie VALUE="moviefile.swf">

    <PARAM NAME=quality VALUE=high>

    <PARAM NAME=bgcolor VALUE=#FFFFFF>



    <EMBED src="moviefile.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HEIGHT="400" NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"

    PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">

    </EMBED>



    </OBJECT>

  4. #4
    Join Date
    Mar 2008
    Posts
    4
    If its a swf file it can be embedded straight as stated above but if its flv or something other then I don't know .

  5. #5
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  6. #6
    Join Date
    Oct 2008
    Posts
    8
    i google,found this guide is about how to embed videos in HTML,maybe you can try.
    Last edited by lareina0707; 03-11-2009 at 05:26 AM.

  7. #7
    Join Date
    Mar 2013
    Posts
    1
    the video embeded in html website often is ended with flv or swf format.
    You can use Appgeeker Video Converter to handle as many different forms of conversions as you can possibly think of.
    http://www.ilikemall.com/how-to/conv...o-mov-mac.html
    Fully formed frame accurate editing lists.

  8. #8
    Join Date
    Feb 2010
    Posts
    4
    As I remember from html tutorials to embed the video to your website, you can also use codes as follows:
    HTML Code:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="320" height="240">
    <param name="movie" value="example.swf">
    <param name="quality" value="high">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="True" />
    <embed src="example.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" 
    type="application/x-shockwave-flash" width="320" height="240" allowScriptAccess="sameDomain" allowFullScreen="True"> 
    </embed>
    </object>
    You can replace the bold part, “example.swf”, with your own file, and reset width and height.

  9. #9
    Join Date
    May 2011
    Posts
    3

    Voynex Object Embedding

    I suggest to use a cross-browser JavaScript libraries such as SWFObject or Voynex Object Embedding to easily embed multimedia to your HTML documents.

Similar Threads

  1. Replies: 2
    Last Post: 08-30-2006, 08:48 AM
  2. wav file fade in out help
    By jase_dukerider in forum C++
    Replies: 2
    Last Post: 04-14-2005, 07:48 PM
  3. Replies: 0
    Last Post: 10-18-2001, 07:36 PM
  4. JApplet class not loading on html file
    By Sam in forum Architecture and Design
    Replies: 0
    Last Post: 02-04-2001, 01:57 AM
  5. Replies: 0
    Last Post: 08-22-2000, 10:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center