Hi,
I am testing with an Android device, 4.4.2. I have the new JWPlayer 7 in place. In the past, I used JWPlayer 6 and it did work (Sept 2014 – Dec 2014). However, I did notice right before I upgraded to JWPlayer 7, the player was not working on the Android device. I’m not sure how long it has been down. Possibly anytime between January 2015 and now. In the past I had this in my code for JWPlayer 6:
jwplayer.key = "FsOfElJ5hxPNpctPWB3y6sWWLprKU1tvsZMWpLLM3zg=";
Loading the player...
Play this on Android
jwplayer("myElement").setup({
sources: [{
file: "rtsp://stream.lagrange-ga.org:1935/LGTV/myStream"
}, {
file: "http://stream.lagrange-ga.org:1935/LGTV/myStream/playlist.m3u8"
}],
rtmp: {
bufferlength: 3
},
fallback: false,
image: "/uploads/myPoster.jpg"
});
This would play on Android and Apple mobile devices as well as all desktops/browsers. I now have JWPlayer 7 in place and it is coded as the following:
jwplayer.key = "1xRCGANukOBqdxSgkFt0OuY5EJP35tWfaez1xzlfMBA=";
Loading the player...
var playerInstance = jwplayer("myElement");
playerInstance.setup({
file: "http://stream.lagrange-ga.org:1935/LGTV/myStream/playlist.m3u8",
width: 480,
height: 270,
androidhls: true,
skin: {
name: "vapor"
},
sharing: {
}
});
This plays on Apple mobile devices as well as all desktops/browsers. It does not play on Android. I have the androidhls set to true. Am I missing something else? Also, I have the jwplayer folder which includes the jwplayer.js, etc. within the site directory. Thank you so much in advance for your help.
Thanks,
Nicky Nix
↧