Skip Navigation

[Resolved] Embed a video

This support ticket is created 2 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by Eric Bégin 2 years, 1 month ago.

Author
Posts
#2484263

I'm trying to embed videos that are not from WordPress (Dacast.com)

The issue is that the embed (custom field), does not allow to copy the embed code. It says : Please enter a valid URL address.

If I use a URL address, then I see the address, but not the video. I tried it with RSS (for audio), and I have the same issue. Toolset does not allow the embed code.

#2484493

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

I'm not sure that dacast.com is supported by WordPress as a source of video embeds.

You should be able to check by adding a core WordPress video block to a page and using a dacast.com video URL as the source: does it work?

If so then it should be possible to use with the Toolset embed custom field type. Note that the field expects the video URL as its value, not embed code.

There appears to be a problem using a custom field as a dynamic source of our Video block, I was just testing and it doesn't seem to be working. I will investigate further and report if necessary, but in the meantime (assuming dacast.com works with the WordPress video block) you can output the video via a shortcode.

See https://toolset.com/documentation/customizing-sites-using-php/functions/#embedded-media

If your custom field slug was "dacast-video" then you could output the embedded video with a shortcode like so:

[types field='dacast-video' width='800' height='600'][/types]

(You can enter such a shortcode with a shortcode block, for example.)

#2485629

My issue is resolved now. Thank you!