I developed a site in Silverstripe (3.1) for a client. Today, he tried to embed a second YouTube video into the content area in the CMS (paste media> from the Internet> paste YouTube URL> add URLs> paste).
In WYSIWYG in CMS, the thumbnails for the video are displayed correctly, however, in the template at the front end, the first video is repeated in the second iFrame video.
I tried changing them by deleting both videos and adding them again to fix some freak user error, but I can repeat this every time. The first video is always cloned in the second iFrame video.
I also tried to embed the video directly using my embed code from YouTube, but it suffers the same.
By checking iFrames, the second src video matches the first, so I assume that this is due to the way inlining replaces the text on it with the template method.
Is there any way to solve this problem?
source
share