Problem/Motivation
The renderEmbedCode function returns a build using the html_tag type. It would be more flexible to use the video_embed_iframe type like the other providers in video_embed_field do.
Use case: I needed to alter the iframe code a bit to integrate it with our cookie consent script. Having a proper template makes this a lot easier.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | video_embed_facebook-3318857-2.patch | 1.29 KB | robbevb |
Comments
Comment #2
robbevb commentedUse attached patch to switch to the video_embed_iframe render type.
Comment #3
robbevb commentedComment #4
robbevb commentedComment #5
stijnstroobantsGood improvement! Tested and seems to work!
Comment #7
stijnstroobants