1

AndroidにJW Playerを実装しましたが、ライブURLからビデオをロードすると黒い画面が表示されます。

私のHTMLファイル

    <!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>

私のJavaコードは

myBrowser.getSettings().setJavaScriptEnabled(true);

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

私は一体どうしたんだろう?私を助けてください。

4

0 に答える 0