{"id":10991,"date":"2025-04-05T09:12:10","date_gmt":"2025-04-05T08:12:10","guid":{"rendered":"https:\/\/wccmuk.wpenginepowered.com\/?page_id=10991"},"modified":"2025-04-29T07:54:16","modified_gmt":"2025-04-29T06:54:16","slug":"timer","status":"publish","type":"page","link":"https:\/\/wccm.uk\/timer\/","title":{"rendered":"Timer"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"10991\" class=\"elementor elementor-10991\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-bec4f70 e-flex e-con-boxed e-con e-parent\" data-id=\"bec4f70\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3fe3902 elementor-widget elementor-widget-heading\" data-id=\"3fe3902\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Meditation Timer<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-3a050be e-con-full e-flex e-con e-child\" data-id=\"3a050be\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-ca60cd6 e-con-full e-flex e-con e-child\" data-id=\"ca60cd6\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b71d6f1 elementor-widget elementor-widget-image\" data-id=\"b71d6f1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"720\" height=\"404\" src=\"https:\/\/wccm.uk\/wp-content\/uploads\/2025\/04\/flick-candle.tmp_.gif\" class=\"attachment-large size-large wp-image-10993\" alt=\"Flickering candle\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-67a8e03 e-con-full e-flex e-con e-child\" data-id=\"67a8e03\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-2cf15d7 e-con-full elementor-hidden-mobile e-flex e-con e-child\" data-id=\"2cf15d7\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7dab1bc elementor-widget elementor-widget-image\" data-id=\"7dab1bc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"960\" height=\"369\" src=\"https:\/\/wccm.uk\/wp-content\/uploads\/2023\/09\/WCCM-in-the-UK-Logo-White-Horizontal-e1694681302222.png\" class=\"attachment-large size-large wp-image-8263\" alt=\"WCCM in the UK Logo - White Horizontal\" srcset=\"https:\/\/wccm.uk\/wp-content\/uploads\/2023\/09\/WCCM-in-the-UK-Logo-White-Horizontal-e1694681302222.png 960w, https:\/\/wccm.uk\/wp-content\/uploads\/2023\/09\/WCCM-in-the-UK-Logo-White-Horizontal-e1694681302222-300x115.png 300w, https:\/\/wccm.uk\/wp-content\/uploads\/2023\/09\/WCCM-in-the-UK-Logo-White-Horizontal-e1694681302222-768x295.png 768w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-fd46fe1 e-con-full e-flex e-con e-child\" data-id=\"fd46fe1\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-bd30030 elementor-widget elementor-widget-html\" data-id=\"bd30030\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div id=\"timer-display-container\">\n    \n\n    <!-- Timer Display (Centre) -->\n    <div id=\"timer-display\">25:00<\/div>\n    \n\n    \n<\/div>\n\n\n<style>\n    \n        #timer-display {\n        font-size: 48px;\n        font-weight: bold;\n        color: white;\n        padding: 10px;\n        border-radius: 10px;\n    }\n\n    \n<\/style>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-26e5949 e-con-full e-flex e-con e-child\" data-id=\"26e5949\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-05c538f elementor-widget elementor-widget-html\" data-id=\"05c538f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div id=\"timer-controls-container\">\n    \n\n    <!-- Control Buttons -->\n    <div id=\"timer-controls\">\n        <button id=\"btn-up\">\u25b2<\/button>\n        <button id=\"btn-down\">\u25bc<\/button>\n        <button id=\"btn-start\">Start<\/button>\n        <button id=\"btn-reset\">Reset<\/button>        <\/div>\n    \n<\/div>\n\n\n<style>\n    \n       #timer-controls {\n           text-align: center;\n           font-size: 18px;\n        margin: 5px;\n        padding: 10px;\n        cursor: pointer;\n        \n    }\n\n    \n<\/style>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3f149a8 elementor-widget elementor-widget-html\" data-id=\"3f149a8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div>\n\n    <!-- Audio Elements -->\n    <audio id=\"start-sound\" src=\"\/wp-content\/uploads\/2025\/04\/Bowl-3.mp3\"><\/audio>\n    <audio id=\"end-sound\" src=\"\/wp-content\/uploads\/2025\/04\/Bowl-3.mp3\"><\/audio>\n\n\n<\/div><script>\n    let timerDuration = 1500; \/\/ 25 minutes (in seconds)\n    let timer;\n    let running = false;\n    let startTime = timerDuration;\n\n    const display = document.getElementById(\"timer-display\");\n\/\/    const video = document.getElementById(\"timer-video\");\n    const startSound = document.getElementById(\"start-sound\");\n    const endSound = document.getElementById(\"end-sound\");\n\n    function updateDisplay() {\n        let minutes = Math.floor(timerDuration \/ 60);\n        let seconds = timerDuration % 60;\n        display.innerText = `${minutes}:${seconds.toString().padStart(2, '0')}`;\n    }\n\n    function startTimer() {\n        if (running) return;\n\n        running = true;\n        startSound.play();\n\/\/        video.play();\n        \n        timer = setInterval(() => {\n            if (timerDuration > 0) {\n                timerDuration--;\n                updateDisplay();\n            } else {\n                clearInterval(timer);\n                endSound.play();\n\/\/                video.pause();\n                running = false;\n            }\n        }, 1000);\n    }\n\n    function adjustTime(amount) {\n        timerDuration = Math.max(30, Math.min(3600, startTime + amount));\n        startTime = timerDuration\n        updateDisplay();\n    }\n\n    document.getElementById(\"btn-up\").addEventListener(\"click\", () => adjustTime(30));\n    document.getElementById(\"btn-down\").addEventListener(\"click\", () => adjustTime(-30));\n    document.getElementById(\"btn-start\").addEventListener(\"click\", startTimer);\n    document.getElementById(\"btn-reset\").addEventListener(\"click\", () => {\n        clearInterval(timer);\n        running = false;\n        timerDuration = startTime;\n        updateDisplay();\n\/\/        video.pause();\n    });\n\n    updateDisplay();\n<\/script>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-978434e elementor-widget elementor-widget-text-editor\" data-id=\"978434e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This is a simple, no-frills online count down timer with a &#8216;singing bowl&#8217; to start and end meditation.<\/p><ul><li>Use the &#8216;up&#8217; and &#8216;down&#8217; buttons to set the time in 30 second intervals.<\/li><li>Press the &#8216;Start&#8217; button.<\/li><li>&#8216;Reset &#8216; sets the time back to your setting or 25 minutes.<\/li><\/ul><p>This was inspired by Dr Noel Keating of <a href=\"https:\/\/christianmeditation.ie\/\" target=\"_blank\" rel=\"noopener\">Christian Meditation Ireland<\/a> who has other meditation timers on his <a href=\"https:\/\/www.youtube.com\/watch?v=VmC3yDZpoDE&amp;list=PLMlXkPDlMpjoktN9fObqTwyy4_jzVd23x\" target=\"_blank\" rel=\"noopener\">YouTube channel<\/a>.<\/p><hr \/><h3>WCCM App with Meditation Timer<\/h3><p>This is available for Android and Apple phones and includes a meditation timer and access to WCCM resources.\u00a0 Links to your favourite app stores are <a href=\"https:\/\/wccm.org\/app\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Meditation Timer 25:00 \u25b2 \u25bc Start Reset This is a simple, no-frills online count down timer with a &#8216;singing bowl&#8217; to start and end meditation. Use the &#8216;up&#8217; and &#8216;down&#8217; buttons to set the time in 30 second intervals. Press the &#8216;Start&#8217; button. &#8216;Reset &#8216; sets the time back to your setting or 25 minutes. [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-10991","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/wccm.uk\/wp-json\/wp\/v2\/pages\/10991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wccm.uk\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wccm.uk\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wccm.uk\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/wccm.uk\/wp-json\/wp\/v2\/comments?post=10991"}],"version-history":[{"count":0,"href":"https:\/\/wccm.uk\/wp-json\/wp\/v2\/pages\/10991\/revisions"}],"wp:attachment":[{"href":"https:\/\/wccm.uk\/wp-json\/wp\/v2\/media?parent=10991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}