Skip to content

Commit

Permalink
Toggle on progress timer for content (#3392)
Browse files Browse the repository at this point in the history
  • Loading branch information
Emil Rondahl authored Aug 21, 2023
2 parents c754ab1 + 4d48a9e commit e0a5160
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 40 deletions.
18 changes: 12 additions & 6 deletions content/src/exercises/095f9642-73b6-4c9a-ae9a-ea7dea7363f5.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"video": {
"source": "https://res.cloudinary.com/twentyninek/video/upload/q_auto/v1663328548/temp/audio_meditation_2_b3hwge.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554578/Images/thumb_meditation_pure_simple_love_wex49u.png",
"subtitles": "https://res.cloudinary.com/cupcake-29k/raw/upload/q_auto,t_global/v1689597639/SRT%20(captions)%20files/pure_simple_love_xp8ouv.srt"
"subtitles": "https://res.cloudinary.com/cupcake-29k/raw/upload/q_auto,t_global/v1689597639/SRT%20(captions)%20files/pure_simple_love_xp8ouv.srt",
"durationTimer": true
},
"image": "https://res.cloudinary.com/twentyninek/image/upload/q_auto,t_global/v1636016815/Singles/sticky_eng_ps00eg.png"
},
Expand All @@ -45,7 +46,8 @@
"heading": "How did this meditation affect you?",
"video": {
"source": "https://res.cloudinary.com/twentyninek/video/upload/q_auto/v1663328538/temp/1_min_eto52x.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554578/Images/thumb_timer1min_pure_simple_love_jahzvt.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554578/Images/thumb_timer1min_pure_simple_love_jahzvt.png",
"durationTimer": true
},
"text": "What can you bring for the rest of the day?"
},
Expand All @@ -64,7 +66,8 @@
"heading": "How did this meditation affect you?",
"video": {
"source": "https://res.cloudinary.com/twentyninek/video/upload/q_auto/v1663328538/temp/2_min_fr9hsu.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554578/Images/thumb_timer2min_pure_simple_love_czlzbh.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554578/Images/thumb_timer2min_pure_simple_love_czlzbh.png",
"durationTimer": true
},
"text": "What can you bring for the rest of the day?"
},
Expand Down Expand Up @@ -178,7 +181,8 @@
"heading": "O amor puro e simples",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1670322252/FJN/Live%20Sessions/meditation_pure_simple_love_pt_awrfo6_pf7qo7.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554578/Images/thumb_meditation_pure_simple_love_wex49u.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554578/Images/thumb_meditation_pure_simple_love_wex49u.png",
"durationTimer": true
},
"image": "https://res.cloudinary.com/twentyninek/image/upload/q_auto,t_global/v1636016815/Singles/sticky_eng_ps00eg.png"
},
Expand All @@ -197,7 +201,8 @@
"heading": "O que sentiste com esta meditação? Como te afetou?",
"video": {
"source": "https://res.cloudinary.com/twentyninek/video/upload/q_auto/v1663328538/temp/1_min_eto52x.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554578/Images/thumb_timer1min_pure_simple_love_jahzvt.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554578/Images/thumb_timer1min_pure_simple_love_jahzvt.png",
"durationTimer": true
},
"text": "O que podes trazer para o resto do dia?"
},
Expand All @@ -216,7 +221,8 @@
"heading": "O que sentiste com esta meditação? Como te afetou?",
"video": {
"source": "https://res.cloudinary.com/twentyninek/video/upload/q_auto/v1663328538/temp/2_min_fr9hsu.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554578/Images/thumb_timer2min_pure_simple_love_czlzbh.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554578/Images/thumb_timer2min_pure_simple_love_czlzbh.png",
"durationTimer": true
},
"text": "O que podes trazer para o resto do dia?"
},
Expand Down
20 changes: 13 additions & 7 deletions content/src/exercises/185889ec-753b-4e2c-8322-3004013e8a6e.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"heading": "What do you bring from this exercise?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1669043760/Video/saring1_Be_kind_to_yourself_hokenn.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554605/Images/thumb_timer2min_2_be_kind_to_yourself_pii45p.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554605/Images/thumb_timer2min_2_be_kind_to_yourself_pii45p.png",
"durationTimer": true
}
}
},
Expand All @@ -58,7 +59,8 @@
"heading": "What do you bring from this exercise?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1669043755/Video/sharing_timer_Be_kind_to_yourself_kwtwln.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554605/Images/thumb_timer2min_3_be_kind_to_yourself_orn39r.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554605/Images/thumb_timer2min_3_be_kind_to_yourself_orn39r.png",
"durationTimer": true
}
},
"hostNotes": [
Expand Down Expand Up @@ -177,7 +179,8 @@
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1669043753/Video/content_Be_kind_to_yourself_qfhuch.mp4",
"autoPlayLoop": true,
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554605/Images/thumb_content_be_kind_to_yourself_hn38hz.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554605/Images/thumb_content_be_kind_to_yourself_hn38hz.png",
"durationTimer": true
}
}
},
Expand All @@ -195,7 +198,8 @@
"heading": "O que dirias a ti próprio/a?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1669043760/Video/saring1_Be_kind_to_yourself_hokenn.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554605/Images/thumb_timer2min_2_be_kind_to_yourself_pii45p.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554605/Images/thumb_timer2min_2_be_kind_to_yourself_pii45p.png",
"durationTimer": true
}
}
},
Expand All @@ -205,7 +209,8 @@
"heading": "O que dirias a ti próprio/a?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1669043755/Video/sharing_timer_Be_kind_to_yourself_kwtwln.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554605/Images/thumb_timer2min_3_be_kind_to_yourself_orn39r.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554605/Images/thumb_timer2min_3_be_kind_to_yourself_orn39r.png",
"durationTimer": true
}
},
"hostNotes": [
Expand All @@ -226,7 +231,7 @@
"content": {
"heading": "O que dirias a uma amiga ou a um amigo?",
"video": {
"durationTimer": false,
"durationTimer": true,
"autoPlayLoop": false,
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/v1669898289/Video/reflection2_Be_kind_to_yourself_zlyxgi.mp4"
}
Expand All @@ -246,7 +251,8 @@
"heading": "O que dirias a uma amiga ou a um amigo?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1669043755/Video/sharing_timer_Be_kind_to_yourself_kwtwln.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554605/Images/thumb_timer2min_3_be_kind_to_yourself_orn39r.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554605/Images/thumb_timer2min_3_be_kind_to_yourself_orn39r.png",
"durationTimer": true
}
},
"hostNotes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@
"heading": "O que sentiste?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673869507/Video/timer_1min_Drop_all_requirements_dahizb.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554589/Images/thumb_timer1min_drop_all_requirements_qebhbc.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554589/Images/thumb_timer1min_drop_all_requirements_qebhbc.png",
"durationTimer": true
}
}
},
Expand All @@ -219,7 +220,8 @@
"heading": "O que sentiste?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1674383225/Video/meditation_2_Drop_all_requirements_jeizf0.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554589/Images/thumb_timer2min_drop_all_requirements_hzwrlc.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554589/Images/thumb_timer2min_drop_all_requirements_hzwrlc.png",
"durationTimer": true
}
},
"id": "sharing"
Expand Down
24 changes: 16 additions & 8 deletions content/src/exercises/5b0dea9f-c665-41ce-a779-601d0cfa433d.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"content": {
"heading": "What's in your beach ball?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673875921/Video/timer1_letting_go_of_control_z1x47a.mp4"
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673875921/Video/timer1_letting_go_of_control_z1x47a.mp4",
"durationTimer": true
}
}
},
Expand All @@ -58,7 +59,8 @@
"content": {
"heading": "What's in your beach ball?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673879667/Video/timer2_letting_go_of_control_nxhgat.mp4"
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673879667/Video/timer2_letting_go_of_control_nxhgat.mp4",
"durationTimer": true
}
},
"hostNotes": [
Expand Down Expand Up @@ -93,7 +95,8 @@
"content": {
"heading": "What if you let go of your beach ball?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673875921/Video/timer1_letting_go_of_control_z1x47a.mp4"
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673875921/Video/timer1_letting_go_of_control_z1x47a.mp4",
"durationTimer": true
}
}
},
Expand All @@ -111,7 +114,8 @@
"content": {
"heading": "What if you let go of your beach ball?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673879667/Video/timer2_letting_go_of_control_nxhgat.mp4"
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673879667/Video/timer2_letting_go_of_control_nxhgat.mp4",
"durationTimer": true
}
},
"hostNotes": [
Expand Down Expand Up @@ -248,7 +252,8 @@
"content": {
"heading": "O que está na tua bola de praia?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673875921/Video/timer1_letting_go_of_control_z1x47a.mp4"
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673875921/Video/timer1_letting_go_of_control_z1x47a.mp4",
"durationTimer": true
}
}
},
Expand All @@ -257,7 +262,8 @@
"content": {
"heading": "O que está na tua bola de praia?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673879667/Video/timer2_letting_go_of_control_nxhgat.mp4"
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673879667/Video/timer2_letting_go_of_control_nxhgat.mp4",
"durationTimer": true
}
},
"hostNotes": [
Expand Down Expand Up @@ -292,7 +298,8 @@
"content": {
"heading": "E se largasses a tua bola de praia?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673875921/Video/timer1_letting_go_of_control_z1x47a.mp4"
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673875921/Video/timer1_letting_go_of_control_z1x47a.mp4",
"durationTimer": true
}
}
},
Expand All @@ -301,7 +308,8 @@
"content": {
"heading": "E se largasses a tua bola de praia?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673879667/Video/timer2_letting_go_of_control_nxhgat.mp4"
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1673879667/Video/timer2_letting_go_of_control_nxhgat.mp4",
"durationTimer": true
}
},
"hostNotes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@
"heading": "O que sentiste?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1667317097/Video/1min_Accepting_thoughts_and_feelings_xdvlcn.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554615/Images/thumb_timer1min_accepting_thoughts_and..._izhwhy.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554615/Images/thumb_timer1min_accepting_thoughts_and..._izhwhy.png",
"durationTimer": true
}
}
},
Expand All @@ -211,7 +212,8 @@
"heading": "O que sentiste?",
"video": {
"source": "https://res.cloudinary.com/cupcake-29k/video/upload/q_auto/v1667317099/Video/2min_Accepting_thoughts_and_feelings_b9bxvx.mp4",
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554616/Images/thumb_timer2min_accepting_thoughts_and..._lzejn1.png"
"preview": "https://res.cloudinary.com/cupcake-29k/image/upload/q_auto,t_global/v1674554616/Images/thumb_timer2min_accepting_thoughts_and..._lzejn1.png",
"durationTimer": true
}
},
"hostNotes": [
Expand Down
Loading

0 comments on commit e0a5160

Please sign in to comment.