Topics Covered In This Article
- Upload your video .mp4 file into your My Media Library in Moodle first.
In the left side navigation drawer, look for My Media:
![](http://media.royalroads.ca/owl/media/knowledgebase/wordpress/embed-mymedia-nav-drawer.jpg)
- Select Add New → Media Upload from the drop down menu. Follow the steps on screen.
   ![](https://media.royalroads.ca/owl/media/knowledgebase/wordpress/embed-mymedia-media-upload-video.jpg)
- Once uploaded, click on the name of your file to see the options:
   ![](https://media.royalroads.ca/owl/media/knowledgebase/wordpress/embed-mymedia-video-file-name.jpg)
- Then under Share Tab, in the Embed code look for the the entry_ID number and letters, this will what you will be copying out:
e.g. it will look similar to this → entry_id=0_elyfrh3h
(do not include &flashvars... and anything after that)
![](https://media.royalroads.ca/owl/media/knowledgebase/wordpress/embed-mymedia-share-video-entry-id.jpg)
Note: If you are using a smaller screen, the Share link will show up under the Details tab and drop down menu instead.
- Log into the WordPress site that is being used in your course (e.g. webspace.royalroads.ca or malat-webspace.royalroads.ca).
- In the navigation panel, go to either Posts or Pages. To add a new post or page, click the Add New button. Or, to edit an existing post or page, hover your mouse over the title and select Edit when it appears:
     ![](http://media.royalroads.ca/owl/media/knowledgebase/wordpress/embed-wordpress-posts-pages.jpg)
- In this example, we will be editing a Page.
Copy and paste (ctrl+shift+v) the following iframe shortcode (include the square brackets [ ] ):
[iframe src="https://api.ca.kaltura.com/p/143/sp/14300/embedIframeJs/uiconf_id/23449617/partner_id/143?iframeembed=true&playerId=kaltura_player&entry_id=0_elyfrh3h" width="100%" height="317"]
*Important note: Please use ctrl+shift+v or copy and paste the above shortcode into Notepad first and then into the WordPress editor. This way it saves it as plain text and doesn't add extra code or characters in, otherwise it could show the default YouTube video instead.
- Replace the entry_ID number with yours (please do not bold it in the page or it won't work):
[iframe src="https://api.ca.kaltura.com/p/143/sp/14300/embedIframeJs/uiconf_id/23449617/partner_id/143?iframeembed=true&playerId=kaltura_player&entry_id=0_xdxdxdxd" width="100%" height="317"]
     ![](http://media.royalroads.ca/owl/media/knowledgebase/wordpress/embed-wordpress-mymedia-iframe.jpg)
Note: the height has been set to 317 and can be adjusted.
- Click Update to save it.
- View the page. Click the page's permalink to view the published page, it converts the shortcode and will automatically show the video player:
  Â
    Â
![](https://media.royalroads.ca/owl/media/knowledgebase/wordpress/embed-wordpress-video-player.jpg)
Note to WordPress super admins (CTET): The iframe plugin must be enabled on the WordPress site in order for the shortcode to work.
- WebSpace - plugin is network enabled, it is on by default.
- MALAT WebSpace - plugin is optional. It can be enabled on each subsite by students.
About the roles:
- The user's role must be set to Editor to view and edit both Posts and Pages.
- The Contributor and Author roles can only view and edit Posts.
![](https://royalroads.atlassian.net/wiki/download/attachments/5840785/CC_BY-SA.png?version=1&modificationDate=1529355922000&cacheVersion=1&api=v2)
Content on this page is licensed under a Creative Commons Attribution-ShareAlike 4.0 International license.