{"id":51,"date":"2018-02-06T00:44:15","date_gmt":"2018-02-06T00:44:15","guid":{"rendered":"http:\/\/localhost\/staff-site\/?p=15"},"modified":"2018-05-24T07:16:21","modified_gmt":"2018-05-24T07:16:21","slug":"thinking-inside-the-box","status":"publish","type":"post","link":"https:\/\/emedia.rmit.edu.au\/oedvedesign\/index.php\/2018\/thinking-inside-the-box\/","title":{"rendered":"Thinking inside the box"},"content":{"rendered":"<p id=\"h.p_Sd6bPGDQdiq5\" class=\"zfr3Q\" class=\"intro-content\">Our brief when building the Certificate III (Individualised Support) was to build rich interactive experiences. After discovering certain limitations in RMIT\u2019s Canvas program that would restrict the choice of technologies available for use; and considering the limited support available to program coordinators following the build process, we elected to build our custom interactivity in an RMIT hosted WordPress instance and drop them in using iframes.<\/p>\n<h3 id=\"h.p_GGi4tBZ_-zye\" class=\"zfr3Q OmQG5e\">Iframes? Eugh. This was supposed to be the future!<\/h3>\n<p id=\"h.p_10_R8So_-9sQ\" class=\"zfr3Q\">Yes. Those in the know will regard iframes a contentious methodology for serving content. Forgive them, they have their place.<\/p>\n<p id=\"h.p_i90IKKs8-908\" class=\"zfr3Q\">Iframes are a way of embedding content from another site \u2014 most users will be familiar with Youtube videos being embedded in Facebook pages, for example. It\u2019s a mature and well established system used throughout website front end services.<\/p>\n<p id=\"h.p_tDDVqKsN-90-\" class=\"zfr3Q\">While Canvas already imbeds content from other sources (ARC, Youtube etc.) we find the Iframe to be a better method: It ensures the content is <a class=\"dhtgD\" href=\"https:\/\/www.google.com\/url?q=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSandbox_%28software_development%29&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNE0NX0JRT8sA_9GFj0TXIPkXv4MzQ\" target=\"_blank\" rel=\"noopener\">sandboxed<\/a> from accidental edits by the program administrators and does not \u2018break\u2019 when Canvas updates are rolled out.<\/p>\n<p id=\"h.p_rgkmRtFo-90_\" class=\"zfr3Q\"><em>\u201cFrames allow a visual HTML Browser window to be split into segments, each of which can show a different document. This can lower bandwidth use, as repeating parts of a layout can be used in one frame, while variable content is displayed in another.\u201d <\/em><\/p>\n<p id=\"h.p_YCD3yB3Y-91B\" class=\"zfr3Q\"><a class=\"dhtgD\" href=\"https:\/\/www.google.com\/url?q=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FHTML_element%23Frames&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNFRaMl7a2dTwOXPOrzqTcamtw0KZg\" target=\"_blank\" rel=\"noopener\">source: Wikipedia<\/a><\/p>\n<p id=\"h.p_23OgkJ-M-91B\" class=\"zfr3Q\">Canvas doesn\u2019t handle iframes well, but we fixed that.<\/p>\n<p id=\"h.p_8q6uZrUD_KUX\" class=\"zfr3Q\">Canvas is inflexible in hosting external content. It has issues with dynamic content that changes in size within an iframe. There are issues with layout across device sizes. Something to consider when most internet traffic is now viewed on mobile devices. Limited frame windows end up obscuring click and reveal content such as accordions. As such, the user may not be aware there is more information available to them, and the addition of iframe scroll bars may be missed. See GIF below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-74 size-full\" src=\"https:\/\/emedia.rmit.edu.au\/oedvedesign\/wp-content\/uploads\/2018\/02\/withiframe.gif\" alt=\"\" width=\"622\" height=\"270\" \/><\/p>\n<p>To circumvent this limitation, our team decided to use an <a class=\"dhtgD\" href=\"https:\/\/www.google.com\/url?q=https%3A%2F%2Fgithub.com%2Fdavidjbradshaw%2Fiframe-resizer&amp;sa=D&amp;sntz=1&amp;usg=AFQjCNEuIRPuSi3BrGaFvY7XdkPqkb5hsA\" target=\"_blank\" rel=\"noopener\">open source script<\/a> and upload it to Canvas\u2019 JS render queue. See GIF below:<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-76 aligncenter\" src=\"https:\/\/emedia.rmit.edu.au\/oedvedesign\/wp-content\/uploads\/2018\/02\/noiframe.gif\" alt=\"\" width=\"619\" height=\"296\" \/><\/p>\n<p>&nbsp;<\/p>\n<p id=\"h.p_T5x-MJpcAbIh\" class=\"zfr3Q\">This method provided a more uniform user experience between technologies and allowed greater opportunities for rich interactive experiences.<\/p>\n<p>The latest iteration is shown here.<br \/>\n<iframe loading=\"lazy\" id=\"C3319iframe2\" style=\"border: 0px #ffffff none;\" title=\"Managing conflict\" src=\"https:\/\/emedia.rmit.edu.au\/C3319\/?p=140\" name=\"Richcontent\" width=\"100%\" height=\"400\" frameborder=\"0\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p id=\"h.p_q7Qg8VtzAblj\" class=\"zfr3Q\">We will share this technique \u2014and how to implement it\u2014 with RMIT\u2019s Canvas developer community by completion of our course build. We hope it will serve some benefit to other course facilitators and developers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Our brief when building the Certificate III (Individualised Support) was to build rich interactive experiences. After discovering certain limitations in RMIT\u2019s Canvas program that would restrict the choice of technologies available for use; and considering the limited support available to program coordinators following the build process, we elected to build our custom interactivity in an RMIT hosted WordPress instance and drop them in using iframes. Iframes? Eugh. This was supposed to be the future! Yes. Those in the know will regard iframes a contentious methodology for serving content. Forgive them, they have their place. Iframes are a way of embedding content from another site \u2014 most users will be familiar with Youtube videos being embedded in Facebook pages, for example. It\u2019s a mature and well established system used throughout website front end services. While Canvas already imbeds content from other sources (ARC, Youtube etc.) we find the Iframe to be a better method: It ensures the content is sandboxed from accidental edits by the program administrators and does not \u2018break\u2019 when Canvas updates are rolled out. \u201cFrames allow a visual HTML Browser window to be split into segments, each of which can show a different document. This can lower bandwidth [&#8230;]<\/p>\n<p><a class=\"btn btn-lg btn-secondary understrap-read-more-link\" href=\"https:\/\/emedia.rmit.edu.au\/oedvedesign\/index.php\/2018\/thinking-inside-the-box\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":3,"featured_media":72,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-51","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/emedia.rmit.edu.au\/oedvedesign\/index.php\/wp-json\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emedia.rmit.edu.au\/oedvedesign\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emedia.rmit.edu.au\/oedvedesign\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emedia.rmit.edu.au\/oedvedesign\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/emedia.rmit.edu.au\/oedvedesign\/index.php\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":5,"href":"https:\/\/emedia.rmit.edu.au\/oedvedesign\/index.php\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":125,"href":"https:\/\/emedia.rmit.edu.au\/oedvedesign\/index.php\/wp-json\/wp\/v2\/posts\/51\/revisions\/125"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/emedia.rmit.edu.au\/oedvedesign\/index.php\/wp-json\/wp\/v2\/media\/72"}],"wp:attachment":[{"href":"https:\/\/emedia.rmit.edu.au\/oedvedesign\/index.php\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emedia.rmit.edu.au\/oedvedesign\/index.php\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emedia.rmit.edu.au\/oedvedesign\/index.php\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}