﻿{"id":926,"date":"2023-11-23T00:11:10","date_gmt":"2023-11-22T22:11:10","guid":{"rendered":"https:\/\/www.olivertacke.de\/labs\/?p=926"},"modified":"2024-05-11T10:18:27","modified_gmt":"2024-05-11T08:18:27","slug":"phrase-randomizer","status":"publish","type":"post","link":"https:\/\/www.olivertacke.de\/labs\/2023\/11\/23\/phrase-randomizer\/","title":{"rendered":"Phrase Randomizer"},"content":{"rendered":"<p>Sometimes <a href=\"https:\/\/h5p.org\" target=\"_blank\" rel=\"noopener\">H5P<\/a> quizzes are great, sometimes you need something else. Here&#8217;s a little bit of both, coming to you sponsored by the <a href=\"https:\/\/www.phraseolab.eu\/\" target=\"_blank\" rel=\"noopener\">Phraseolab project team<\/a>.<\/p>\n<p>The main idea of the &#8220;Phrase Randomizer&#8221; is to enable a teacher to define a list of slots, assign a number of words to each slot, and then present a user with the slots and with one randomly chosen word. That&#8217;s hard to explain. Maybe have a look at this:<\/p>\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-168\" class=\"h5p-iframe\" data-content-id=\"168\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Phrase Randomizer\"><\/iframe><\/div>\n<p>Better now, isn&#8217;t it?<\/p>\n<p>You can go through all of words of a slot one by one or let the content type choose a new random selection. What is this good for? For creating a cause for speaking in a foreign language for example. Could be something like &#8220;Get a random selection and ask you neighbor the question. He\/she needs to answer you. Then switch roles.&#8221;<\/p>\n<p>But maybe you want a quiz that works with different slots, different options, and some are correct while others are not, and the user needs to find all of the right ones. Personally, I think the layout is a little weird here, yes, but that&#8217;s what was requested and paid for \ud83d\ude42 Can probably be changed later on.<\/p>\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-169\" class=\"h5p-iframe\" data-content-id=\"169\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Super hero quiz\"><\/iframe><\/div>\n<p>Or you want to have your own digital version of &#8220;<a href=\"https:\/\/www.storycubes.com\/\" target=\"_blank\" rel=\"noopener\">story cubes<\/a>&#8220;, although you don&#8217;t have cubes here visually &#8211; thanks to Jan-Frode of <a href=\"https:\/\/ndla.no\" target=\"_blank\" rel=\"noopener\">NDLA<\/a> for the use case!<\/p>\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-170\" class=\"h5p-iframe\" data-content-id=\"170\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Phrase Randomizer (Story Cubes)\"><\/iframe><\/div>\n<p>Yes, a bullshit generator is also an option \ud83d\ude42 And have you noticed some other options such as sound, lives, different background colors or headers for each slot? Maybe you have some other ideas, too. Just try it out!<\/p>\n<h2>Want to use it already?<\/h2>\n<p>I will ask the H5P core team to review the content type. Afterwards, they should release it on the H5P Hub, but this process usually takes some time.<\/p>\n<p>If you want to use the content type right away, look for the\u00a0<strong>Reuse<\/strong>\u00a0button underneath the content. Use that button to download the demo content, and then upload the .h5p file onto your H5P enabled platform. Please note that you will need to have permission to install H5P libraries. Otherwise, you cannot install the content type this way. In that case, your system admin will need to assist you.<\/p>\n<p>The source code is available as well, if you want to check it before installing or if you want to build the libraries yourself:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/otacke\/h5p-phrase-randomizer\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/otacke\/h5p-phrase-randomizer<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/otacke\/h5p-editor-phrase-randomizer\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/otacke\/h5p-editor-phrase-randomizer<\/a><\/li>\n<li>https:\/\/github.com\/otacke\/h5p-editor-phrase-randomizer-textual-editor<\/li>\n<\/ul>\n<h2>Is it available in my language?<\/h2>\n<p>In theory: yes! If it\u2019s missing, you can fill in the gaps yourself on\u00a0<a href=\"https:\/\/translate-h5p.tk\/weblate\/projects\/h5p\/h5p-phrase-randomizer\" target=\"_blank\" rel=\"noopener\">translate-h5p.tk<\/a>.<\/p>\n<h2>Any future plans for that content type?<\/h2>\n<p>Not really. I was merely a contractor \u2013 like an architect that created a building but doesn\u2019t keep working on it once the building is done. \u00a0I\u2019ll take care of all the change requests that the H5P core team may have to bring the content type onto the H5P Hub. Additionally, I suppose that I will find time to help you on the H5P forum if you have questions. That\u2019s what I usually do anyway. But if you claim free support or demand features as if it was your right, you\u2019ll most likely get a \u201cno\u201d from me. I may add things, even consider your ideas, but at my own pace \u2013 or expect you to toss me some coin. I hope you understand that. Not all do, as I know from bad experience.<\/p>\n<p><script>\nconst adjustCSS = () => {\n  try {\n    document.querySelector('#content > .wrap').style.maxWidth = '1400px';\n    document.querySelector('#primary').style.width = '78%';\n    document.querySelector('#secondary').style.width = '18%';\n  }\n  catch(error) {\n  }\n}\nif (document.readyState !== 'loading') {\n  adjustCSS();\n}\nelse {\n  document.addEventListener('readystatechange', () => {\n    if (document.readyState === 'interactive') {\n      adjustCSS();\n    }\n  })\n}\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes H5P quizzes are great, sometimes you need something else. Here&#8217;s a little bit of both, coming to you sponsored by the Phraseolab project team. The main idea of the &#8220;Phrase Randomizer&#8221; is to enable a teacher to define a list of slots, assign a number of words to each slot, and then present a &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.olivertacke.de\/labs\/2023\/11\/23\/phrase-randomizer\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Phrase Randomizer&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[5,16,72],"class_list":["post-926","post","type-post","status-publish","format-standard","hentry","category-h5p","tag-content-type","tag-h5p","tag-murcia"],"_links":{"self":[{"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/posts\/926","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/comments?post=926"}],"version-history":[{"count":0,"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/posts\/926\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/media?parent=926"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/categories?post=926"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.olivertacke.de\/labs\/wp-json\/wp\/v2\/tags?post=926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}