
This plugin adds a button to post editor to insert videos and video playlists easily. Simply click the button, paste YoutubeURL
and kick Insert Video. Support for other video hostings will be added later. Video embedding can be used as a shortcode in posts
and pages, including custom post types.
A few notes about the sections above:
By clicking > Insert Video button it opens a popup window where you can paste video URL and set parameters. You can also set start time,
or just leave it 0:00 if you want to play video from the beginning. Playlists are also supported.
It also stores a list of recent videos where you can chose one of the videos you have used before (or saved for future). In later versions,
there will be something like a video library to access and share videos between multiple wordpress administrators and editors.
This plugin was a part of another bigger project. It was handy and easy to use, so I decided to extract the code to a stand-alone
plugin and make it available for free for public.
When you use > Insert Video button in post / page editor, it adds a shortcode automatically. Alternatively, you can put a shortcode manually:
[rem_video id=”XXXXX” list=”YYYYY” autplay=0 controls=1 autohide=0 loop=0]
XXXXX is a video ID from Youtube URL, it comes after v=, like https://www.youtube.com/watch?v=mbBmc8RC_S8
YYYYY is a playlist ID (for playlists), like https://www.youtube.com/watch?v=mbBmc8RC_S8&list=PLCF042F294768BFD1
autoplay=(0|1): if 1, video will start automatically when your page is loaded. Default is 0 – video will not start automatically.
autohide=(0|1): if 1, it will hide controls when video is played. Default is 0 – controls will be always visible.
controls=(0|1): if 1, controls will be shown, if 0 – hidden. Default is 1.
loop=(0|1): if 1, when video is ended, it will start from the beginning. If it is a playlist, it will loop from first video in the list.
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.