{"id":122942,"date":"2019-08-28T18:44:26","date_gmt":"2019-08-28T22:44:26","guid":{"rendered":"http:\/\/www.bu.edu\/tech\/?page_id=122942"},"modified":"2024-12-09T11:19:21","modified_gmt":"2024-12-09T16:19:21","slug":"embed-video-or-mymedia","status":"publish","type":"page","link":"https:\/\/www.bu.edu\/tech\/services\/cccs\/websites\/www\/wordpress\/how-to\/embed-video-or-mymedia\/","title":{"rendered":"Embed Video or MyMedia"},"content":{"rendered":"<p>There are three primary ways to add video content to your website on BU WordPress:<\/p>\n<ol>\n<li><strong>YouTube\/BUniverse: <\/strong>Best for public content; fast and easy. Using YouTube\/BUniverse, you can upload multiple video formats and share them quickly and easily. <em>BUniverse is a curated front-end for YouTube.<\/em> This option is for public content.\n<ul>\n<li><strong>How it works<\/strong>: You can upload videos to YouTube or BUniverse and then embed them on your WordPress site.<\/li>\n<li><strong>Why use it<\/strong>: BUniverse is a BU-curated platform built on YouTube, making it ideal for public content. You can upload multiple video formats, and the process is quick and easy. This is the best choice when your video is intended for a wider audience and does not require restricted access.<\/li>\n<li><strong>Best for<\/strong>: Public-facing con<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<ol>\n<li><strong>MyMedia: <\/strong>Best for private content or larger video files (like Zoom recordings). Using MyMedia, you can upload multiple video formats and share them quickly and easily. MyMedia is a BU-licensed cloud platform and is not fully public. Content can be restricted to members of the BU community. MyMedia is recommended for larger media files such as Zoom recordings.\n<ul>\n<li><strong>How it works<\/strong>: Upload your video to MyMedia, a BU-licensed cloud platform, and then share it through WordPress.<\/li>\n<li><strong>Why use it<\/strong>: MyMedia offers more control over who can access your content, as it is not fully public. It\u2019s ideal for BU-related, private, or restricted videos, such as internal training materials or Zoom recordings. Additionally, MyMedia can handle larger video files, which might be problematic on other platforms.<\/li>\n<li><strong>Best for<\/strong>: Private or BU community-specific content, and larger video files like Zoom recordings.<\/li>\n<\/ul>\n<\/li>\n<li><strong>WordPress Media Library: <\/strong>Only for small, short videos (under 100MB); not ideal for larger videos due to slow download speeds. Using your WordPress Media Library, you can upload video files and link to them. <em>Videos uploaded to WordPress do not stream &#8211; visitors will experience download delays.<\/em> This option is only practical for very short clips or loops. Media files uploaded to WordPress must be under 100MB due to potential performance issues when serving large files from WordPress, the best option to use for larger videos is likely uploading to MyMedia or YouTube\/BUniverse and embedded the larger MyMedia\/BUuniverse video onto WordPress pages.\n<ul>\n<li><strong>How it works<\/strong>: Upload video files directly to your WordPress Media Library and link to them from your pages or posts.<\/li>\n<li><strong>Why use it<\/strong>: This method allows you to keep videos directly on your WordPress site, but videos uploaded this way will <strong>not<\/strong> stream directly\u2014they must be downloaded by visitors, leading to slower load times. Additionally, WordPress only supports files under 100MB, and uploading larger files can impact site performance.<\/li>\n<li><strong>Best for<\/strong>: Short video clips or loops that are under 100MB in size. For anything larger, it\u2019s better to use MyMedia or YouTube\/BUniverse and embed the video.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<div class=\"bu_collapsible_container \" aria-live=\"polite\" data-customize-animation=\"false\"><h3 class=\"bu_collapsible\" aria-expanded=\"false\"tabindex=\"0\" role=\"button\">BUniverse\/YouTube<\/h3><div class=\"bu_collapsible_section\" style=\"display: none;\"><\/p>\n<ol>\n<li><a title=\"Upload\" href=\"http:\/\/www.bu.edu\/buniverse\/add\/\"><\/a><img loading=\"lazy\" src=\"\/tech\/files\/2019\/10\/Screen-Shot-2019-10-08-at-11.29.53-AM-636x337.png\" alt=\"BUniverse Embed Button\" class=\"alignright wp-image-123824\" width=\"450\" height=\"238\" srcset=\"https:\/\/www.bu.edu\/tech\/files\/2019\/10\/Screen-Shot-2019-10-08-at-11.29.53-AM-636x337.png 636w, https:\/\/www.bu.edu\/tech\/files\/2019\/10\/Screen-Shot-2019-10-08-at-11.29.53-AM-768x407.png 768w, https:\/\/www.bu.edu\/tech\/files\/2019\/10\/Screen-Shot-2019-10-08-at-11.29.53-AM-1024x543.png 1024w, https:\/\/www.bu.edu\/tech\/files\/2019\/10\/Screen-Shot-2019-10-08-at-11.29.53-AM.png 1787w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/>Add your video to YouTube\/BUniverse. Give your video a title, description, categories, and tags \u2014 categories and tags help relate your video to other similar content and makes searching easier for visitors.<\/li>\n<li>Find the Share tools and click the <strong>Embed<\/strong> option.<\/li>\n<li><b>Copy the embed code<\/b>. Refer to the additional embed code parameters for sizing. The default size should fit most BU WordPress pages, however if you need to resize your video, b<em>e sure to set the correct width for your embed \u2014 the height property will change proportionally to ensure correct aspect ratio.<\/em> If you don\u2019t know what size your video should be, <a href=\"https:\/\/www.bu.edu\/tech\/comm\/websites\/www\/wordpress\/how-to\/find-area-width\/\">find the dimensions of a web page element<\/a>\u00a0to determine your site&#8217;s content column width in pixels.<\/li>\n<li>Go to your WordPress page editor and switch the editor to <strong>Text<\/strong>\u00a0mode.<\/li>\n<li><strong>Paste<\/strong> the copied code.<\/li>\n<li><strong>Accessibility Compliance<\/strong> \u2014 Add a title attribute with descriptive text to comply with BU&#8217;s <a href=\"https:\/\/www.bu.edu\/mwas\/\">Minimum Web Accessibility Standards<\/a>. After pasting the embed code, manually add a <strong>title<\/strong> attribute within the iframe tag (e.g.\u00a0<code>&lt;iframe src=\"[link-url]\" <\/code><strong><code>title=\"Interviews with students about afternoons on the BU Beach\"<\/code><\/strong><code> ...&gt;&lt;\/iframe&gt;<\/code><\/li>\n<li>Use the <strong>Preview Changes<\/strong> button to view your page with the video.\n<ol>\n<li>Note: If you switch back to <strong>Visual<\/strong> mode, you&#8217;ll see a yellow box indicating where your video will show in your content. WordPress doesn&#8217;t display the video in the dashboard\/editor for embedded YouTube videos.<\/li>\n<\/ol>\n<\/li>\n<li>Click <strong>Publish\/Update<\/strong>\u00a0to save all changes.<\/li>\n<\/ol>\n<p><\/div>\n<\/div>\n\n<div class=\"bu_collapsible_container \" aria-live=\"polite\" data-customize-animation=\"false\"><h3 class=\"bu_collapsible\" aria-expanded=\"false\"tabindex=\"0\" role=\"button\">MyMedia.bu.edu<\/h3><div class=\"bu_collapsible_section\" style=\"display: none;\"><\/p>\n<ol>\n<li>Log in to <a href=\"https:\/\/mymedia.bu.edu\/\">https:\/\/mymedia.bu.edu<\/a><br \/>\n<img loading=\"lazy\" src=\"\/tech\/files\/2020\/03\/mymedia1-copy-636x111.jpg\" alt=\"Click Guest menu, then Login to log into your MyMedia account using your or your department BU login name and Kerberos password.\" class=\"alignnone size-medium wp-image-126697\" width=\"636\" height=\"111\" srcset=\"https:\/\/www.bu.edu\/tech\/files\/2020\/03\/mymedia1-copy-636x111.jpg 636w, https:\/\/www.bu.edu\/tech\/files\/2020\/03\/mymedia1-copy-768x134.jpg 768w, https:\/\/www.bu.edu\/tech\/files\/2020\/03\/mymedia1-copy-1024x179.jpg 1024w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/li>\n<li>Find the MyMedia video you want to embed (via <strong>Search<\/strong> on the top right navigation, the Media&#8217;s URL, or your media\/playlist\/channels).<\/li>\n<li>Click the <strong>Share<\/strong> button. <em>Note: You will not see a <strong>Share<\/strong> button if you are not logged into MyMedia with Kerberos or the account does not have permission to share video.<br \/>\n<img loading=\"lazy\" src=\"\/tech\/files\/2020\/03\/mymedia2-copy-636x442.jpg\" alt=\"Once you find the video you would like to embed, click the Share button. The Share button is next to Details button. Note: You will not see a Share button if you are not logged into MyMedia with Kerberos or the account does not have permission to share video.\" class=\"alignnone size-medium wp-image-126698\" width=\"636\" height=\"442\" srcset=\"https:\/\/www.bu.edu\/tech\/files\/2020\/03\/mymedia2-copy-636x442.jpg 636w, https:\/\/www.bu.edu\/tech\/files\/2020\/03\/mymedia2-copy-768x534.jpg 768w, https:\/\/www.bu.edu\/tech\/files\/2020\/03\/mymedia2-copy-1024x712.jpg 1024w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><br \/>\n<\/em><\/li>\n<li>Click\u00a0<strong>Share,<\/strong>\u00a0then click <strong>Embed<\/strong> tab.<\/li>\n<li>For responsive videos (recommended), select the largest <strong>Maximum Player Size<\/strong> 608&#215;402 and turn <strong>Responsive Sizing<\/strong>\u00a0on.<br \/>\n<img loading=\"lazy\" src=\"\/tech\/files\/2020\/03\/mymedia3-copy-636x453.jpg\" alt=\"For responsive videos, select the largest Maximum Player Size 608x402 and slide the Responsive Sizing button from off to on. Copy the embed code from the box to paste into your WordPress site.\" class=\"alignnone size-medium wp-image-126699\" width=\"636\" height=\"453\" srcset=\"https:\/\/www.bu.edu\/tech\/files\/2020\/03\/mymedia3-copy-636x453.jpg 636w, https:\/\/www.bu.edu\/tech\/files\/2020\/03\/mymedia3-copy-768x548.jpg 768w, https:\/\/www.bu.edu\/tech\/files\/2020\/03\/mymedia3-copy-1024x730.jpg 1024w, https:\/\/www.bu.edu\/tech\/files\/2020\/03\/mymedia3-copy.jpg 1711w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/li>\n<li><strong>Copy the embed code<\/strong>.<\/li>\n<li>Switch to your BU WordPress page in editing mode.<\/li>\n<li>Switch from <strong>Visual<\/strong> to <strong>Text<\/strong> editor.<\/li>\n<li>Paste the copied embed code from MyMedia in the location you would like the video to appear. (Switch back to Visual editor to confirm the video appears where you intended.)<\/li>\n<li><strong>Accessibility Compliance<\/strong> \u2014 Enter a descriptive title to comply with BU&#8217;s <a href=\"https:\/\/www.bu.edu\/mwas\/\">Minimum Web Accessibility Standards<\/a>. After pasting the embed code, change the iframe <strong>title<\/strong> attribute. It&#8217;s a lot of code, but find the attribute <strong><code>title=\"Kaltura Player\"<\/code><\/strong>\u00a0and change that to something appropriately descriptive\u00a0<strong><code>title=\"Interviews with students about afternoons on the BU Beach\"<\/code><\/strong><code><br \/>\n<img loading=\"lazy\" src=\"\/tech\/files\/2020\/03\/mymedia4-copy-636x244.jpg\" alt=\"Click Edit on the WordPress Page and switch from &quot;Visual&quot; to &quot;Text&quot; editor to paste the copied embed code.\" class=\"alignnone size-medium wp-image-126703\" style=\"caret-color: #333333; color: #333333; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;\" width=\"636\" height=\"244\" srcset=\"https:\/\/www.bu.edu\/tech\/files\/2020\/03\/mymedia4-copy-636x244.jpg 636w, https:\/\/www.bu.edu\/tech\/files\/2020\/03\/mymedia4-copy-768x295.jpg 768w, https:\/\/www.bu.edu\/tech\/files\/2020\/03\/mymedia4-copy-1024x393.jpg 1024w, https:\/\/www.bu.edu\/tech\/files\/2020\/03\/mymedia4-copy.jpg 1880w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/code><\/li>\n<li>Publish\/Update your page. Visit the page in a browser to ensure it plays as expected.<\/li>\n<\/ol>\n<p><\/div>\n<\/div>\n\n<div class=\"bu_collapsible_container \" aria-live=\"polite\" data-customize-animation=\"false\"><h3 class=\"bu_collapsible\" aria-expanded=\"false\"tabindex=\"0\" role=\"button\">WordPress Media Library<\/h3><div class=\"bu_collapsible_section\" style=\"display: none;\"><br \/>\nFor very short videos that do not require streaming, your WordPress Media Library may be a viable option.<\/p>\n<ul>\n<li>Upload your video file to your WordPress Media Library.<\/li>\n<li>You can link to your video file.<\/li>\n<li>You cannot upload files larger than 100MB.<\/li>\n<li>Videos in the WP Media Library do not stream &#8212; visitors must download the entire file for the video to play.<\/li>\n<\/ul>\n<p><\/div>\n<\/div>\n\n<div class=\"bu_collapsible_container \" aria-live=\"polite\" data-customize-animation=\"false\"><h3 class=\"bu_collapsible\" aria-expanded=\"false\"tabindex=\"0\" role=\"button\">Legacy instructions: Fix nav drop-downs that appear behind videos<\/h3><div class=\"bu_collapsible_section\" style=\"display: none;\"><\/p>\n<p>If you are still using an old, pre-responsive WordPress theme and you have encountered a situation where your drop-down nav menus fall behind your video embeds, this *may* fix the situation. This problem is specific to Internet Explorer. The better fix is to contact IS&amp;T to plan to upgrade to a newer, responsive theme.<\/p>\n<ol>\n<li>Edit the <strong>Page<\/strong> that has the problematic video and switch to <strong>Text<\/strong> <strong>mode<\/strong> in the content editor.<\/li>\n<li>Find the video code within your HTML. It will usually start with <code>&lt;object&gt;<\/code> or <code>&lt;iframe&gt;<\/code>. Depending on which method you&#8217;re using determines which code you&#8217;ll use to fix it.<\/li>\n<li>If you are using <code>&lt;object&gt;<\/code> add the following parameter to you code amongst the other parameters: <code>&lt;param name=\"wmode\" value=\"opaque\" \/&gt;<\/code><br \/>\n<img loading=\"lazy\" src=\"\/tech\/files\/2011\/01\/tw-wordpress-faq-object-636x74.png\" alt=\"Adding to the list of parameters on object embedded video players\" class=\"size-medium wp-image-68407\" width=\"636\" height=\"74\" srcset=\"https:\/\/www.bu.edu\/tech\/files\/2011\/01\/tw-wordpress-faq-object-636x74.png 636w, https:\/\/www.bu.edu\/tech\/files\/2011\/01\/tw-wordpress-faq-object.png 805w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><br \/>\nAdding the additional parameter to the list of other parameters for the object embedded video player.<\/li>\n<li>If you are using <code>&lt;iframe&gt;<\/code> add the following code to the end of the URL reference: <code>?wmode=opaque<\/code><br \/>\n<img loading=\"lazy\" src=\"\/tech\/files\/2011\/01\/tw-wordpress-faq-iframe-636x50.png\" alt=\"Adding ?wmode=opaque to the and of the video URL in the iframe\" class=\"size-medium wp-image-68406\" width=\"636\" height=\"50\" srcset=\"https:\/\/www.bu.edu\/tech\/files\/2011\/01\/tw-wordpress-faq-iframe-636x50.png 636w, https:\/\/www.bu.edu\/tech\/files\/2011\/01\/tw-wordpress-faq-iframe.png 931w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><br \/>\nWe&#8217;ve added ?wmode=opaque to the end of the video link URL.<\/li>\n<li><strong>Preview<\/strong> your Page before saving to make sure these changes worked.<\/li>\n<li><strong>Save\/Update<\/strong> your Page to make the changes live.<\/li>\n<\/ol>\n<p><\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>There are three primary ways to add video content to your website on BU WordPress: YouTube\/BUniverse: Best for public content; fast and easy. Using YouTube\/BUniverse, you can upload multiple video formats and share them quickly and easily. BUniverse is a curated front-end for YouTube. This option is for public content. How it works: You can&#8230;<\/p>\n","protected":false},"author":8,"featured_media":0,"parent":304,"menu_order":7,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/122942"}],"collection":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/comments?post=122942"}],"version-history":[{"count":25,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/122942\/revisions"}],"predecessor-version":[{"id":155156,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/122942\/revisions\/155156"}],"up":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/304"}],"wp:attachment":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/media?parent=122942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}