Opt-In Cookie Manager

PAGES / Forum - YouTube - Opt-In Cookie Manager

PAGES / Forum - YouTube

by kjh-mov » Mon May 01, 2023 4:33 pm

Hello Chris,

what do I have to do to be able to embed a YouTube video on a phpBB3-PAGES page or Forum in a DSGVO-compliant way?

3.0.0

https://www.phpbb.com/customise/db/extension/pages/
Wer nichts weiß, muss alles glauben.

Marie von Ebner-Eschenbach
User avatar
kjh-mov
Registered User
Posts: 82
Joined: Mon May 07, 2018 12:23 pm

Re: PAGES / Forum - YouTube

by Chris1278 » Mon May 01, 2023 4:48 pm

If possible, embed the videos on the site with BBCode. If you use the existing BBcode this should also be compatible with the Opt in Extension.
User avatar
Chris1278
Jr. Extension Validator
Posts: 493
Joined: Thu Mar 14, 2019 6:07 pm

Re: PAGES / Forum - YouTube

by kjh-mov » Tue May 02, 2023 10:39 am

I use Pages only with HTML and CSS. I currently embed videos like this:

<div class="pages-content embed-container">
<iframe
src="https://www.youtube.com/embed/XXXXXX"
width="xxx"
height="xxx"
AllowFullScreen>
</iframe>
</div>

What do I need to change?
Wer nichts weiß, muss alles glauben.

Marie von Ebner-Eschenbach
User avatar
kjh-mov
Registered User
Posts: 82
Joined: Mon May 07, 2018 12:23 pm

Re: PAGES / Forum - YouTube

by Chris1278 » Tue May 02, 2023 10:57 am

If this your code:

Code: Select all

<div class="pages-content embed-container">
<iframe
src="https://www.youtube.com/embed/XXXXXX"
width="xxx"
height="xxx"
AllowFullScreen>
</iframe>
</div>
You can testing follow:

Code: Select all

<div class="pages-content embed-container">
<iframe data-name="youtube" data-src="https://www.youtube.com/embed/XXXXXX"
width="xxx"
height="xxx"
AllowFullScreen>
</iframe>
</div>
User avatar
Chris1278
Jr. Extension Validator
Posts: 493
Joined: Thu Mar 14, 2019 6:07 pm