{"id":109,"date":"2018-02-27T03:09:19","date_gmt":"2018-02-27T03:09:19","guid":{"rendered":"https:\/\/integrations.pressbooks.network\/demobook\/part\/web-only\/"},"modified":"2020-04-30T16:11:13","modified_gmt":"2020-04-30T16:11:13","slug":"web-only","status":"publish","type":"part","link":"https:\/\/integrations.pressbooks.network\/demobook\/part\/web-only\/","title":{"raw":"Web-Only Content and H5P Iframe Applications","rendered":"Web-Only Content and H5P Iframe Applications"},"content":{"raw":"<div class=\"textbox shaded\">\n<h2>There are two ways to insert content from other websites into Pressbooks. One is to use the direct oEmbed codes that many websites provide as a sharing option. The other is to use a the <a href=\"https:\/\/h5p.org\/iframe-embedder\">H5P Iframe Embedder<\/a> activity.<\/h2>\nDepending on the way your intended source material is formatted, embedded\u00a0activities may\u00a0or may not\u00a0function properly when incorporated into a Pressbook and embedded into a Canvas page. Thus, it is a good idea to privately test how your material functions in a published Pressbooks module before committing to an activity for a course.\n<h2><strong>Direct embeds only work reliably if two conditions are met:<\/strong><\/h2>\n<ol>\n \t<li><strong>the originating website is whitelisted by Wordpress or Pressbooks -\u00a0<\/strong><a style=\"text-indent: 0px;font-size: 1em\" href=\"https:\/\/codex.wordpress.org\/Embeds\">This page provides a list of websites that Wordpress will accept as an oEmbed.\u00a0<\/a><\/li>\n \t<li><strong>the site in question provides an oEmbed rather than just an embed code<\/strong><\/li>\n<\/ol>\n<h2>Consider some of the following questions about resource stability and permissions before you use an embed code or an iframe activity:<\/h2>\n<strong>What do you know about the source of the embedded material you are incorporating into your text?<\/strong>\n<ul>\n \t<li style=\"list-style-type: none\">\n<ul>\n \t<li>Is the embedded material's URL stable, or does the source site require users to access the material through a\u00a0path that changes moment to moment? Even if you are using the iframe activity on a short-term basis, make sure that you are confident that the link will remain active during the required period of student engagement.\n<ul>\n \t<li><em>For example, many online databases use time-sensitive URLs that become non-functional after a specified time has passed.<\/em><\/li>\n<\/ul>\n<\/li>\n \t<li>Is the embedded material likely to be removed from the web at any time?\u00a0 How will you know that this has happened? Do you need\u00a0a\u00a0backup plan?\n<ul>\n \t<li><em>For instance, is it likely that another content producer--say, on Quizlet--will delete the material in question?<\/em>\n<ul>\n \t<li><em> Is there a simple way for you to ethically and legally produce a copy of this resource on the originating site so that you are confident that the material will stay accessible?\u00a0<\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n \t<li>Is the embedded material equally supported in different internet browsers?<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n&nbsp;\n\n<strong>If you are planning to share a Pressbooks\u00a0activity as an Open Educational Resource, what are some ways that you can ensure an activity's longevity and stability?<\/strong>\n<ul>\n \t<li><em><em>For instance, if you've used an iframe to embed a Google Document activity that allows your students to collaborate to produce presentation materials for your peers, consider transferring the final version of this material into your Pressbook as opposed to leaving the final text in your iFrame. (Make sure you have obtained student permission for the publication and open licensing of your book.)<\/em><\/em><\/li>\n<\/ul>\n<strong>You will also want to consider graceful fallback options for the static formats of your text<\/strong>.\n<ul>\n \t<li>If you know that some of your students will be accessing your text off of the web, make sure you\u2019ve incorporated an alternate version or description of your web-only content into your Epub\/PDF export formats.<\/li>\n \t<li>For more information about adapting materials for other formats, see the <a href=\"\/part\/multiformat-stability\/\">Multiformat Stability section of this source guide.<\/a><\/li>\n<\/ul>\n<\/div>\n&nbsp;\n\n<strong><span style=\"text-decoration: underline\">Note<\/span>:<\/strong>\u00a0While embedded iframes generally work well when accessed through a text on the Pressbooks website, as\u00a0of February 2018, embedded iframes don't always transfer smoothly when Pressbooks pages are embedded directly within Canvas. (You might see a horizontal white bar appear over a small part of your Pressbook page.) The takeaway: if your end-goal is to embed your Pressbook directly into Canvas, it's a good idea to test the way your iframe activity works in an imported Canvas page before committing to that activity in your course.\n\nThis is a known issue we hope will resolve shortly.","rendered":"<div class=\"textbox shaded\">\n<h2>There are two ways to insert content from other websites into Pressbooks. One is to use the direct oEmbed codes that many websites provide as a sharing option. The other is to use a the <a href=\"https:\/\/h5p.org\/iframe-embedder\">H5P Iframe Embedder<\/a> activity.<\/h2>\n<p>Depending on the way your intended source material is formatted, embedded\u00a0activities may\u00a0or may not\u00a0function properly when incorporated into a Pressbook and embedded into a Canvas page. Thus, it is a good idea to privately test how your material functions in a published Pressbooks module before committing to an activity for a course.<\/p>\n<h2><strong>Direct embeds only work reliably if two conditions are met:<\/strong><\/h2>\n<ol>\n<li><strong>the originating website is whitelisted by WordPress or Pressbooks &#8211;\u00a0<\/strong><a style=\"text-indent: 0px;font-size: 1em\" href=\"https:\/\/codex.wordpress.org\/Embeds\">This page provides a list of websites that WordPress will accept as an oEmbed.\u00a0<\/a><\/li>\n<li><strong>the site in question provides an oEmbed rather than just an embed code<\/strong><\/li>\n<\/ol>\n<h2>Consider some of the following questions about resource stability and permissions before you use an embed code or an iframe activity:<\/h2>\n<p><strong>What do you know about the source of the embedded material you are incorporating into your text?<\/strong><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li>Is the embedded material&#8217;s URL stable, or does the source site require users to access the material through a\u00a0path that changes moment to moment? Even if you are using the iframe activity on a short-term basis, make sure that you are confident that the link will remain active during the required period of student engagement.\n<ul>\n<li><em>For example, many online databases use time-sensitive URLs that become non-functional after a specified time has passed.<\/em><\/li>\n<\/ul>\n<\/li>\n<li>Is the embedded material likely to be removed from the web at any time?\u00a0 How will you know that this has happened? Do you need\u00a0a\u00a0backup plan?\n<ul>\n<li><em>For instance, is it likely that another content producer&#8211;say, on Quizlet&#8211;will delete the material in question?<\/em>\n<ul>\n<li><em> Is there a simple way for you to ethically and legally produce a copy of this resource on the originating site so that you are confident that the material will stay accessible?\u00a0<\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>Is the embedded material equally supported in different internet browsers?<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>If you are planning to share a Pressbooks\u00a0activity as an Open Educational Resource, what are some ways that you can ensure an activity&#8217;s longevity and stability?<\/strong><\/p>\n<ul>\n<li><em><em>For instance, if you&#8217;ve used an iframe to embed a Google Document activity that allows your students to collaborate to produce presentation materials for your peers, consider transferring the final version of this material into your Pressbook as opposed to leaving the final text in your iFrame. (Make sure you have obtained student permission for the publication and open licensing of your book.)<\/em><\/em><\/li>\n<\/ul>\n<p><strong>You will also want to consider graceful fallback options for the static formats of your text<\/strong>.<\/p>\n<ul>\n<li>If you know that some of your students will be accessing your text off of the web, make sure you\u2019ve incorporated an alternate version or description of your web-only content into your Epub\/PDF export formats.<\/li>\n<li>For more information about adapting materials for other formats, see the <a href=\"\/part\/multiformat-stability\/\">Multiformat Stability section of this source guide.<\/a><\/li>\n<\/ul>\n<\/div>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"text-decoration: underline\">Note<\/span>:<\/strong>\u00a0While embedded iframes generally work well when accessed through a text on the Pressbooks website, as\u00a0of February 2018, embedded iframes don&#8217;t always transfer smoothly when Pressbooks pages are embedded directly within Canvas. (You might see a horizontal white bar appear over a small part of your Pressbook page.) The takeaway: if your end-goal is to embed your Pressbook directly into Canvas, it&#8217;s a good idea to test the way your iframe activity works in an imported Canvas page before committing to that activity in your course.<\/p>\n<p>This is a known issue we hope will resolve shortly.<\/p>\n","protected":false},"parent":0,"menu_order":4,"template":"","meta":{"pb_part_invisible":false,"pb_part_invisible_string":""},"contributor":[],"license":[],"class_list":["post-109","part","type-part","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/integrations.pressbooks.network\/demobook\/wp-json\/pressbooks\/v2\/parts\/109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/integrations.pressbooks.network\/demobook\/wp-json\/pressbooks\/v2\/parts"}],"about":[{"href":"https:\/\/integrations.pressbooks.network\/demobook\/wp-json\/wp\/v2\/types\/part"}],"version-history":[{"count":1,"href":"https:\/\/integrations.pressbooks.network\/demobook\/wp-json\/pressbooks\/v2\/parts\/109\/revisions"}],"predecessor-version":[{"id":110,"href":"https:\/\/integrations.pressbooks.network\/demobook\/wp-json\/pressbooks\/v2\/parts\/109\/revisions\/110"}],"wp:attachment":[{"href":"https:\/\/integrations.pressbooks.network\/demobook\/wp-json\/wp\/v2\/media?parent=109"}],"wp:term":[{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/integrations.pressbooks.network\/demobook\/wp-json\/wp\/v2\/contributor?post=109"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/integrations.pressbooks.network\/demobook\/wp-json\/wp\/v2\/license?post=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}