|
|
@ -203,7 +203,7 @@ export default { |
|
|
|
state.play_title = res.data.it618_name; |
|
|
|
state.play_title = res.data.it618_name; |
|
|
|
state.videoObject.video = res.data.it618_videourl; |
|
|
|
state.videoObject.video = res.data.it618_videourl; |
|
|
|
|
|
|
|
|
|
|
|
console.log("res.data", res.data); |
|
|
|
// console.log("res.data", res.data); |
|
|
|
|
|
|
|
|
|
|
|
if (res.data.playtime > 0) { |
|
|
|
if (res.data.playtime > 0) { |
|
|
|
state.videoObject.seek = res.data.playtime; |
|
|
|
state.videoObject.seek = res.data.playtime; |
|
|
@ -281,7 +281,7 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
// 发送埋点 |
|
|
|
// 发送埋点 |
|
|
|
state.pointTimer++; |
|
|
|
state.pointTimer++; |
|
|
|
console.log(state.pointTimer); |
|
|
|
// console.log(state.pointTimer); |
|
|
|
if (state.pointTimer == 5) { |
|
|
|
if (state.pointTimer == 5) { |
|
|
|
state.pointTimer = 0; |
|
|
|
state.pointTimer = 0; |
|
|
|
let log2Param = { |
|
|
|
let log2Param = { |
|
|
@ -326,7 +326,7 @@ export default { |
|
|
|
// 重置新id |
|
|
|
// 重置新id |
|
|
|
state.logid = res.data.logid; |
|
|
|
state.logid = res.data.logid; |
|
|
|
state.videoid = res.data.id; |
|
|
|
state.videoid = res.data.id; |
|
|
|
console.log("log_videoid", state.videoid); |
|
|
|
// console.log("log_videoid", state.videoid); |
|
|
|
|
|
|
|
|
|
|
|
// 修改路由 |
|
|
|
// 修改路由 |
|
|
|
let winState = { url: id }; |
|
|
|
let winState = { url: id }; |
|
|
|