Posted By

daipratt on 09/03/10


Tagged

player stream live flow rtmp


Versions (?)

Embed a RTMP live stream with Flow Player


 / Published in: HTML
 

URL: http://davepratt.co.uk

  1. <!DOCTYPE html>
  2. <script src="flowplayer-3.2.4.min.js"></script>
  3. </head>
  4. <a class="player" id="fms">
  5. <img src="http://static.flowplayer.org/img/player/btn/showme.png" />
  6. </a>
  7.  
  8. <script language="JavaScript">
  9. $f("fms", "flowplayer-3.2.4.swf", {
  10. clip: {
  11. url: 'plainFileNameWithNoExtension',
  12. live: true,
  13. provider: 'rtmp'
  14. },
  15. plugins: {
  16. rtmp: {
  17. url: 'flowplayer.rtmp-3.2.3.swf',
  18. netConnectionUrl: 'rtmp://blah/blah',
  19. subscribe: true
  20. }
  21. }
  22. });
  23. </body>
  24. </html>

Report this snippet  

You need to login to post a comment.