Nonprofit WordPress

blazing moon logo

A Free Manual for Nonprofits

  • About
  • Search
  • WordPress Basics
    • What is WordPress?
    • Creating Content
  • Types of Content
    • Pages
    • Posts
    • Media Items
  • Content Management Basics
    • Write for the Web
    • The Perils of Poor Formatting
    • Help People with Disabilities
    • Linking to External Sites
    • Linking Within Your Site
    • Adding Images
    • Adding Documents
    • Adding Videos
  • Content Management Mastery
    • Editor Tips and Tricks
    • Linking to Email Addresses
    • Linking Within a Page
    • Redirecting Links
  • Administering Your Site
    • The Admin Bar
    • Managing Users
    • Managing Menus
    • Backing Up the Site
    • Updating Your Software

Adding Videos

It’s possible to add a video in the same way that you add an image: by uploading the video to the Media Library and embedding it in a post.

But this requires a great deal of storage space, and with many web hosting plans it can result in:

  • poor playback speed
  • increased costs
  • problems backup up your site

The best way to embed a video is by providing a link to an external video site like YouTube or Vimeo. These sites typically give you a snippet of code that you can paste into your page.

The snippet will often begin with “<iframe” or “<script” and may look something like this—though generally it’ll be in a single line.

<iframe 
    width="560" 
    height="315" 
    src="https://www.youtube.com/embed/qNEfdz1bpzg"
    frameborder="0"
    allowfullscreen>
</iframe>

To paste this snippet into your page you’ll need to switch to the editor’s Text tab. Simply paste in the code and check your page. The video should play back directly within your page, like this:

Creative Commons License
Nonprofit WordPress by Andrew Giesler is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Based on a work at http://nonprofitwordpress.info.