Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Within Umbraco 7, when working with the embed option in an RTE, When an editor clicks on the embed icon, I would like RTE to add an iframe video source code like this...
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" width="..." height="..." src="the-youtube-video-address" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
This is Bootstrap's formula for responsive video embeds. I don't want editors to put in this code manually every-time when they need to add a video. I would prefer for this code to automatically load into the RTE when an editor clicks the embed icon option.
Is this possible?
I assume you are referring to the standard RTE and not the grid ?
If using the RTE, probably the easiest solution is to use a macro and have the code inserted that way.
If using the grid you can create a custom embed video option for the grid and render the code out the way you want. I have used the Le Blender package and found it awesome for adding custom snippets to the grid.
Try overriding the oEmbedVideo provider
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted