santoshmodi / mukioplayer

Automatically exported from code.google.com/p/mukioplayer
0 stars 0 forks source link

file视频地址中带&?等问题的解决方法 #58

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
我的方法是  src\com\longtailvideo\jwplayer\parsers\JWParser.as 第 
72行,
在 
else if (item['streamer'] && item['streamer'].indexOf('http') == 0) { return 
"http"; }
后添加一个else if  判断 
else if (item['file'] && item['file'].indexOf('http') == 0) { return "http"; }

并在链接上括上转码函数encodeURIComponent()

Original issue reported on code.google.com by youbakin...@gmail.com on 22 May 2013 at 2:50