I'm trying to prevent Android 4.1 and higher from playing HLS, but two devices play it despite including "androidhls: "false" " in my embed code. The way I'm testing this is I have a primary .M3U8 source, and the MP4 source is a different video entirely. When I play it on Android 4.1 and Android 5, both play the HLS. Android 5 actually plays it "ok", but I'm trying to ensure that no android devices play it at all, so the only way I can verify that is if my 4.1 device, and my Android 5 device default to the MP4 file. Right now, neither of them do. Here is the embed I"m using:
Loading the player...
var playerInstance = jwplayer("myElement");
playerInstance.setup({
image: "POSTER-IMAGE.jpg",
tracks: [{
file:'/CHAPTERS.vtt',
kind:'chapters'
}],
sources: [{
file: "SOURCE-FILE.m3u8"
},{
file: "SOURCE-FILE.mp4"
}],
primary: "flash",
androidhls: "false",
sharing: {
code: encodeURI(""),
heading: "SHARE THE TRUTH"
}
});
↧