|
|
|
@ -2005,9 +2005,12 @@ Future getDwspUrlNew(
|
|
|
|
|
|
|
|
|
|
|
|
print('listDwspGetList2 = ${listDwspGetList2}');
|
|
|
|
print('listDwspGetList2 = ${listDwspGetList2}');
|
|
|
|
print('indexRecord = ${indexRecord}');
|
|
|
|
print('indexRecord = ${indexRecord}');
|
|
|
|
|
|
|
|
String _dwspUrl = '';
|
|
|
|
|
|
|
|
if (null != listDwspGetList2[indexRecord]['play_urlhead']) {
|
|
|
|
String _dwspUrl =
|
|
|
|
String _dwspUrl =
|
|
|
|
listDwspGetList2[indexRecord]['play_urlhead'] + listDwspGetList2[indexRecord]['video16'];
|
|
|
|
listDwspGetList2[indexRecord]['play_urlhead'] + listDwspGetList2[indexRecord]['video16'];
|
|
|
|
print('开始播放:第$getCount次成功获取的视频地址');
|
|
|
|
print('开始播放:第$getCount次成功获取的视频地址');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!isVideoUrl(_dwspUrl)) {
|
|
|
|
if (!isVideoUrl(_dwspUrl)) {
|
|
|
|
Fluttertoast.showToast(
|
|
|
|
Fluttertoast.showToast(
|
|
|
|
@ -2015,6 +2018,8 @@ Future getDwspUrlNew(
|
|
|
|
toastLength: Toast.LENGTH_SHORT,
|
|
|
|
toastLength: Toast.LENGTH_SHORT,
|
|
|
|
gravity: ToastGravity.CENTER,
|
|
|
|
gravity: ToastGravity.CENTER,
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
//正在获取点位视频标志,禁止重入
|
|
|
|
|
|
|
|
getingDwVideo = false;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
print('开始播放视频地址');
|
|
|
|
print('开始播放视频地址');
|
|
|
|
playUrl(index: indexRecord, url: _dwspUrl, context: context);
|
|
|
|
playUrl(index: indexRecord, url: _dwspUrl, context: context);
|
|
|
|
|