fix playlist id and new alert box when session done

This commit is contained in:
RemiSaurel
2022-08-21 12:24:38 +02:00
parent 1e1028fc9d
commit c90c314706
3 changed files with 4 additions and 3 deletions
+2
View File
@@ -131,7 +131,9 @@ export default {
if (this.isRestingTime) { if (this.isRestingTime) {
this.isRestingTime = false; this.isRestingTime = false;
this.resetSession(); this.resetSession();
alert("PAUSE TERMINÉE 📚");
} else { } else {
alert("SESSION TERMINÉE 👏");
this.nbSessionsFinished++; this.nbSessionsFinished++;
if (this.nbSessionsFinished === 4) { if (this.nbSessionsFinished === 4) {
this.setupPauseTimer(LONG_PAUSE); this.setupPauseTimer(LONG_PAUSE);
+1 -1
View File
@@ -1,7 +1,7 @@
<template> <template>
<div id="ytb-container"> <div id="ytb-container">
<div class="ytb" v-show="displayYoutube"> <div class="ytb" v-show="displayYoutube">
<iframe width="100%" height="360" src="https://www.youtube-nocookie.com/embed/MCkTebktHVc?autoplay=1&mute=1" title="YouTube video player" frameborder="0" <iframe width="100%" height="360" src="https://www.youtube-nocookie.com/embed/XDh0JcxrbPM?autoplay=1&mute=1" title="YouTube video player" frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
id="youtube_video"> id="youtube_video">
</iframe> </iframe>
+1 -2
View File
@@ -1,11 +1,10 @@
{ {
"id": [ "id": [
"XDh0JcxrbPM",
"MCkTebktHVc", "MCkTebktHVc",
"7NOSDKb0HlU", "7NOSDKb0HlU",
"-5KAN9_CzSA", "-5KAN9_CzSA",
"jfKfPfyJRdk", "jfKfPfyJRdk",
"SIt21jdTYKk",
"XDh0JcxrbPM",
"GDQnA1LVCWA" "GDQnA1LVCWA"
] ]
} }