# Beginning to play with HTML 5 video, searching for success stories for using rtmp

**URL:** <https://forum.kirupa.com/t/beginning-to-play-with-html-5-video-searching-for-success-stories-for-using-rtmp/323580>\
**Category:** web dev\
**Created:** [July 7, 2011, 9:44pm UTC](https://forum.kirupa.com/t/beginning-to-play-with-html-5-video-searching-for-success-stories-for-using-rtmp/323580 "2011-07-07T21:44:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![somnamblst](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Post date:** [July 7, 2011, 9:44pm UTC](https://forum.kirupa.com/t/beginning-to-play-with-html-5-video-searching-for-success-stories-for-using-rtmp/323580/1 "2011-07-07T21:44:47Z")

</div>

I have to admit I am spoiled, having access to an Akamai account.

Though I do have HTML 5 video working and playing on the iPad, it is choppy in comparison to Flash FLVs streaming from Akamai.

JWPlayer by Longtail claims that they have a plugin for streaming

Documentation

[http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/18508/jw-embedder-modes](http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/18508/jw-embedder-modes)

Demo

[http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/18530/embedding-an-rtmp-stream-with-an-html5-fallback](http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/18530/embedding-an-rtmp-stream-with-an-html5-fallback)

```auto
<script type='text/javascript' src='/jwplayer/jwplayer.js'></script>

<div id='mediaplayer'></div>

<script type="text/javascript">
  jwplayer('mediaplayer').setup({
    'id': 'playerID',
    'width': '480',
    'height': '270',
    'provider': 'rtmp',
    'streamer': 'rtmp://rtmp.example.com/application',
    'file': 'sintel.mp4',
    'image': 'http://example.com/thumbs/sintel.jpg',
    'modes': [
        {type: 'flash', src: 'player.swf'},
        {
          type: 'html5',
          config: {
           'file': '/videos/sintel.mp4',
           'provider': 'video'
          }
        },
        {
          type: 'download',
          config: {
           'file': '/videos/sintel.mp4',
           'provider': 'video'
          }
        }
    ]
  });
</script>

```

However the example is not working, and neither is the example code when I swap in my rtmp path and file names.

Personally, since I already stream from Akamai in Flash, I’d rather just call my Flash file that streams an FLV, with fallback for iPad, and give up on any players like JW and FlowPlayer.

If it matters, I use the rtmp://cp\*\*\*\*\*\*[edgefcs.net:80/ondemand/](http://edgefcs.net:80/ondemand/) for my videos
