Due to hard disk quota limitations, we highly recommend that LMU Build users host large media files (like videos or audio) on an external site and embedding it into WordPress instead of uploading your media content to WordPress directly. For videos, we recommend uploading them to YouTube or Vimeo, but Box can work as well. This tutorial will teach you how to use Box to host your media and embed into WordPress, using an audio file as an example.
All faculty, staff, and students at LMU have unlimited Box storage available to them. You can upload files up to 15GB in size and access them from any device with an internet connection. For more information about Box at LMU, please see this page.
Before you get started:
- Upload your media files to Box
- Create a new post or page on your WordPress site
Step 1. Navigate to your media file on Box. First, we have to make sure the correct sharing settings are in place so that visitors to your site will be able to view your media without logging in to Box. Hover your mouse over the file and click on the Share button.
Step 2. Toggle the option for a Share link, then change the sharing settings to ‘People with link‘ and ‘Can view‘.
Step 3. Close the Sharing settings, then hover over the file again and click on the three dots, then More Actions. Choose Embed Widget.
Step 4. Adjust the size of the widget as needed (you can also change this later), then click Copy.
Step 5. With the embed code copied to your clipboard, navigate to the WordPress page you want to embed the file into. Create a Custom HTML block (found in the Widgets category, or also by searching for ‘Custom HTML’).
Step 6. Paste the code into the new block, then click Preview to see how it will look on your site. If you decide to modify the size of the widget after previewing, note that you will need to re-copy the code into the Custom HTML block.
Once you’re satisfied with how the embedded content looks in the preview, go ahead and publish your page. Your media will now be accessible through your WordPress site, but it will not take up any space in your disk quota!
Still have questions?
Stay tuned for more LMU Build tutorials, or reach out to the ITS Service Desk for more targeted support!