javascript - JWPlayer metadata events undefined -


does know why metadata properties of on('bufferchange') , on('meta') events undefined on mobile devices? works charm on desktop, doesn't on mobile browsers iphone, windows phone or android. here's code i've used:

<div id="player">loading player...</div>   <script type="text/javascript">      var playerinstance = jwplayer("player");      playerinstance.setup({       file: "//the video source"       width: 640,       height: 360,       primary: "html5",       autostart: false,     });      playerinstance.on('bufferchange', function(ev) {          //ev.metadata undefined     });     playerinstance.on('meta', function(ev) {          //ev.metadata undefined     }); 

edit:

i can't post link real stream, i'v used following test stream doesn't work either: http://vevoplaylist-live.hls.adaptive.level3.net/vevo/ch2/appleman.m3u8

the event either undefined or values (e.g. ev.metadata.bandwidth) nan.

i've tested on iphone 5c (safari,ios date), lumia 640 (stock browser - ie, seems ie-engine not support hls @ due missing webkit, os date), , galaxy s6 edge (chrome browser, os date).

some of information may dependent on use of our hls flash plugin, given can provide native browser returns us. there more information can provide stream, operating systems, or browser you're testing on? if so, happy update documentation additional information on compatibility/browser discrepancy.

timed metadata exposed jw 7.3 on ios (recently pushed staging). updating our example on support site when 7.3 pushed production: https://support.jwplayer.com/customer/portal/articles/1459607-example-using-timed-metadata


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -