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

21 lines
618 B
PHP

<?php
/**
* Underscore.js template
*
* @package fusion-builder
* @since 2.0
*/
?>
<script type="text/html" id="tmpl-fusion_vimeo-shortcode">
<# if ( ! values.id ) { #>
<div class="fusion-builder-placeholder">{{{ fusionBuilderText.video_placeholder }}}</div>
<# } else { #>
<div {{{ _.fusionGetAttributes( attr ) }}}>
<div {{{ _.fusionGetAttributes( attrSrc ) }}}>
<iframe src="https://player.vimeo.com/video/{{ values.id }}?autoplay=0{{ values.api_params }}" width="{{ values.width }}" height="{{ values.height }}" allowfullscreen title="vimeo{{ values.id }}"></iframe>
</div>
</div>
<# } #>
</script>