ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    HTML5 streaming video (Android/WP on tablets/smartphones)

    Scheduled Pinned Locked Moved IT Discussion
    5 Posts 2 Posters 733 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thwrT
      thwr
      last edited by

      I'm not much into website "development", but I need to create a small ASP.NET HTML5 site which allows some users to watch videos using up to date Windows Phone 10 and Android 5+ devices using IE and Chrome. It's kind of a small demonstration shop in a much larger context.

      Content would be some H.264 videos which I wouldn't like to convert (some Full HD videos), if possible. Information on Google seems to be outdated, misleading, incorrect, written by confused authors and what not.

      So does anyone know how to do that quick and dirty? Is there finally some HTML5 tag for this? The project isn't about HTML5 or streaming, video streaming is just meant to be an eyecatcher.

      1 Reply Last reply Reply Quote 3
      • RomoR
        Romo
        last edited by

        Here is the html5 tag.

        <video controls>
           <source src="yourvideo.mp4" type="video/mp4">
        </video>
        
        thwrT 1 Reply Last reply Reply Quote 3
        • thwrT
          thwr @Romo
          last edited by

          @Romo said in HTML5 streaming video (Android/WP on tablets/smartphones):

          Here is the html5 tag.

          <video controls>
             <source src="yourvideo.mp4" type="video/mp4">
          </video>
          

          Great, thanks, will try that tomorrow.

          Decoding is on the client, I guess? So no codec, no playback?

          1 Reply Last reply Reply Quote 0
          • RomoR
            Romo
            last edited by Romo

            The browser takes care of everything if it supports your file type.

            The MP4 container format with the H.264 video codec and the AAC audio codec is natively supported by desktop/mobile Internet Explorer, Safari and Chrome, but Chromium and Opera do not support the format. IE and Chrome also support the MP3 audio codec in the MP4 container, but Safari does not. Firefox/Firefox for Android/Firefox OS supports the format in some cases, but only when a third-party decoder is available, and the device hardware can handle the profile used to encode the MP4.

            More info here https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats

            1 Reply Last reply Reply Quote 3
            • thwrT
              thwr
              last edited by

              Tried that, works like a charm. Even big videos (like 1.6 GB) are working flawlessy, so some streaming or downloading in chunks in the background I guess. Anyway, works well enough for the showcase.

              Thank you.

              @scottalanmiller: How to mark a topic as solved?

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post