Embedding videos in articles
You can display videos from external hosting platforms (such as YouTube or Vimeo) directly within your MemberClicks Professional articles by using the HTML embed feature.
To embed a video
To display a video on your site, you must first obtain the specific "embed code" (an "<iframe>" tag) from the hosting platform.
- Copy the embed code:
- YouTube: Find the video, click the Share button, select Embed, and copy the provided iframe code.
- Vimeo: Locate the video, click the Share icon in the top right-hand corner, and copy the provided embed code.
- Go to your article and open it for editing.
- Click the HTML button located within the editor toolbar.
- Paste the copied embed code into the HTML window.
- Save your changes.
Note: Once saved, the video will appear as a yellow square within both the Admin and user views of the article, but will display as a playable video on the front end of your site.
Troubleshooting common issues
If your video does not display as expected, try the following solutions:
- Video not showing on secure pages: Browsers may block "mixed content" if a video link uses "http" instead of "https" on a secure page. If your video is missing, try adding an "s" after "http" in the source URL. Note: Most modern services now use "//" at the start of the source URL to automatically handle security protocols.
- Video disappearing behind menus: If you encounter display issues where the video sits behind site elements, add a "wmode" parameter to the URL within your embed code.
- If the URL already contains a "?", append "&wmode=transparent" before the closing quotation mark.
- If the URL does not contain a "?", append "?wmode=transparent" before the closing quotation mark.
Platform changes: External sites like YouTube and Vimeo frequently update their embed code requirements. If the steps above do not work, please check the hosting provider's current sharing instructions.