Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2

Thread: HTML5 Video

  1. #1
    Senior Member DanExcell's Avatar
    Join Date
    Jul 2011
    Posts
    422
    Member #
    28663
    Liked
    76 times
    <h2>Example</h2>
    <pre><code> <video controls preload="auto" poster="drive.jpg" width="640" height="375">
    <source src="001.mp4" width="640" height="375" type="video/mp4" />
    <source src="001.webmvp8.webm" width="640" height="356" type="video/webm" />
    <source src="001.ogv" width="640" height="356" type="video/ogg" />
    <object data="001.swf" width="640" height="375" type="application/x-shockwave-flash">
    <param name="MOVIE" value="001.swf"/>
    <param name="allowfullscreen" value="true" />
    <!-- Image Fallback. Typically the same as the poster image. -->
    <img src="drive.jpg" width="640" height="375" alt="Poster Image"
    title="No video playback capabilities." />
    </object>

    </video>
    </code>
    </pre>

    Above is an example of how you would typically embed video in the browser with HTML5. At the present we have some issues with proprietary codecs and copyright laws that are causing us to use multiple video formats and still have to provide a Flash fallback video player. I know it seems like much but it is worth the effort.

    If you want to view the working example and test it on multiple browsers, click here
    BTW: Safari does not load the poster image for the video, it jumps to the first frame.
    Their are programs out there you can download to convert your video to other formats like .ogg and Mp4 or .webm. Just visit http://handbrake.fr/downloads.php.
    I have gotten into the habit of not judging other designers/developers work, but this is my Microsoft Meandering time so I'm MEANDERING...

    Oh, almost forgot: spammers are gender-less parasites...

  2.  

  3. #2
    Senior Member BallardStudio's Avatar
    Join Date
    Jul 2011
    Posts
    143
    Member #
    28552
    Liked
    6 times
    Awesome Dan! I jus thave to find out if my hosting company will allow the bandwidth.
    I'm an art director crossing paths between print and web design.
    http://www.ballardstudio.com


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:22 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com