1

xcode を最新バージョン 5.0 にアップグレードした後、アプリが正しく動作しません。

私のアプリには、jwplayer をロードしてビデオを再生する webview があります。iOS5,6 では完全に動作しますが、iOS7 では動作しません。

以前にこの問題に遭遇した人はいますか? 前もって感謝します

更新コード

 NSString *htmlString = @"<!DOCTYPE html><html><head><script src='http://54.246.122.18:8080/cvplay/public/javascripts/jwplayer.js' type='text/javascript' charset='utf-8'></script><script type='text/javascript'>jwplayer.key='MyKey';</script></head><body style='background:black;'><div style='width:320px;height:180px;margin:auto;position:relative;top:-18px;left:-8px;'><div id='stream'>CVplay</div></div><script type='text/javascript'>jwplayer('stream').setup({width:320,height:180,autostart: true,file: 'https://xxx.com/render/13807449869021017925092789.mp4',skin: 'roundster',modes: [{ type: 'html5',config: {file: 'https://xxx.com/render/13807449869021017925092789.mp4'}},{ type: 'download' }]});</script></body></html>";


[webView loadHTMLString:htmlString baseURL:nil];
4

1 に答える 1