| | |
| | | $.ajax({ |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | url: "https://36.134.81.48:18000/GetPlayUrl?deviceCode=" + serialNumber + "&chl=" + channelNumber, |
| | | url: "https://web.byisf.com:18000/GetPlayUrl?deviceCode=" + serialNumber + "&chl=" + channelNumber, |
| | | success: function (data) { |
| | | |
| | | realStartVideo($('.realtime-view-video-box video')[0], data.data.m3u8) |
| | |
| | | $.ajax({ |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | url: "https://36.134.81.48:18000/GetPlayUrl?deviceCode=" + serialNumber + "&chl=" + channelNumber, |
| | | url: "https://web.byisf.com:18000/GetPlayUrl?deviceCode=" + serialNumber + "&chl=" + channelNumber, |
| | | success: function (data) { |
| | | |
| | | that.realStartVideo(dom, data.data.m3u8) |
| | |
| | | $.ajax({ |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | url: "https://36.134.81.48:18000/GetPlayUrl?deviceCode=" + serialNumber + "&chl=" + channelNumber, |
| | | url: "https://web.byisf.com:18000/GetPlayUrl?deviceCode=" + serialNumber + "&chl=" + channelNumber, |
| | | success: function (data) { |
| | | realStartVideo($('.realtime-view-video-box video')[0], data.data.m3u8) |
| | | } |
| | |
| | | }, |
| | | queryOldVideo(data) { |
| | | var newAxios = axios.create({ |
| | | baseURL: "http://36.134.81.48:18000", |
| | | baseURL: "http://web.byisf.com:18000", |
| | | withCredentials: false, |
| | | headers: { |
| | | "Content-type": "application/x-www-form-urlencoded", |
| | |
| | | .then((res) => { |
| | | newAxios |
| | | .get( |
| | | `https://36.134.81.48:18000/GetPlayUrl?deviceCode=${data.serialNumber}&chl=${data.channelNumber}` |
| | | `https://web.byisf.com:18000/GetPlayUrl?deviceCode=${data.serialNumber}&chl=${data.channelNumber}` |
| | | ) |
| | | .then((result) => { |
| | | this.innerVisibleVideo = true; |
| | |
| | | }, |
| | | queryOldVideo(data) { |
| | | var newAxios = axios.create({ |
| | | baseURL: "http://36.134.81.48:18000", |
| | | baseURL: "https://web.byisf.com:18000", |
| | | withCredentials: false, |
| | | headers: { |
| | | "Content-type": "application/x-www-form-urlencoded", |
| | |
| | | .then((res) => { |
| | | newAxios |
| | | .get( |
| | | `https://36.134.81.48:18000/GetPlayUrl?deviceCode=${data.serialNumber}&chl=${data.channelNumber}` |
| | | `https://web.byisf.com:18000/GetPlayUrl?deviceCode=${data.serialNumber}&chl=${data.channelNumber}` |
| | | ) |
| | | .then((result) => { |
| | | this.innerVisibleVideo = true; |
| | |
| | | }, |
| | | aKeyToCall(e, form) { |
| | | var newCallAxios = axios.create({ |
| | | baseURL: "http://36.134.81.48:18000", |
| | | baseURL: "https://web.byisf.com:18000", |
| | | withCredentials: false, |
| | | headers: { |
| | | "Content-Type": "application/json;", |