|
|
|
@ -658,12 +658,15 @@ namespace AKS.EnterpriseLibrary.WebBrowser
|
|
|
|
|
}); |
|
|
|
|
if (!isFuncisFuncObject("playVideo")) |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return "{\"timestamp\":\"" + Utils.GetTimestamp() + "\",\"message\":\"Falied\",\"code\":\"400\",\"status\":false,\"data\":\"" + "视频播放设备未授权使用" + "\"}"; |
|
|
|
|
} |
|
|
|
|
else |
|
|
|
|
{ |
|
|
|
|
new AksVideoPlayer(Parame.frm, param.title, param.url); |
|
|
|
|
Parame.frm.Invoke(() => |
|
|
|
|
{ |
|
|
|
|
new AksVideoPlayer(Parame.frm, param.title, param.url); |
|
|
|
|
}); |
|
|
|
|
string result = "{\"timestamp\":\"" + Utils.GetTimestamp() + "\",\"message\":\"success\",\"code\":\"200\",\"status\":true,\"suffix\":\"jpg\",\"data\":\"" + "播放成功" + "\"}"; |
|
|
|
|
SubmitLogs(result, "playVideo"); |
|
|
|
|
return result; |
|
|
|
|