{
if (!this.player) return;
this.time = this.player.currentTime;
if (!this.player.paused) {
setTimeout(updateTimeFn, this.interval);
}
};
setTimeout(updateTimeFn, this.interval);
gtag('event', 'audio_start', {
'audio_title': '\"アニメ\"検索でトップページに返り咲きました㊗️',
'audio_url': 'https://listen.style/p/zaipenfm/yktu2ato',
'audio_current_time': this.time
});
});
this.player.addEventListener('timeupdate', () => {
this.updateProgressBar();
if (this.hasPlayed && Math.floor(this.time / 30) != Math.floor(this.lastPosition / 30)) {
this.updatePosition();
}
// 95%以上再生で完了リクエスト送信
if (this.player.duration > 0 && this.time > (this.player.duration * 0.95) && !this.completedSent) {
this.completedSent = true;
this.updatePosition();
}
// 巻き戻しリセット
if (this.player.duration > 0 && this.time < (this.player.duration * 0.9)) {
this.completedSent = false;
}
});
this.player.addEventListener('pause', () => {
this.playing = false;
if (this.hasPlayed) {
this.updatePosition();
}
});
window.addEventListener('beforeunload', () => {
if (this.player && !this.player.paused) this.updatePosition();
});
this.player.addEventListener('ratechange', () => {
this.updatePlaybackRate();
});
this.player.addEventListener('loadeddata', () => {
if (this._loadeddataTriggered) return;
this._loadeddataTriggered = true;
this.player.currentTime = this.time;
this.lastPosition = this.time;
this.player.playbackRate = this.speed;
}, { once: true });
},
playEpisode(start) {
// console.log('play', this.time);
if ((start <= this.player.currentTime) && (this.player.currentTime <= (start + 5))) {
if (this.player.paused) {
this.player.play();
}
return;
}
this.time = start;
this.player.currentTime = this.time;
this.player.play();
// console.log(this.time);
},
togglePlay() {
this.player.paused ? this.player.play() : this.player.pause();
},
updatePosition() {
this.lastPosition = this.time;
fetch('https://listen.style/p/01hzw0j54cc8thntcw8wh7t914/01hzw0m7sfykx48swsjqrh4801/update_position', {
method: 'POST',
body: JSON.stringify({ time: this.time }),
headers: { 'Content-Type': 'application/json','X-CSRF-TOKEN': 'S0xDpBzo8BD5PmAsq4B5brFlI63DHG0fp5w0Wmng'}
});
},
updatePlaybackRate() {
fetch('https://listen.style/update_playback_rate', {
method: 'POST',
body: JSON.stringify({ rate: this.player.playbackRate }),
headers: { 'Content-Type': 'application/json','X-CSRF-TOKEN': 'S0xDpBzo8BD5PmAsq4B5brFlI63DHG0fp5w0Wmng'}
});
},
updateTime(t) {
if (t < 0) {
t = 0;
} else if (this.player.duration < t) {
t = Math.max(this.player.duration - 3, 0);
}
this.time = t;
this.player.currentTime = t;
this.updateProgressBar();
},
updateProgressBar(percent) {
if (!percent) {
percent = this.time * 100 / this.player.duration;
}
this.progressBar.style.width = percent + '%';
this.progressBar.parentElement.setAttribute('aria-valuenow', Math.floor(percent));
},
setupKeyboardShortcuts() {
document.addEventListener('keydown', (event) => {
const playerElement = document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA' || document.activeElement.isContentEditable;
if (playerElement) return; // Ignore key events when input or textarea is focused
const shiftNotAllowedShortcuts = ['Space', 'KeyK', 'KeyM', 'ArrowLeft', 'ArrowRight', 'KeyJ', 'KeyL', 'KeyS', 'ArrowUp', 'ArrowDown'];
if (shiftNotAllowedShortcuts.includes(event.code) && event.shiftKey) {
// If shift is pressed and the shortcut should not allow shift, return
return;
}
switch (event.code) {
case 'Space':
case 'KeyK':
event.preventDefault();
this.togglePlay();
break;
case 'KeyM':
event.preventDefault();
this.player.muted = !this.player.muted;
break;
case 'ArrowLeft':
event.preventDefault();
this.updateTime(this.time - 5);
break;
case 'ArrowRight':
event.preventDefault();
this.updateTime(this.time + 5);
break;
case 'KeyJ':
event.preventDefault();
this.updateTime(this.time - 10);
break;
case 'KeyL':
event.preventDefault();
this.updateTime(this.time + 10);
break;
case 'KeyS':
event.preventDefault();
this.addStar();
break;
case 'Period': // >
event.preventDefault();
if (event.shiftKey) {
this.speed = Math.min(Math.max(parseFloat(this.speed) + 0.1, 0.5), 4.0);
this.speed = parseFloat(this.speed);
this.player.playbackRate = this.speed;
}
break;
case 'Comma': // <
event.preventDefault();
if (event.shiftKey) {
this.speed = Math.min(Math.max(parseFloat(this.speed) - 0.1, 0.5), 4.0);
this.speed = parseFloat(this.speed);
this.player.playbackRate = this.speed;
}
break;
case 'ArrowUp':
event.preventDefault();
this.changeVolume(parseFloat(this.volume) + 0.05);
break;
case 'ArrowDown':
event.preventDefault();
this.changeVolume(parseFloat(this.volume) - 0.05);
break;
default:
break;
}
});
},
changeVolume(volume) {
if (this.player && (volume >= 0 && volume <= 1)) {
this.volume = volume;
this.player.volume = this.volume;
}
}
}" x-init="
window.addEventListener('notify', event => {
showNotification(event.detail.message);
});
window.addEventListener('replace-text', event => {
replaceText(event.detail.searchString, event.detail.replacementString);
});
const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)');
if (mediaQuery.matches) {
document.documentElement.classList.add('dark');
}
setupKeyboardShortcuts();
">
再び戻ろうか不動の1位まで!
#アニメ
---
stand.fmでは、この放送にいいね・コメント・レター送信ができます。
https://stand.fm/channels/5f3e554f907968e29d90d2b9
#アニメ
---
stand.fmでは、この放送にいいね・コメント・レター送信ができます。
https://stand.fm/channels/5f3e554f907968e29d90d2b9
感想
まだ感想はありません。最初の1件を書きましょう!
00:00
いやー、ありがとうございます。ということで、皆様のおかげで、なんとスタエフの検索ですね。アニメと検索すると、私が3位になりました。やったね!
いやー、一昨年までは不動の1位だったのに、このスタエフのアナリティックスで、4位まで転落してしまったんですけど、なんと本日、検索してみたら3位に戻ってました。戻ったっていうか、3位に浮上しました。
ただ、私のフォロワーさんのゆうとさんを落としてしまったということが非常に残念ではございますが、ゆうとさんはもう引退されてしまったのでしょうがない。
ということで、再び1位を目指すために、これからもアニメの収録を頑張っていきたいと思います。
ということで、いつも聞いてくださってありがとうございます。これでまずは今年の目標、トップページに再び帰り咲くということができましたね。
なので、今年から来年にかけてまた1位、まあ多分2位の漫画家さんかなり再生数されているので、
3位から2位に行くのが結構大変かなと思うんですけど、さらに言うと1位のアニメ演出家の大石さんも最近また収録始めたので、どんどんどんどん差が広まってくるとは思うんですけど、
圧倒的な収録数で巻き返しを狙いたいと思います。はい、ということで今回なんですけど、
スタイフの右上の検索欄でアニメと打つと、なんと私の放送、私のチャンネルが3位ということで、トップページに帰り咲いたよってお話でした。
いやー本当にありがとうございました。これからもよろしくお願いします。
02:00
コメント
スクロール