{"id":1251,"date":"2018-10-24T22:04:48","date_gmt":"2018-10-24T22:04:48","guid":{"rendered":"https:\/\/lab.florianschwarz.net\/PennController\/?post_type=yada_wiki&#038;p=1251"},"modified":"2018-10-24T22:04:48","modified_gmt":"2018-10-24T22:04:48","slug":"tooltip-settings-log","status":"publish","type":"yada_wiki","link":"https:\/\/lab.florianschwarz.net\/PennController\/wiki\/tooltip-settings-log\/","title":{"rendered":"tooltip.settings.log"},"content":{"rendered":"<p class='command-format'><code>getAudio(id).settings.log()<\/code> <em>(since beta 0.3)<\/em><\/p>\n<p>Will add a line in the results file each time the tooltip is validated.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<p>[js highlight=&#8221;7&#8243;]newAudio(&#8220;sentence&#8221;, &#8220;test_sentence.ogg&#8221;)<br \/>\n    .settings.log()<br \/>\n    .wait()<br \/>\n    .print()<br \/>\n,<br \/>\nnewTooltip(&#8220;instructions&#8221;, &#8220;Use this interface to replay the audio as many times as you want&#8221;)<br \/>\n    .settings.log()<br \/>\n    .print( getAudio(&#8220;sentence&#8221;) )<br \/>\n    .wait()[\/js]<\/p>\n<p>Starts playing the audio file <em>test<\/em>sentence.ogg_ and, when it has finished playing, adds an interface to replay it at will onto the page and attaches a tooltip at its bottom-right corner. Since <code>.settings.log<\/code> is called on both the audio and the tooltip, the results file can tell how long of a delay passed between the end of playback and the validation of the tooltip, and whether and how many times the audio was replayed before and after validating the tooltip.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"wiki_cats":[13,5,4,14,27],"wiki_tags":[],"class_list":["post-1251","yada_wiki","type-yada_wiki","status-publish","hentry","wiki_cats-command","wiki_cats-documentation","wiki_cats-element","wiki_cats-settings-command","wiki_cats-tooltip-element"],"_links":{"self":[{"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/yada_wiki\/1251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/yada_wiki"}],"about":[{"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/types\/yada_wiki"}],"author":[{"embeddable":true,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/comments?post=1251"}],"version-history":[{"count":1,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/yada_wiki\/1251\/revisions"}],"predecessor-version":[{"id":1252,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/yada_wiki\/1251\/revisions\/1252"}],"wp:attachment":[{"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/media?parent=1251"}],"wp:term":[{"taxonomy":"wiki_cats","embeddable":true,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/wiki_cats?post=1251"},{"taxonomy":"wiki_tags","embeddable":true,"href":"https:\/\/lab.florianschwarz.net\/PennController\/wp-json\/wp\/v2\/wiki_tags?post=1251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}