{
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.addPlayerStar();
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.applyPlaybackRate();
}
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.applyPlaybackRate();
}
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();
$watch('relatedAutoplayEnabled', value => window.relatedEpisodeAutoplay.saveRelatedAutoplayPreference(value));
">
●プロフィール
税理士事務所を経営しながら、お金の知識を発信&全国各地の学校でお金の授業を実施。夢は、お金の教育を日本に根付かせること。
https://moneliteg.com/interview-money-education/
ポートフォリオ
https://kaoruookouchi.com/
●学校での授業の様子
→https://youtube.com/playlist?list=PLdvow3CjKbsFmTzH2Wj2fP70MCiS1Jwn_
ーーーSNSなどーーー
🔷Twitter(税理士でフォロワー数日本一)
→https://twitter.com/k_art_u
🟥YouTube
https://www.youtube.com/channel/UCs7rJz4WvRVd0-PbXKiBi2Q
📌インスタ(図解とイラストでわかりやすく投稿!)
https://www.instagram.com/ookouchikaoru/
🟠マネリテDAO~信頼できる仲間とお金の話をしよう〜
公式サイト→https://monelite-dao.com/
公式ラジオ→https://stand.fm/channels/63c255bd7655e00c1c6319e1
ーーー著書ーーー
日本の歴史上1番売れている税金本「フリーランス税本📕」26.1万部突破!
〇Amazon → https://amzn.to/48jE1dm
〇楽天 → https://a.r10.to/hIYTVq
老若男女が笑ってお金について学べるギャグ漫画「お金のお守り本📗」11万部突破!
○Amazon → https://amzn.to/3K9EZ1Y
○楽天 → https://a.r10.to/hUdJV6
~監修~
🐱にゃんこ大戦争でまなぶ!お金のヒミツ
https://amzn.to/3T01LPm
🐖サイフの穴をふさぐには?
https://amzn.to/43VpWm6
---
stand.fmでは、この放送にいいね・コメント・レター送信ができます。
https://stand.fm/channels/5ef5f8c736e4dd5a2d4ab300
税理士事務所を経営しながら、お金の知識を発信&全国各地の学校でお金の授業を実施。夢は、お金の教育を日本に根付かせること。
https://moneliteg.com/interview-money-education/
ポートフォリオ
https://kaoruookouchi.com/
●学校での授業の様子
→https://youtube.com/playlist?list=PLdvow3CjKbsFmTzH2Wj2fP70MCiS1Jwn_
ーーーSNSなどーーー
🔷Twitter(税理士でフォロワー数日本一)
→https://twitter.com/k_art_u
🟥YouTube
https://www.youtube.com/channel/UCs7rJz4WvRVd0-PbXKiBi2Q
📌インスタ(図解とイラストでわかりやすく投稿!)
https://www.instagram.com/ookouchikaoru/
🟠マネリテDAO~信頼できる仲間とお金の話をしよう〜
公式サイト→https://monelite-dao.com/
公式ラジオ→https://stand.fm/channels/63c255bd7655e00c1c6319e1
ーーー著書ーーー
日本の歴史上1番売れている税金本「フリーランス税本📕」26.1万部突破!
〇Amazon → https://amzn.to/48jE1dm
〇楽天 → https://a.r10.to/hIYTVq
老若男女が笑ってお金について学べるギャグ漫画「お金のお守り本📗」11万部突破!
○Amazon → https://amzn.to/3K9EZ1Y
○楽天 → https://a.r10.to/hUdJV6
~監修~
🐱にゃんこ大戦争でまなぶ!お金のヒミツ
https://amzn.to/3T01LPm
🐖サイフの穴をふさぐには?
https://amzn.to/43VpWm6
---
stand.fmでは、この放送にいいね・コメント・レター送信ができます。
https://stand.fm/channels/5ef5f8c736e4dd5a2d4ab300
感想
まだ感想はありません。最初の1件を書きましょう!
スクロール