SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    instant graphics video

    Hello

    Is there anyway to obtain an instantly displayed short video (Without a page reload or the few second start that an embedded video tends to take). I wish a little 15 sc help video to appear when the users asks for it, or presses relevant buttons

    Thank you in advance for any help.

  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,941
    Mentioned
    215 Post(s)
    Tagged
    12 Thread(s)
    Hi,

    The 'fastest' way will be to use the HTML5 <video> tag, as this is native to the browser and doesn't rely on any plugins.
    For added speed you can use the preload attribute to download the video in the background as soon as the page loads, even if it hasn't started playing.
    You will also want to use a tool such as handbrake to ensure that the file size is as small as possible whilst still maintaining an acceptable quality.
    The obvious downside to all of this is the lack of support in older browsers. If you have to support older browsers, I don't see any other option other than a plugin.

    http://www.html5rocks.com/en/tutorials/video/basics/


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •