YouTube Embed could be updated
-
Hi,
first let me say: thanks for this excellent plugin. Great stuff and working amazing. just donated… 😉
Hoewever the youtube embed could be updated. the embed code it uses is really oldschool (<embed>). I would suggest to use the iframe code YouTube itself is providing.
Or maybe it would even be an option to simply hand over the link without modifying it by the plugin, as wordpress on it’s own handles the link great. (But I do not know if it works if published by the plugin.)
If we test this and it works it would be great to have an additional option at “Use shortcode for embedding video (youtube or vimeo)” which is simply not touching the YouTube or Vimeo url at all.Thanks for considering 😉
Sascha
-
BTW the use of <embed> also prevents authors or even editors to post youtube Links as they get stripped from the code. This is cause it is regarded by WordPress as unclean html and both author and editor users do not have the permission to use it: https://codex.wordpress.org/Roles_and_Capabilities#unfiltered_html
One reason more to use the proper embed code via iframe.
And while being on it, adding a wrapper div with a class like “videoWrapper” would help having the right css base for repsonsive embedding.
Thanks again Sascha
The latest update said something about a new video template, but this is doing nothing for youtube and vimeo right?
That is correct, templates only apply to file attachments.
I still vote for a third option to just hand down the incoming link. So WordPress can handle the link. This would mean to have a option if you want to use the current embed code, use the shortcode for youtube links or just leave the link as it is in the mail.
Yes that sounds like the best idea.
The latest release lets the links flow through for WordPress to handle as long as “Automatically convert urls to links” is set to “No”
Thanks for taking this post into consideration and sorry to bother you again! 😉
Could you please somehow make video links a “special” option? If I do not convert links at all, in my scenario I will have no more clickable Links. The setup “clickable links” and not modifying youtube URLs would be very very great!
Thanks Sascha
How about setting that is a list of domains that don’t get linkified?
Another option is to ignore anything that WP oEmbed will handle
both seem flexible options for me! In this case the oEmbed version would be fine, as this would keep everything that is handled by WordPress. But I guess this is harder to implement.
1.7.26 now respects the oEmbed-able links and will leave them alone for WP to deal with.
1.7.26 just leaves a non clickable link in the post but still does not embed…
When you edit the post after it has been published by Postie manually, remove the “>” before the link and than save it again, the Youtube Link will be embedded… Wonder why that has to be done manually?
@johnmelone please send me a sample email that exhibits this issue – test@postieplugin.com
The topic ‘YouTube Embed could be updated’ is closed to new replies.