video embed code stripped

Ask for help or provide support to other members.
Post Reply
steviedeannz
Posts: 2
Joined: Mon Jan 15, 2024 1:10 am

video embed code stripped

Post by steviedeannz »

Hi there

I'm having issues posting youtube and vimeo videos. I've tried the embed codes and using the WYSIWYG editor video button. The code is never saved, always stripped.

I hope there is an easy solution, I dearly want to use this awesome CM system, but without being able to add video and include other objects, it's no good to me.

please help!

Thanks in advance. :)

User avatar
turboblack
Developer
Posts: 201
Joined: Fri Sep 19, 2014 1:53 pm

Re: video embed code stripped

Post by turboblack »

I created a website for my son several years ago. he posts videos

http://й.укр/%D0%B3%D0%BE%D0%BB%D0%BE%D ... %B0%D0%BB/

maybe it's a matter of the editor you're using
because everything works very well for us
http://old.net.eu.org/ Get ready to hamsterization! 8-) code takes less than a kilobyte! shock!
https://github.com/turboblack/HamsterCMS new version for PHP 8 with new templates

steviedeannz
Posts: 2
Joined: Mon Jan 15, 2024 1:10 am

Re: video embed code stripped

Post by steviedeannz »

I've been experimenting on a test install...and it seems isolated to the 'Parallax' theme...it seems this theme has code somewhere, that will not allow videos to be posted, it rejects it at the save point. (does not post .json file).

carmedia2p0
Posts: 1
Joined: Fri Jan 26, 2024 2:03 pm

Re: video embed code stripped

Post by carmedia2p0 »

Hi there!

I understand your frustration, and I'm here to help you resolve the issue with adding YouTube and Vimeo videos to your content management system (CM system). To ensure a seamless process, follow these steps:

Embed Codes:

Ensure that you are using the correct embed codes provided by YouTube or Vimeo.
When pasting the embed code, make sure you are using the HTML editor of your CM system, as WYSIWYG editors may sometimes alter the code.
WYSIWYG Editor Video Button:

If the video button in the WYSIWYG editor is not working as expected, try the following:
Paste the video URL directly into the editor, and the system might automatically convert it into an embed code.
Check for any specific guidelines or restrictions in your CM system's documentation regarding video embedding.
Code Stripping Issue:

If your CM system is consistently stripping the code, it could be due to security or formatting settings.
Contact your system administrator or support team to inquire about any restrictions on embedding codes and if there are any settings that can be adjusted to allow video embeds.
Testing with a Simple Example:
<iframe width="560" height="315" src="https://www.youtube.com/embed/RHbHbTBur ... 1pDky3Fent" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

Create a test page or post with minimal content, and try embedding a simple YouTube or Vimeo video.
This can help identify if the issue is related to the specific content or a broader system problem.
Documentation and Support:

Refer to your CM system's documentation for any specific guidelines or troubleshooting steps related to embedding videos.
If the issue persists, reach out to the support team of your CM system for personalized assistance.
I hope these suggestions help you successfully integrate YouTube and Vimeo videos into your content. If you encounter any further issues, don't hesitate to reach out for additional support.

Best regards,
Car Media

Post Reply