Results 1 to 7 of 7

Thread: Streaming MP4 to HTML5

  1. #1
    Join Date
    Jun 2012
    Posts
    8

    Default Streaming MP4 to HTML5

    I need to be able to watch MP4 file from HTML5 (not IOS, or Saffari). I tried JWPlayer and also plain HTML5 but keep getting error:
    "Video format or MIME type is not supported".

    here is the code I tried:

    <!DOCTYPE html>
    <html>
      <head>
        <script type="text/javascript" src="jw-player/jwplayer.js"></script>
        <!-- The common stylesheet -->
        <link rel="stylesheet" href="media/style.css" type="text/css" media="screen" />
      </head>
      <body>
    	<video controls src="http://<WOWZA_IP>:1935/vod/mp4:test.mp4/manifest.mpd">
    	</video>
      </body>
    </html>
    In one of your previous posts from 2011 you mentioned that Wowza does not support html5

    http://www.wowza.com/forums/showthre...ML5-from-wowza

    --------------
    computersrmyfriends:
    Does wowza plan to support html5 for browsers in the future?
    If so,is there a beta version available which I can try?
    Thanks

    Wowza Support:
    There is no short-term plan to support html video tag in other browsers.
    --------------

    So is there any way to stream a file to HTML5?

    Thank you

  2. #2

    Default

    Please review this guide:
    How to play video using the HTML5 video tag

    It contains the most recent information in regards to streaming with HTML5.

    Regards,

    Salvadore

  3. #3
    Join Date
    Jun 2012
    Posts
    8

    Default

    Quote Originally Posted by salvadore View Post
    Please review this guide:
    How to play video using the HTML5 video tag

    It contains the most recent information in regards to streaming with HTML5.

    Regards,

    Salvadore
    I changed the line to
    <video controls src="http://127.0.0.1:1935/vod/mp4:test.mp4/playlist.m3u8">
    I also tried
    <video controls src="http://127.0.0.1:1935/vod/test.mp4/playlist.m3u8">
    but in Firefox keep getting error: Video format or MIME type is not supported.
    In Chrome it just does not play, no error is shown.
    In IE it says "Invalid Source"

  4. #4
    Join Date
    Jun 2012
    Posts
    8

    Default

    I need to mention that I use H.264 and AAC codecs

  5. #5
    Join Date
    Jun 2011
    Posts
    1,037

    Default

    Hi,
    You'll find that HLS is not supported in those browsers.
    The only browser where your HTML5 playback will work is in the Safari browser on MAC and iOS devices.
    The other browsers don't have full support for adaptive streaming in HTML5.

    Here is a useful HTML5 reference:
    State of HTML5 Report


    Daren

  6. #6

    Default

    This code is very helpful in regards to video streaming with HTML5

    Thanks

  7. #7
    Join Date
    Oct 2015
    Posts
    8

    Default

    Your link sadly isn't working, bhushanchander.

Similar Threads

  1. Replies: 3
    Last Post: 04-16-2015, 07:04 AM
  2. RTMP to fragmented mp4 transcode for live HTML5 player on pc browsers
    By slestage in forum Integrating Wowza into your workflow
    Replies: 1
    Last Post: 01-26-2015, 10:45 AM
  3. Merge recordingfilename.mp4 and recordingfilename.mp4.tmp
    By sathishkumarkps in forum AddOn: Other AddOns
    Replies: 1
    Last Post: 03-05-2014, 09:10 AM

Posting Permissions

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