Title: Dynamic Video for Divi Posts
Author: Hyperspective
Published: <strong>24. marts, 2025</strong>
Last modified: 26. marts, 2025

---

Søg plugins

![](https://ps.w.org/dynamic-video-for-divi-posts/assets/banner-772x250.png?rev=
3261070)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/dynamic-video-for-divi-posts/assets/icon-256x256.png?rev=3261070)

# Dynamic Video for Divi Posts

 Af [Hyperspective](https://profiles.wordpress.org/hyperspective/)

[Download](https://downloads.wordpress.org/plugin/dynamic-video-for-divi-posts.1.0.2.zip)

 * [Detaljer](https://da.wordpress.org/plugins/dynamic-video-for-divi-posts/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/dynamic-video-for-divi-posts/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/dynamic-video-for-divi-posts/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/dynamic-video-for-divi-posts/#developers)

 [Support](https://wordpress.org/support/plugin/dynamic-video-for-divi-posts/)

## Beskrivelse

Dynamic Video for Divi Posts dynamically embeds a video into your blog posts by 
using a custom field. When editing a post, a new meta box labeled “Video URL” appears.
Enter a video URL (e.g., a YouTube link) into this box, and then use the [dynamic_video]
shortcode in your Divi Builder template. The video is automatically embedded using
WordPress’s oEmbed functionality. New in version 1.0.2: Optional setting to display
the post’s featured image when no video URL is provided.

## Skærmbilleder

[⌊Settings, Instructions⌉⌊Settings, Instructions⌉[

Settings, Instructions

[⌊Snippet example for Divi Code Module⌉⌊Snippet example for Divi Code Module⌉[

Snippet example for Divi Code Module

[⌊Blog entry for video URL⌉⌊Blog entry for video URL⌉[

Blog entry for video URL

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/dynamic-video-for-divi-posts`
    directory, or install the plugin through the WordPress plugins screen by uploading
    the ZIP file.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Edit any post to see the “Video URL” meta box and enter your video URL.
 4. In your Divi Builder template, add a Code or Text module and insert the shortcode:`[
    dynamic_video]`.
 5. (Optional) Go to Settings > Dynamic Video for Divi Posts to enable the featured
    image fallback option.

## FAQ

### How do I embed a video?

Enter a valid video URL (for example, a YouTube URL) in the “Video URL” meta box
when editing a post, and then use the `[dynamic_video]` shortcode in your template.
The video will be automatically embedded via WordPress’s oEmbed functionality.

### Why isn’t my video appearing?

Ensure that the video URL is correct and that your post type supports the shortcode.
Also, verify that your Divi Builder template includes the `[dynamic_video]` shortcode.
If no video appears and the featured image option is enabled, check if the post 
has a featured image set.

### How does the featured image fallback work?

When enabled in the plugin settings, if no video URL is provided for a post, the
plugin will display the post’s featured image instead of leaving the space blank.
You can turn this feature on or off in the plugin settings.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Dynamic Video for Divi Posts” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

 *   [ Hyperspective ](https://profiles.wordpress.org/hyperspective/)

[Oversæt “Dynamic Video for Divi Posts” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/dynamic-video-for-divi-posts)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/dynamic-video-for-divi-posts/),
tjek [SVN repository](https://plugins.svn.wordpress.org/dynamic-video-for-divi-posts/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/dynamic-video-for-divi-posts/)
via [RSS](https://plugins.trac.wordpress.org/log/dynamic-video-for-divi-posts/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0.2

 * Added optional feature to display featured image when no video URL is provided
 * Added settings page checkbox to enable/disable featured image fallback
 * Updated documentation to include new feature instructions

#### 1.0.1

 * Renamed all functions, meta keys, nonce names, and admin slugs to use the unique
   prefix “dynvid_” to avoid naming conflicts.
 * Improved nonce verification by sanitizing input using both wp_unslash() and sanitize_text_field().
 * Enhanced data sanitization and output escaping for all user inputs and meta values.
 * Added an admin submenu page for plugin details.
 * Minor code and documentation updates for better security and compatibility.

## Meta

 *  Version **1.0.2**
 *  Senest opdateret **2 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **6.7.11**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/dynamic-video-for-divi-posts/)
 * Tags
 * [divi](https://da.wordpress.org/plugins/tags/divi/)[Dynamic](https://da.wordpress.org/plugins/tags/dynamic/)
   [embed](https://da.wordpress.org/plugins/tags/embed/)[shortcode](https://da.wordpress.org/plugins/tags/shortcode/)
   [video](https://da.wordpress.org/plugins/tags/video/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/dynamic-video-for-divi-posts/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/dynamic-video-for-divi-posts/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/dynamic-video-for-divi-posts/reviews/)

## Bidragsydere

 *   [ Hyperspective ](https://profiles.wordpress.org/hyperspective/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/dynamic-video-for-divi-posts/)