{"id":5,"date":"2020-06-02T10:29:40","date_gmt":"2020-06-02T09:29:40","guid":{"rendered":"https:\/\/audiosample.de\/?page_id=5"},"modified":"2021-10-26T12:14:00","modified_gmt":"2021-10-26T11:14:00","slug":"form","status":"publish","type":"page","link":"https:\/\/audiosample.de\/index.php\/form\/","title":{"rendered":"Teacher Recorder"},"content":{"rendered":"\r\n<div class=\"mmr_form\">\r\n    <div class=\"\">\r\n        <input name=\"post_id\" id=\"post_id\" type=\"hidden\" \/>\r\n        <input name=\"project\" id=\"project\" type=\"hidden\" value=\"124\" \/>\r\n        <input name=\"form_url\" id=\"form_url\" type=\"hidden\" value=\"\/index.php\/wp-json\/wp\/v2\/pages\/5\" \/>\r\n        <input name=\"page_name\" id=\"page_name\" type=\"hidden\" value=\"Teacher Recorder\" \/>\r\n        <!-- mmr_fields{\"type\":[\"text\",\"text\",\"text\",\"recording\",\"text\"],\"label\":[\"What is your ID\",\"What is your age?\",\"What is your gender?\",\"Please record the sentences below in a way that you would naturally say them in the classroom. When you're ready, press start recording. When you're finished, the file will upload automatically once you've pressed \\\"stop recording\\\".\",\"\"],\"label_de\":[\"\",\"\",\"\",\"\",\"\"],\"placeholder\":[\"Answer...\",\"\",\"\",\"\",\"\"],\"default\":[\"\",\"\",\"\",\"\",\"\"],\"audio\":[\"<br \\\/>\\r\\n<b>Notice<\\\/b>:  Undefined index: audio in <b>\\\/data\\\/web\\\/1\\\/000\\\/108\\\/093\\\/429623\\\/htdocs\\\/audio\\\/wp-content\\\/plugins\\\/mm_recorder\\\/templates\\\/project_meta.php<\\\/b> on line <b>136<\\\/b><br \\\/>\\r\\n<br \\\/>\\r\\n<b>Notice<\\\/b>:  Trying to access array offset on value of type null in <b>\\\/data\\\/web\\\/1\\\/000\\\/108\\\/093\\\/429623\\\/htdocs\\\/audio\\\/wp-content\\\/plugins\\\/mm_recorder\\\/templates\\\/project_meta.php<\\\/b> on line <b>136<\\\/b><br \\\/>\\r\\n\",\"\",\"\",\"\",\"\"],\"options\":[\"Female, Male, prefer not to say\",\"\",\"\",\"\",\"\"]}--><div class=\"mmr-form-section\">\n    <label>What is your ID<\/label>\n    <input  class=\"mmr_field\" \n        mmr_label=\"What is your ID\" \n        type=\"text\" \n        value=\"\" \n        placeholder=\"Answer...\" \n        id=\"mmr_input_0\"\n        onchange=\"mmrUpdatePost()\" onkeyup=\"mmrUpdatePost()\" \/>\n<\/div><div class=\"mmr-form-section\">\n    <label>What is your age?<\/label>\n    <input  class=\"mmr_field\" \n        mmr_label=\"What is your age?\" \n        type=\"text\" \n        value=\"\" \n        placeholder=\"\" \n        id=\"mmr_input_1\"\n        onchange=\"mmrUpdatePost()\" onkeyup=\"mmrUpdatePost()\" \/>\n<\/div><div class=\"mmr-form-section\">\n    <label>What is your gender?<\/label>\n    <input  class=\"mmr_field\" \n        mmr_label=\"What is your gender?\" \n        type=\"text\" \n        value=\"\" \n        placeholder=\"\" \n        id=\"mmr_input_2\"\n        onchange=\"mmrUpdatePost()\" onkeyup=\"mmrUpdatePost()\" \/>\n<\/div><div class=\"mmr-form-section\">\n    <label>Please record the sentences below in a way that you would naturally say them in the classroom. When you're ready, press start recording. When you're finished, the file will upload automatically once you've pressed \"stop recording\".<\/label>\n    <div class=\"recorder_div\">\n        <input name=\"recording_path[3]\" id=\"recording_path_3\" type=\"hidden\"  \/>\n        <button onclick=\"startStopRecording(3)\" id=\"mmr_start_3\" source-id='3' class=\"mmr_btn mmr_rec_btn\">Start Recording<\/button>        \n        <br>\n        <span style=\"font-size: x-small;\" class=\"mmr_disabled_msg\">Enter information to enable recording<\/span>\n    <\/div>\n    <div id=\"mm_dynamic_3\">\n        <span class=\"loading_holder\" id='loading_holder_3'>\n            Loading...        <\/span>\n        <audio id=\"playback_holder_3\" class=\"playback_holder\" controls >\n            <source id=\"playback_3\" src=\"\" type=\"audio\/x-wav\">\n        <\/audio>\n    <\/div>\n<\/div>    <\/div>\r\n<\/div>\r\n<script>\r\n    var has_terms = \"70\";\r\n<\/script>\r\n<div style=\"display:none\">\r\n    <div id=\"mm_recording_terms\" title=\"Terms & Conditions\">\r\n        I confirm that I have read both the <a target=\"_blank\" class=\"highlighted\" href=\"https:\/\/audiosample.de\/index.php\/project-information\/\">Project Information<\/a> and the <a target=\"_blank\" class=\"highlighted\" href=\"https:\/\/audiosample.de\/index.php\/participant-information\/\">Participant Information<\/a> and agree to those terms    <\/div>\r\n<\/div>\r\n<script>\r\n    var current_recorder = 0;\r\n    var recording_keys = [\n    3\n];\r\n    const mm_upload_url = 'https:\/\/audiosample.de\/?save_rec';\r\n    const mmr_stop = \"Stop recording\";\r\n    const mmr_saving = \"Saving...\";\r\n    const mmr_stopping = \"stopping...\";\r\n    const mmr_saved = \"Saved\";\r\n    const mmr_required = [\n    \"mmr_input_0\",\n    \"mmr_input_1\",\n    \"mmr_input_2\"\n];\r\n    \/\/ distinguish calls\r\n    var unique = Math.floor(100000 + Math.random() * 900000);\r\n            jQuery('#mmr_input_0').on(\"change\", function() {\r\n            check_recording_active();\r\n        });\r\n        jQuery('#mmr_input_0').on(\"keyup\", function() {\r\n            check_recording_active();\r\n        });\r\n            jQuery('#mmr_input_1').on(\"change\", function() {\r\n            check_recording_active();\r\n        });\r\n        jQuery('#mmr_input_1').on(\"keyup\", function() {\r\n            check_recording_active();\r\n        });\r\n            jQuery('#mmr_input_2').on(\"change\", function() {\r\n            check_recording_active();\r\n        });\r\n        jQuery('#mmr_input_2').on(\"keyup\", function() {\r\n            check_recording_active();\r\n        });\r\n    \r\n    function check_recording_active() {\r\n        console.log('checking...');\r\n        var active = true;\r\n        for (l of mmr_required) {\r\n            if (jQuery('#' + l).val() == '') {\r\n                active = false;\r\n            }\r\n        }\r\n        console.log('active::', active);\r\n        if (active) {\r\n            \/\/jQuery('.mmr_rec_btn').removeAttr(\"disabled\");\r\n            setActiveRecorder();\r\n            jQuery('.mmr_disabled_msg').hide();\r\n        } else {\r\n            \/\/jQuery('.mmr_rec_btn').attr(\"disabled\", true);\r\n            jQuery('.mmr_disabled_msg').show();\r\n        }\r\n    }\r\n    jQuery(document).ready(function($) {\r\n        check_recording_active();\r\n    });\r\n<\/script>\r\n<p><\/p>\r\n<p>\u2022\tToday we are going to look at \u2018haiku\u2019 in poetry.<br \/>\r\n\u2022\tYou did that beautifully.<br \/>\r\n\u2022\tLet\u2019s talk about that at the end of session.<br \/>\r\n\u2022\tThis is your final warning!<br \/>\r\n\u2022\tWe must pay close attention to see the reaction.<br \/>\r\n\u2022\tYou all need to be ready by the count of 10.<br \/>\r\n\u2022\tI&#8217;ve told you not to do that!<br \/>\r\n\u2022\tWell done!<br \/>\r\n\u2022\tI am sorry but I have some sad news for you all.<br \/>\r\n\u2022\tI need your attention.<br \/>\r\n\u2022\tWatch out!<br \/>\r\n\u2022\tWould anyone like to come up and show us how they did it?<br \/>\r\n\u2022\tSit down.<br \/>\r\n\u2022\tDo you need some help?<br \/>\r\n\u2022\tListen up.<\/p><!-- \/wp:post-content -->","protected":false},"excerpt":{"rendered":"<p>\u2022 Today we are going to look at \u2018haiku\u2019 in poetry. \u2022 You did that beautifully. \u2022 Let\u2019s talk about that at the end of session. \u2022 This is your final warning! \u2022 We must pay close attention to see the reaction. \u2022 You all need to be ready by the count of 10. \u2022 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/audiosample.de\/index.php\/form\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Teacher Recorder&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5","page","type-page","status-publish","hentry"],"translation":{"provider":"WPGlobus","version":"2.10.6","language":"gb","enabled_languages":["gb"],"languages":{"gb":{"title":true,"content":true,"excerpt":false}}},"_links":{"self":[{"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/pages\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/comments?post=5"}],"version-history":[{"count":11,"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/pages\/5\/revisions"}],"predecessor-version":[{"id":717,"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/pages\/5\/revisions\/717"}],"wp:attachment":[{"href":"https:\/\/audiosample.de\/index.php\/wp-json\/wp\/v2\/media?parent=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}