提交 6f56adb8 authored 作者: kongdywang's avatar kongdywang

fix url appends two sign bug

上级 c18d2e7a
......@@ -399,7 +399,7 @@ class SuperPlayerController {
}
}
query += "spfileid=${videoModel!.videoId!.fileId}" "&spdrmtype=$drmType&spappid=${videoModel!.appId}";
Uri newUri = Uri(path: url, query: query);
Uri newUri = uri.replace(query: query);
LogUtils.d(TAG, 'playVodURL: newurl = ${Uri.decodeFull(newUri.toString())} ;url= $url');
await _vodPlayerController.startVodPlay(Uri.decodeFull(newUri.toString()));
} else {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论