LuisENT / mukioplayer

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

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 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