Feature: #108648 - Option to modify src attribute for Vimeo/YouTube
See forge#108648
Description
The new configuration option src for the You
and Vimeo can be used to modify the previously hard-coded src
attribute in the resulting iframe HTML code. This can be useful if
the iframe should not be immediately loaded because of privacy concerns. An
alternative such as data- can be used in the initial
HTML markup.
Example:
<f:media
file="{youtubeVideo}"
additionalConfig="{srcAttribute: 'data-src'}"
/>
Copied!
Impact
The src attribute for YouTube and Vimeo embeds can now be renamed.