File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,21 @@ Check your site - have you blocked all your critical services?
99
99
* by using the dev tools of your favorite browser
100
100
* or simply run a check on https://webbkoll.dataskydd.net/
101
101
102
+ # ## (Optional) Step 4: Better UX for blocked content elements
103
+
104
+ This is an example how to use the Fusion Component for a Youtube + Bootstrap markup.
105
+
106
+ ```
107
+ prototype(Your.Package: Component .Atom.Youtube) < prototype(Neos.Fusion: Component ) {
108
+ renderer = afx`
109
+ <div class =" embed-responsive embed-responsive-16by9 " >
110
+ <Tms.Consent: Component .Atom.NoConsentPlaceholder serviceName="youtube" imageUri="" />
111
+ <iframe src =" about:blank " data-name =" youtube " data-src =" https://www.youtube-nocookie.com/embed/4DVD03IlXIs?wmode=transparent& ; autoplay=& ; controls=1& ; rel=& ; showinfo= " class =" embed-responsive-item " loading =" lazy " allowfullscreen =" 1 " ></iframe >
112
+ </div >
113
+ `
114
+ }
115
+ ```
116
+
102
117
## Wishlist
103
118
104
119
* Add multi-site support
You can’t perform that action at this time.
0 commit comments