1

I had implement JW Player in android, but getting black screen when video load from live URL.

My HTML file

    <!DOCTYPE html>
<html>
    <head>
       <script src="http://jwpsrv.com/library/WcmD+p3DEeKQvCIACpYGxA.js"></script>
    </head>
    <body>
       <div id='my-video'></div>
<script type='text/javascript'>
jwplayer('my-video').setup({
file: 'http://content.bitsontherun.com/videos/lWMJeVvV-364767.mp4',
image: 'http://www.longtailvideo.com/content/images/jw-player/lWMJeVvV-876.jpg',
width: '320',
height: '180'
});
</script>
    </body>
</html>

and my Java Code is

myBrowser.getSettings().setJavaScriptEnabled(true);

myBrowser.loadUrl("http://. . . /hardik/jwplayerhtml.html");

what is wrong with me? Please help me.

Chirag
  • 2,321
  • 24
  • 36

0 Answers0