Results 1 to 9 of 9

Thread: jwplayer - html5

  1. #1
    Join Date
    Feb 2015
    Posts
    12

    Default jwplayer - html5

    hola amigos
    encontré este reproductor jwplayer y funciona muy bien en desktop y móviles
    pero no me sale para poder hacer streaming
    por favor, si alguien me da una manito con el codigo... gracias...!!!
    <script src="http://p.jwpcdn.com/6/8/jwplayer.js"></script>
     
    <center><div id='container'></div></center>
     
    <script>
     
    if (navigator.userAgent.match(/android/i) != null){
     
        jwplayer("container").setup({
     
            file: "http://playertest.longtailvideo.com/adaptive/bbbfull/bbbfull.m3u8",
     
            type: "mp4",
     
            primary: "html5"
     
        });
     
    } else {
     
    jwplayer("container").setup({
     
      playlist: [{
     
        image: "http://content.bitsontherun.com/thumbs/gSzpo2wh-480.jpg",
     
        sources: [{
     
          file: "http://content.jwplatform.com/manifests/s8BPzDe0.smil"
     
        },{
     
          file: "http://playertest.longtailvideo.com/adaptive/bbbfull/bbbfull.m3u8"
     
        }]
     
      }],
     
      primary: "flash"
     
    });
     
    }
     
    </script>

  2. #2

    Default

    Hi,

    Please note that this is an English speaking forum so please write in English (Google Translate if need be).

    Your question translates as:

    hello friends
    I found this jwplayer player and works great on desktop and mobile
    but does not leave me to do streaming
    Please , if someone gives me a hand with the code ... thanks ... !!!

    I set up a web page and pasted in your code and it is playing back fine on Windows (Chrome browser), Apple Mac (Safari browser), and Apple iOS (Safari), so I'm not sure what particular issue you are having? Maybe you need to expand on "does not leave me to do streamiing".

    Paul

  3. #3

    Default

    You may find our article on Wowza and streaming to JW Player useful.

    Paul

  4. #4
    Join Date
    Feb 2015
    Posts
    12

    Default

    hi Paul
    I would like to stream and see me in desktop and mobile, the above code only helps me to have video on demand (vod)
    please help with the issue

    thanks

  5. #5
    Join Date
    Jun 2012
    Posts
    724

    Default

    Hi,

    You would need to publish a live stream from an encoder to your Wowza Streaming Engine. You can take a look at the following forum articles describing how to do that: Specific Encoding Technologies

    Assuming that you have published a stream called "myStream" to your Wowza server IP on the application called "live", then the playback URL that are to be used in your JW Player embed code would be the following:
    jwplayer("container").setup({
     
      playlist: [{
     
        image: "http://content.bitsontherun.com/thumbs/gSzpo2wh-480.jpg",
     
        sources: [{
     
          file: "rtmp://WowzaIP:1935/live/myStream"
     
        },{
     
          file: "http://WowzaIP:1935/live/myStream/playlist.m3u8"
     
        }]
     
      }],
     
      primary: "flash"
     
    });
    I hope this helps.

    Zoran

  6. #6
    Join Date
    Feb 2015
    Posts
    12

    Default

    hi Zoran
    I corrected the code
    but the jwplayer load but never achieve streaming display

    http://streaming.pe/marmotita/index14.html

    With The issue please help

  7. #7
    Join Date
    Feb 2015
    Posts
    12

    Default

    this is my code
    It does not work to display the streaming in mobile devices (ipad, iphone, tablet, smartphone)
    please help me with this issue ... Thanks ... !!!


    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">

    <title>.:: Streaming ::.</title>
    </head>
    <body>
    <script src="http://p.jwpcdn.com/6/8/jwplayer.js"></script>
    <center><div id='container'></div></center>

    <script>

    if (navigator.userAgent.match(/android/i) != null){

    jwplayer("container").setup({

    file: "http://167.114.144.23:1935/live/myStream/playlist.m3u8",

    primary: "html5"

    });

    } else {

    jwplayer("container").setup({

    playlist: [{

    image: "http://streaming.pe/marmotita/ff.jpg",

    sources: [{

    file: "rtmp://167.114.144.23:1935/live/myStream"

    },{

    file: "http://167.114.144.23:1935/live/myStream/playlist.m3u8"

    }]

    }],

    primary: "flash"

    });

    }

    </script>

  8. #8
    Join Date
    Sep 2011
    Posts
    1,921

    Default

    Hi,
    Please reference the JW player article for assistance.
    If you require further help with the player configuration please see JW player support.

    Regards,
    Jason

  9. #9

    Default

    You are very good to coding.

Similar Threads

  1. HTML5 Streaming
    By computersrmyfriends in forum General Forum
    Replies: 21
    Last Post: 07-29-2014, 08:09 PM
  2. Livestream on HTML5 ?
    By silas_i in forum General Forum
    Replies: 1
    Last Post: 03-12-2012, 01:18 PM
  3. HTML5 Support with JWPLayer
    By arminz in forum General Forum
    Replies: 0
    Last Post: 11-09-2011, 10:28 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
  •