Skip Navigation

[Closed] youtube videos don't play

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 3 replies, has 2 voices.

Last updated by Mateus Getulio 1 year, 2 months ago.

Assisted by: Mateus Getulio.

Author
Posts
#2662883

Tell us what you are trying to do? trying to get youtube videos to display within the media gallery (vimeo videos are fine)

Is there any documentation that you are following?

Is there a similar example that we can see? hidden link - the youtube video won't play, but the vimeo ones do

What is the link to your site? hidden link

#2663263

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Thank you for reaching out to us with your question about displaying YouTube videos within the media gallery on your site.

I checked the example page you provided (hidden link), but it appears that there are currently no YouTube videos present on the page. If you've removed them, please let me know if you'd like assistance with re-adding YouTube videos to your media gallery.

However, based on the information you provided, it's possible that you might encounter issues displaying YouTube videos within a custom iframe. For example, try placing an iframe with a hard-coded Youtube URL in the src attribute, like this:

<iframe src="<em><u>hidden link</u></em>" allow="autoplay; encrypted-media" allowfullscreen="" width="525" height="295" frameborder="0"></iframe>

The video will not play, because of security measures in place on Youtube.com. As you can see, this is not a Toolset-specific problem, it is because of how YouTube enforces security of their embedded content.

To display YouTube videos on your site, we recommend the following approaches:

Toolset Types "Embedded Media" Field: You can use the Toolset Types "Embedded Media" field type to store YouTube video URLs and display the videos. This field type is designed to handle embedded content, including YouTube videos, and ensures proper rendering.

WordPress Embed Shortcode: You can also use the WordPress built-in embed shortcode with the Types URL field. This shortcode allows you to easily embed YouTube videos by simply pasting the video URL into your content, like this:

[embed]<em><u>hidden link</u></em>;

Replace it with the actual YouTube video URL.

By following either of these approaches, you should be able to display YouTube videos on your site without encountering security restrictions.

If you have any more specific questions or need further assistance with implementing these solutions, please feel free to provide more details, and we'll be happy to help.

Best regards,

#2663265

hey - i took down the youtube videos this morning since i hadn't had a reply.
I've put them in there now - you can see them here hidden link
i don't think we're using iframes

#2663279

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://toolset.com/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

The topic ‘[Closed] youtube videos don't play’ is closed to new replies.