I recently upgraded my jwplayer to 7.2.4, and somehow it broke the link it previously had to open a player on mobile devices. I have a call like:
Streaming RTSP Link--Click here.
Down below I call the player like this:
jwplayer("player").setup({
sources: [{file: "rtmp://[server id]:1935/live/flv:"}],
rtmp: {
bufferlength: 3
},
image: "app/images/skytubelive_logo.png",
fallback: false,
autostart:true,
width: "100%",
height: "100%",
ratio: "100%",
responsive: true,
});
Formerly on a PC this would show a jwplayer box and on the phone would show that link, that you could click on and it would then query you for what app you wanted to play the stream with. Now, however, on the phone, as on a PC, it shows a jwplayer screen, which of course does not work on a phone. I assume there must be some setting I need to change to resolve this in jwplayer.js, but I can't find what it might be. Please help!
↧