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
When inserting Embed in the grid editor, e.g. a YouTube video, it doesn't seems to add parameters.
For instance you can add rel attribute with value 0 to disable related videos at the end of the video playing: https://www.youtube.com/watch?v=MVRsxMdtmnU&rel=0
This works in the embed preview, but not in the rendered output. https://www.youtube.com/embed/MVRsxMdtmnU?feature=oembed
if I update DOM with https://www.youtube.com/embed/MVRsxMdtmnU?feature=oembed&rel=0 via console window it works.
Ideally it should also support paramters like autoplay, playlistId etc. like in Warren's YouTube package: https://github.com/warrenbuckley/YouTube-Umbraco/blob/master/YouTube/Extensions/YouTubeExtensionMethods.cs#L18
Is there any way to allow this or configurate it in EmbeddedMedia.config?
/Bjarne
The way OEmbed works is to call a third party to ask it to convert your URL in to an embed format. If that doesn't allow you to keep your query string values (which it won't) then I think you'll have to write your own embed provider.
This might help. http://www.nibble.be/?p=451
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Use parameters in embed media
When inserting Embed in the grid editor, e.g. a YouTube video, it doesn't seems to add parameters.
For instance you can add rel attribute with value 0 to disable related videos at the end of the video playing: https://www.youtube.com/watch?v=MVRsxMdtmnU&rel=0
This works in the embed preview, but not in the rendered output. https://www.youtube.com/embed/MVRsxMdtmnU?feature=oembed
if I update DOM with https://www.youtube.com/embed/MVRsxMdtmnU?feature=oembed&rel=0 via console window it works.
Ideally it should also support paramters like autoplay, playlistId etc. like in Warren's YouTube package: https://github.com/warrenbuckley/YouTube-Umbraco/blob/master/YouTube/Extensions/YouTubeExtensionMethods.cs#L18
Is there any way to allow this or configurate it in EmbeddedMedia.config?
/Bjarne
The way OEmbed works is to call a third party to ask it to convert your URL in to an embed format. If that doesn't allow you to keep your query string values (which it won't) then I think you'll have to write your own embed provider.
This might help. http://www.nibble.be/?p=451
is working on a reply...