WP Manifestindependent plugin directory
manifest / media / wp-videoduration

WP Video Duration

WordPress Video Duration Shortcode for Youtube and Vimeo

★ 0stars

Install

Download source zip No release zip yet

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
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

🎯 — 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

  1. Upload the plugin files to the /wp-content/plugins/wp-videoduration directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. 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/