How to add a video file into an html page

I would like to add a Quick Time video into a website that i am currently coding for a school project. I have the video file on my hard drive, so I'm not trying to embed it from YouTube. I have tried several ways of placing the video into my webpage, but all I can hear is the sound from it, there is no visual to go with it. Does anyone know how I would go about placing the file into my webpage, or what code I would need to use? I'm using Dreamweaver CS4 and, once again, the video is a Quick Time file.
Thanks in advance.

QuickTime requires player and plugins that most people don't have.  You'll reach a much wider audience if you use HTML5 <video> with mp4, webm and ogg files.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>HTML5 with Video</title>
<!--help for older IE browsers-->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<style>
video {
    max-width:100%;
    display:block;
    margin:0 auto;
</style>
<body>
<h2>Use 3 File Types to support all browsers &amp; mobile devices:  MP4, WEBM and OGV.</h2>
<h3>Online Video Converter
http://video.online-convert.com/</h3>
<!--begin video-->
<video controls poster="Your_poster_image.jpg">
<!--these are 6 sec sample videos for testing purposes. Replace sample-videos with your own files-->
<source src="http://techslides.com/demos/sample-videos/small.webm" type="video/webm">
<source src="http://techslides.com/demos/sample-videos/small.ogv" type="video/ogg">
<source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
If you're seeing this, you're using an
outdated browser that doesn't support
the video tag. </video>
<!--end video-->
</body>
</html>
Nancy O.

Similar Messages

  • How to display a text file in a html page?

    I have written a servlet that executes a batch file whose output is saved to a txt file. I am attempting to display content of the text file as a html page from the servlet but am struggling I have attempted to read the file and output it as shown below but it is not displaying the correct data
    Appreciate some help
    Thanks in advance
    Amjad
    Runtime r = Runtime.getRuntime();
    Process p = r.exec("C:\\Condor\\test\\QueStatus.bat");
    PrintWriter out;
    String title = "Que Status";
    response.setContentType("text/html");
    out = response.getWriter();
    FileReader fr = new FileReader ("C:\\Condor\\test\\output.txt");
    for (int chr = fr.read(); chr != -1; chr = fr.read()){
         out.print(chr);
    }

    Couple of things. First you should search the forums for how to properly exec a dos batch file. There are some problems you may run into especially with io. I suspect you may not actually be running that batch file at all.
    I would test outputing a text file separately from execing the batch file.
    Here is some code so you don't have to output 1 char at a time. Setting the content length and closing the output stream might help.
    File downloadFile = new File("c:\\blah\\blah\\blah");
    response.setContentLength((int)downloadFile.length());
    response.setContentType("text/html");
    ServletOutputStream out = response.getOutputStream();
    FileInputStream fis = new FileInputStream(downloadFile);
    byte[] buffer = new byte[1024];
    int bytesRead;
    while ((bytesRead = fis.read(buffer)) != -1) {
    out.write(buffer, 0, bytesRead);
    fis.close();
    out.close();

  • How to Convert an existing window into an HTML page

    Hi,
    I am trying to convert a window into an HTML page using Forte Web
    Enterprise.
    - The window has just the widgets without any code behind it.
    - How can I use the WindowConverter class, WindowToDocument method for
    it etc.....
    Any suggestions? Can I get a sample code if anyone has tried this.
    Thanks in advance
    Nafisa Husain
    CBSI, Chicago

    user8731258 wrote:
    Hi,
    I want to know how can i convert my application into a clustered application.
    my current application there are 5 modules and thses modules have 5-10 tables in common.Since these modules work simultaeously the processing time gets increased drastically.Is it possible that to have seperate instances of these tables and every module works independently and oracle take care of the consistency.
    I want to know if RAC could be the solution?Sounds like an application design issue. I think you'd be best served tracing the applications and see where the overhead is being introduced when they do their process concurrently.
    Throwing RAC at a poorly developed application would do nothing except amplify the poor design (it'll make things worse).
    Cheers,

  • How to add a video file to Apex 4.2 as add photo ?

    good night All
    I wanna to add video file to apex like photo
    but i dont know how ??
    so i wait you ...
    thank for all

    QuickTime requires player and plugins that most people don't have.  You'll reach a much wider audience if you use HTML5 <video> with mp4, webm and ogg files.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 with Video</title>
    <!--help for older IE browsers-->
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    </head>
    <style>
    video {
        max-width:100%;
        display:block;
        margin:0 auto;
    </style>
    <body>
    <h2>Use 3 File Types to support all browsers &amp; mobile devices:  MP4, WEBM and OGV.</h2>
    <h3>Online Video Converter
    http://video.online-convert.com/</h3>
    <!--begin video-->
    <video controls poster="Your_poster_image.jpg">
    <!--these are 6 sec sample videos for testing purposes. Replace sample-videos with your own files-->
    <source src="http://techslides.com/demos/sample-videos/small.webm" type="video/webm">
    <source src="http://techslides.com/demos/sample-videos/small.ogv" type="video/ogg">
    <source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
    If you're seeing this, you're using an
    outdated browser that doesn't support
    the video tag. </video>
    <!--end video-->
    </body>
    </html>
    Nancy O.

  • How to add static resource file into the NetBean project

    I have several static data files(such as icons, images and etc.) need to be loaded by the program. How to add them into the NetBean project?
    Thanks

    Try a NetBeans forum. This is the Java Compiler forum.

  • How to break big video file into many small ones?

    I have a 1-hour long video file (miniDV), recorded on tape with timecode but without timecode markers between individual clips (that is, I cannot scene detect capture it). How do I best go about accurately breaking it up into individual video files on my disc?
    1) capture it, drag it into Timeline, cut into clips there, manually copy-paste the in-out data into a batch list. Takes lots of time.
    or
    2) capture it, open it in Source Window, make subclips, export the batch list. The problem here is that the timecode in the original file is weird, starting at 08;06;40;01, and all the subclips inherit it. Otherwise, it would probably take less time than option (1).
    or
    Is there any way to generate batch list from the timeline, in order to avoid time-consuming manual copy-pasting in-out data?
    Thank you!

    I don't understand how you can have timecode that won't allow you to use it to tell (something like scenalzer) to split on capture or whatever.  Just curious.
    Scene capture for DV footage isn't dependent on timecode, it's dependent on datecode/time-of-day (TOD) information written onto the tape. I've run into this problem before when the internal battery on a DV camera was dead, and so the internal TOD generator didn't function; the same time and date was written on every single frame, making it impossible to use automatic scene detection.
    Here's another option: drop your clip into a sequence, and split it (using the razor and trimming tools) where you want scene breaks. Be sure to trim at least a couple of frames off of either the tail of the outgoing clip or the head of the incoming clip. When done, go to Project > Project Manager, and use the "Create New Trimmed Project" option. Uncheck the "Include Handles" option, set your destination and hit OK. Premiere will create shorter trimmed versions of the original clip in the destination you specify, and also create a new project file that points to those trimmed versions; there is no quality loss, so don't worry about that. You can either use the generated project, or just import the split clips into a new project.

  • How to add a video file directly as a music video file?

    When I add a new video file its always taken as a movie file and i have to change the video kind from movie to music video.Is there any way to assign the kind as music video to more than one file at once?

    If you've reformatted your computer then as far as the iPad is concerned it's a new computer that it hasn't been synced to before, and iPads are designed to only be synved to one computer at a time. There are some instructions on this page for syncing to a new computer : https://discussions.apple.com/docs/DOC-3141
    Do you have a backup copy of your iTunes library that you can copy back onto your computer ? iTunes itself only allows you to copy downloads from iTunes (plus any epubs and/or PDFs in the iBooks app on a device) back via File > Devices > Transfer Purchases. If you want to copy back, for example, music that you got from other sources (e.g. copied from CDs) then you will need a third-party program on your computer to copy them back - there are some listed half-way down this page : https://discussions.apple.com/docs/DOC-3991

  • How to split large video files into multiple individual clips by date

    Hello. I'm looking for a freeware/shareware program (if one exists, or willing to pay for one if it does this well) that will:
    1) Analyze a large AVI file identifying the start/start points of each segment of video and the dates the video segments were shot.
    2) Then allow me to organize (for example, join 2 or more segments together if it's a video with a lot of start/stop points during the same shot) the segments identified in step 1 into logical clips that could be split apart from the 1 large AVI file.
    3) Lastly, it would split my one large AVI file into the multiple clips or files that I identified in step 2.
    A piece of software called FootTrack does a great job analyzing AVI files as I describe in steps 1 & 2, but it doesn't allow you to split or export the one avi file into multiple avi files.
    I really don't want to have to do this one clip at a time, I've got to believe there's a program out there that will automate this process for me.
    Thanks

    I don't know of a way to automate it. I just did about 15 years worth. It wasn't too hard. I use an application called mpegstreamclip. Its very easy and free to download either from the apple site or direct from its site.
    http://www.squared5.com/
    Bascically you set the in and out points with the i and o keys and export.

  • How to run a jar file in a HTML page.

    Hi, i have created an applet that works with 2 or 3 classes, the i have done a Jar file and now i want to run the applet though a Html page, i have looked at many manuals and i have done the same as is said to create the Html file, but whe i want to see the page on the part of the applet nothing appears to me and when i go though the area of the applet with de mouse an error message apears saying that the clas XXXX (the main class of my applet) can't be instanced.
    Could someone tell me why is this? i need help or to see an example that works.
    Thanks

    Hi, i have created an applet that works with 2 or 3
    classes, the i have done a Jar file and now i want to
    run the applet though a Html page, i have looked at
    many manuals and i have done the same as is said to
    create the Html file, but whe i want to see the page
    on the part of the applet nothing appears to me and
    when i go though the area of the applet with de mouse
    an error message apears saying that the clas XXXX (the
    main class of my applet) can't be instanced.
    Could someone tell me why is this? i need help or to
    see an example that works.
    ThanksUse the archive parameter in the applet tag.
    e.g: <applet code="your_main_applet" width="256" height="256" archive="myjar.jar">
    Where myjar.jar is the actual jar file which contains all the user class files which are required to run this applet.
    For creation of jar files, please read the java tutorial in http://java.sun.com
    /Sreenivasa Kumar Majji.

  • How to add a jar file into resource catalog in webcenter spaces

    Hi All,
    i am new to webcenter spaces. my requirement is like, i have created one adf taskflow and deployed it as a shared library.now i want to register this jar file as a resource catalog into webcenter spaces (i.e. already deployed). How to achieve this task.
    Thanks,
    Monika

    Pls do the foll actions:
    Step 1:
    File -> Import -> Selct radiobutton - "Jar file" -> Next
    -> Select the file name(ur jar file) - > click on the java button and ensure that u have selected all the file or what evre files u want " -> Finish
    If at all u r not getting any errors but the files are not apperaring in ur Project means go to
    Step 2:
    From the work bench click
    Window -> Reposiroy Explorer -> Select the Project,edition,package or type and right click and from the pop up menu click "Add to Workspace"
    This 'd work
    All the best for a successful completion of ur work
    Pramod

  • Re: How to segment a video file into it's individual frames?

    I am trying to do the same thing as you - grab individual frames from a video stream. I am finding that the Java players do not provide frameGrabbingControls and hence I am unable to access individual frames. Have you had any success?

    QuickTime requires player and plugins that most people don't have.  You'll reach a much wider audience if you use HTML5 <video> with mp4, webm and ogg files.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 with Video</title>
    <!--help for older IE browsers-->
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    </head>
    <style>
    video {
        max-width:100%;
        display:block;
        margin:0 auto;
    </style>
    <body>
    <h2>Use 3 File Types to support all browsers &amp; mobile devices:  MP4, WEBM and OGV.</h2>
    <h3>Online Video Converter
    http://video.online-convert.com/</h3>
    <!--begin video-->
    <video controls poster="Your_poster_image.jpg">
    <!--these are 6 sec sample videos for testing purposes. Replace sample-videos with your own files-->
    <source src="http://techslides.com/demos/sample-videos/small.webm" type="video/webm">
    <source src="http://techslides.com/demos/sample-videos/small.ogv" type="video/ogg">
    <source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
    If you're seeing this, you're using an
    outdated browser that doesn't support
    the video tag. </video>
    <!--end video-->
    </body>
    </html>
    Nancy O.

  • How to combine 2 pdf files into a 1 page document?

    Hello
    How do you combine 2 pdf files to become a one page pdf?
    Thank you.

    Thank you very much.  With a little manipulation it worked. Racked my brain for hours today!

  • How to add existing jsp file to a project?

    I am trying out 10g developer preview. Looks like a lot of bugs are there in the tool. I would like to know how to add existing jsp file into a project. I tried the Import functionality, but it shows the option to create a project and include only Java files. Is there a way to do this? Thank you

    Just copy the files in the directory where the rest of your source file is.

  • How to add new music files in Hp connecterd music

    I am new to HP connected music.  I want to understand the following
    a)  Where does HP connected music app look for music in our computer.  I want to know the location of folders.
    b) How to add new music files into playlists
    can anyone help please.
    RAVIKUMAR RT

    Hi @rtravikumar 
    I see you are looking for some help with HP Connected Music.  I did a little bit of searching and found the following pages that should be useful to you.
    HP Connected Music Powered by Meridian (Windows 8)
    HP Connected Music FAQ
    I hope this helps.
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • Can I insert an html file as an image into an HTML page?

    The site I'm working on (www.ngospen.com) has PNGs for background art - 10 - 15 kb per image. As the site is intended for settings with low bandwidth, I'd like these background images to be as small as possible.
    When saving for the web, one of the options is Save As HTML file. When I open the file, the artwork appears the same as the PNG (no lost resolution), but it is a much smaller file size (1 - 2 KB).
    Is it possible to insert these HTML files into my HTML pages?
    Thanks!
    Ken D
    Creative Director
    Grateful Creative

    Are you meaning that you work with fireworks?
    If so the html and the images you export are flattened images (slices), you have to put those images directly into your html page.
    If you want to save the file (fireworks) as a flattened image you could also goto save as -> flattened png.
    If you save your image from fireworks just as png it contains the layer information etc. etc. from fireworks, that's why you should save them as flattened png, or just export the slices.
    http://www.dreamweaverfan.nl

Maybe you are looking for

  • How to download an mp4 video?

    How can an mp4 video be downloaded in Safari 6?  This mp4 is in the url.  That is the only thing on the page.  When I try save as, Safari can save as page source or web archive.  Neither include the video file.

  • Home Sharing - How the **** do I contact Itunes support?

    On the contact page it's very specific about email support covering certain topics, phone support covering others, Express lane... etc.. And I don't know where to go about home sharing. I cannot get home sharing to work between my home mac and my del

  • Can I use my Ipad2 3g wireless to act as a pc router

    I will be traveling in the next few weeks and will need to log into work in a PC that does not have wireless. Can I use the 3G wireless ability on my Ipad2 and connect it to my PC to act as a wireless router. If anyone has any tips on how to do this

  • SUBMIT keyword along with one input parameter

    Hi actually i have two programs A and B. i am calling B using SUMBIT, from program A. but for B program there is one input parameter, what i need is, B program should execute with SUBMIT as well as input field. thanks in advance vEnu

  • How to use UI Element "AbstractApplet" to embedd java applet in WDA

    Hello, I want to embedd a java applet in a WebDynpro ABAP application and I've found the following statement on SAP online help: The Active Control Framework (ACF) enables the development of applets or ActiveX-based controls that can be embedded in W