Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/creativehassan/wp-videoduration/archive/refs/heads/master.zip🎯 — Made with Love.
Video Duration Plugin for (Youtube | Vimeo)
⚡️ Video Duration Plugin for WordPress (Youtube | Vimeo)
This WordPress plugin allows you to grab time duration of any video from youtube or video plateform.
How it works
Plugin find the first video from the post content either it is youtube or vimeo video and collect its time duration from corresponding API's and save it as custom post meta. You can use it anywhere for post as
$duration = get_post_meta($post->ID, 'time_duration', true);
Shortcode
Shortcode to use it on post [duration-video]
License
This plugin is free software licensed under the BSD 2-Clause license.
Installation
- Upload the plugin files to the
/wp-content/plugins/wp-videodurationdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress.
- Use the API Setting screen to configure the API's of Youtube | Vimeo .
Find me 👋 on WordPress for more updates and questions → https://profiles.wordpress.org/creativehassan/