Files
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

17 lines
494 B
PHP

<?php
/**
* Underscore.js template
*
* @package fusion-builder
* @since 2.0
*/
?>
<script type="text/html" id="tmpl-fusion_youtube-shortcode">
<div {{{ _.fusionGetAttributes( attr ) }}}>
<div {{{ _.fusionGetAttributes( attrSrc ) }}}>
<iframe title="YouTube video player" src="https://www.youtube.com/embed/{{ id }}?wmode=transparent&autoplay=0{{{ api_params }}}" width="{{ width }}" height="{{ height }}" allowfullscreen allow="autoplay; fullscreen"></iframe>
</div>
</div>
</script>