cms
(Stefan Steib)
June 10, 2021, 9:32am
1
Hi,
I would like to embed YouTube-Videos but in a way that related videos are either not shown at all or that only videos from my own playlists appear in the recommendations.
For that purpose we need to add "?rel=0" in the YouTube-Video URL. Unfortunately prismic does not accept any parameters at the end of video-urls.
Is that correct?
How can I achieve this requirement?
Best regards
Valérie
Phil
(Phil Snow)
June 10, 2021, 9:41am
2
Hi Stefan,
You can indeed control youtube videos as described here:
Hello,
We've been trying to use the embed option for videos on Vimeo and Prismic - but unfortunately there are not apparent ways to adjust the frame look or size, so the embeds look a bit rough on our website. As it only accepts links, there is no way to adjust the media item.
Does anyone have any experience with this?
Unless something has changed. In which case, if this doesn't work, the custom embed option will work:
To add a custom embed code or raw HTML, you will first need to set up a unique field or Slice specifically for this. Then you will need to add code to your website application to handle this new field.
1. Create a new field for the HTML
You have two options, using a Key Text field or a Rich Text field.
with a Rich text field
We recommend you using a customized Rich Text field specifically for your custom code. You will need to configure the field to "Allow multiple paragraphs" and set the fiel…
Also like you said, recommending your own playlists is the only option:
This isn't an issue on our side. This is a change in how youtube handles its videos. The only thing you can specify now is to recommend only the videos from your own youtube channel.
system
(system)
closed as resolved, flag & select 'Something Else' to reopen.
June 22, 2021, 4:42pm
4
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.