hyzp_ybqx-Commit046:已经可以播放点位视频,实现登录前加载统计数据
This commit is contained in:
@@ -2009,12 +2009,15 @@ Future getDwspUrlNew(
|
||||
print('indexRecord = ${indexRecord}');
|
||||
String _dwspUrl = '';
|
||||
if (null != listDwspGetList2[indexRecord]['play_urlhead']) {
|
||||
String _dwspUrl =
|
||||
_dwspUrl =
|
||||
listDwspGetList2[indexRecord]['play_urlhead'] + listDwspGetList2[indexRecord]['video16'];
|
||||
print('开始播放:第$getCount次成功获取的视频地址');
|
||||
}
|
||||
|
||||
print('判断_dwspUrl是否是视频地址?');
|
||||
print('_dwspUrl : ${_dwspUrl}');
|
||||
if (!isVideoUrl(_dwspUrl)) {
|
||||
print('_dwspUrl非视频地址?');
|
||||
Fluttertoast.showToast(
|
||||
msg: '获取 $getingDwmc 点位视频地址失败,请稍后重试。',
|
||||
toastLength: Toast.LENGTH_SHORT,
|
||||
@@ -2023,6 +2026,7 @@ Future getDwspUrlNew(
|
||||
//正在获取点位视频标志,禁止重入
|
||||
getingDwVideo = false;
|
||||
} else {
|
||||
print('_dwspUrl非视频地址?');
|
||||
print('开始播放视频地址');
|
||||
playUrl(index: indexRecord, url: _dwspUrl, context: context);
|
||||
}
|
||||
|
||||
@@ -589,6 +589,7 @@ Map<String, ItemData> mapGetWzxxGetDataSpecial = {
|
||||
};
|
||||
|
||||
Map<String, String> mapWzxxDataText = {
|
||||
// "主键ID": "id",
|
||||
"主键ID": "id",
|
||||
"车牌号码": "plate_id",
|
||||
"车牌颜色": "plate_color",
|
||||
|
||||
Reference in New Issue
Block a user