YouTube API

This commit is contained in:
Natsumi
2021-09-05 23:47:26 +12:00
parent f419f0732c
commit 1673a0745c
4 changed files with 176 additions and 31 deletions

View File

@@ -400,11 +400,7 @@ speechSynthesis.getVoices();
text = noty.data;
break;
case 'VideoPlay':
var videoName = noty.videoUrl;
if (noty.videoName) {
videoName = noty.videoName;
}
text = `<strong>Now playing:</strong> ${videoName}`;
text = `<strong>Now playing:</strong> ${noty.videoName}`;
break;
case 'BlockedOnPlayerJoined':
text = `Blocked user <strong>${noty.displayName}</strong> has joined`;