SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: html5 video

  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2012
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    html5 video

    Do you need to have a specialized video hosting server to host video files if you want to use HTML5 player? For example I know you needed to havea flash server in order to host videos to be used using a flash video player is the same true with HTML5?

  2. #2
    SitePoint Guru Jason__C's Avatar
    Join Date
    Oct 2009
    Location
    Racoon City
    Posts
    660
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Flash is a plug-in which the user needs to download. HTML5 is built into the browser, no need for anything else.
    Chuck Norris is so tough,
    mosquitos ask for permission before they bite him

  3. #3
    SitePoint Enthusiast
    Join Date
    Feb 2012
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i understand the difference in terms of the playback but what I am asking about is if there needs to be a server that processes the video from say a mp4 format to a format that the player can use. for example, for flash you would need red5. do you need something similar for html5?

  4. #4
    bronze trophy
    Join Date
    Dec 2004
    Location
    Sweden
    Posts
    2,670
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by boobymonster View Post
    Do you need to have a specialized video hosting server to host video files if you want to use HTML5 player?
    No.
    Quote Originally Posted by boobymonster View Post
    For example I know you needed to havea flash server in order to host videos to be used using a flash video player is the same true with HTML5?
    You don't need that for flash, either.

    What you need for flash is to have the video in a format that Flash can play. For instance MP4/h.264/AAC.

    What you need for <video> is to have the video in a format that the browser can play. Different browsers support different formats. In practice this means you need two versions of your video: MP4/h.264/AAC (baseline and low complexity profiles, respectively, if you want it to play on smartphones) and WebM.

    If your server supports HTTP Range requests then it's possible to seek in the video without having to download the whole thing first, so it's good if your server supports that. You will also need to have the correct MIME types for the videos for them to play in some browsers (video/mp4 and video/webm). But other than that, a standard HTTP server works fine.
    Simon Pieters

  5. #5
    SitePoint Wizard Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,278
    Mentioned
    50 Post(s)
    Tagged
    2 Thread(s)
    Zcorpan: what about streaming? I know of Apple's HLS protocol and I guess still only works on Appley products, but does he need to add something to his code to use that for whatever Appley devices come across his video?

  6. #6
    bronze trophy
    Join Date
    Dec 2004
    Location
    Sweden
    Posts
    2,670
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Streaming should work over normal HTTP as well, but I don't know what makes most sense as a server setup. HLS doesn't just do streaming but also does adaptive switching between multiple bandwidth video files. I don't know what the server requirements are for HLS.
    Simon Pieters


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
  •