This Typemill plugin integrates YouTube videos into your Typemill website. It allows you to easily embed YouTube videos within your content by using a simple shortcode.
- Embed YouTube videos using a simple shortcode.
- Fully responsive design, ensuring videos look great on any device.
- Easy to install and use.
-
Download the Plugin: Download the
youtube-main.zip
file and extract its contents. -
Upload the Plugin: Upload the extracted
youtube-main
folder to theplugins
directory of your Typemill installation. Rename the directory toyoutube
. -
Activate the Plugin: Go to the Typemill admin panel, navigate to the Plugins section, and activate the YouTube plugin.
-
Add Css: Add the css.css instructions to Your Site.
To embed a YouTube video, use the following shortcode in your Typemill content:
[:youtube id="VIDEO_ID":]
Replace VIDEO_ID
with the actual ID of the YouTube video you want to embed.
[:youtube id="dQw4w9WgXcQ":]
The YouTube Typemill plugin ensures that embedded videos are fully responsive, based on the techniques described in the tutorial on HowToCanvas. This ensures that your videos will look great on any device, providing a seamless viewing experience for your users.
youtube.php
: The main PHP file that handles the embedding logic.css.css
: Css that make it responsive.