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...
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.
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.
Customizing how videos are embedded within an RTE
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...
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?
Hi Blackhawk
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.
Cheers, Nigel
Try overriding the oEmbedVideo provider https://our.umbraco.com/forum/umbraco-7/using-umbraco-7/59626-Responsive-Video-using-built-in-embed#comment-270175
is working on a reply...