Parse SDK2 video URL's

This commit is contained in:
Natsumi
2021-04-23 13:55:52 +12:00
parent 8eb1321ca7
commit 3c7531afff
4 changed files with 50 additions and 2 deletions

View File

@@ -5784,7 +5784,8 @@ speechSynthesis.getVoices();
tableData = {
created_at: gameLog.dt,
type: 'VideoPlay',
data: gameLog.videoURL
data: gameLog.videoURL,
displayName: gameLog.displayName
};
break;

View File

@@ -188,6 +188,8 @@ html
span(v-text="scope.row.data")
template(v-else-if="scope.row.type === 'VideoPlay'")
span.x-link(v-text="scope.row.data" @click="openExternalLink(scope.row.data)")
template(v-if="scope.row.displayName")
span.x-link(@click="lookupUser(scope.row.displayName)") ({{ scope.row.displayName }})
template(v-else-if="scope.row.type === 'Notification'")
span.x-link(v-else v-text="scope.row.data" @click="lookupUser(scope.row.data)")

View File

@@ -38,6 +38,7 @@ function parseRawGameLog(dt, type, args) {
case 'video-play':
gameLog.videoURL = args[0];
gameLog.displayName = args[1];
break;
default: