Embed Dadan videos in WordPress

On this page
  1. Copy the share link of your video
  2. Embed a video with the Dadan Video block
  3. Embed a video with a shortcode
  4. Embed a video with Elementor
  5. Paste a link in the classic editor
  6. How the video looks on your site
  7. If the video does not show
  8. Frequently asked questions

With the Dadan plugin for WordPress, you can put any Dadan video on a page or post with a block, a shortcode or an Elementor widget. Visitors watch it in the Dadan player without leaving your site.

You need the Dadan plugin installed and active. Embedding does not use the App ID, so you can skip the connection steps if you only show videos. Video embeds need a Dadan Lite plan or above.

The plugin embeds videos from their share link, which looks like this:

text
https://app.dadan.io/video/share/GTwjoAelp8tkpAMb

To get it, open the video in Dadan, click Share and copy the link. How to share or embed your dadan videos shows each step.

The code at the end of the link, GTwjoAelp8tkpAMb in this example, also works on its own. A link that looks like https://app.dadan.io/video/ followed by a long ID, which is what you see in the address bar while editing a video, cannot be embedded. Use the share link instead.

Embed a video with the Dadan Video block

Link to section: Embed a video with the Dadan Video block
  1. Edit the page or post and click + (Block Inserter) at the top left.
  2. Search for Dadan and choose Dadan Video.
  3. Paste the share link into Video URL in the block settings on the right.
  4. Save or update the page.
The block inserter with Dadan typed in the search field, showing the Dadan Video and Dadan Record blocks
Search for Dadan in the block inserter.

The player appears in the editor as soon as the link is valid.

The block editor with a Dadan Video block selected, the Dadan player in the page and Video URL, Width and Height in the block settings
The Dadan Video block and its settings.
SettingDefaultWhat it does
Width640The player width in pixels. On narrow screens the player shrinks to fit
Height00 keeps a 16:9 shape based on the width. Enter a number for a fixed height

Leave Height at 0 for most videos. A fixed height can add black bars around the video.

Use a shortcode in the classic editor, in a widget, or in a page builder that runs shortcodes:

text
[dadan url="https://app.dadan.io/video/share/GTwjoAelp8tkpAMb"]

With a custom width, using the share code on its own:

text
[dadan url="GTwjoAelp8tkpAMb" width="800" height="0"]
AttributeRequiredDefaultNotes
urlYesThe share link or the share code
widthNo640A number of pixels or a CSS length
heightNo00 keeps 16:9 based on the width

When Elementor 3.20 or later is active, the plugin adds a Dadan Video widget.

  1. Edit the page with Elementor and search for Dadan Video in the widget panel. It is in the General and Dadan groups.
  2. Drag the widget onto the page.
  3. Paste the share link into Share URL.
  4. Optionally set Width, Height (leave 0 for 16:9) and an Iframe title for screen readers.
  5. Click Publish or Update.

If the link is not a share link, the widget shows “Invalid Dadan URL” with a reminder to use the share link.

In the classic editor, paste a Dadan share link on its own line. WordPress turns it into the Dadan player when the page is shown. In the block editor, use the Dadan Video block instead: it shows a preview and lets you set the size.

The player shows the video with its title, the play controls and a Watch On Dadan link. Visitors can play it full screen.

A WordPress page titled Send us a video with an embedded Dadan player and a record button below it
An embedded video and a Dadan record button on a published page.

To let visitors answer with their own video, add a record button under the player. See Add a Dadan record button to WordPress.

What you seeWhat to do
“Invalid Dadan URL” or an empty blockUse the share link, https://app.dadan.io/video/share/ followed by the code, not the link from the address bar while editing the video
The player says the video is unavailableCheck the video’s sharing settings in Dadan. See How to share or embed your dadan videos
The player area stays blankA security plugin or a Content Security Policy may block frames from app.dadan.io. Allow that host for frames

More fixes are in Dadan WordPress plugin troubleshooting.

The plugin embeds single videos. To share a playlist, use the embed code from Dadan as described in Manage your playlists.

Does an embedded video slow down my page?

Link to section: Does an embedded video slow down my page?

The player loads in a frame from app.dadan.io, so your page’s own code is not affected. Pages with several players load each one separately.

What does Dadan receive when someone watches?

Link to section: What does Dadan receive when someone watches?

The visitor’s browser loads the player from Dadan and sends the share code with standard request data such as the IP address and the page address. The plugin itself sends nothing from your server. See Privacy and data.

Ask AI about this article

What should the AI help you with?

Are you still facing issues?

Reach out to our support team for further assistance.

dadan