admin管理员组文章数量:1420907
Someone tried to embed this
In my friends' site here
It fails.
Some links can be embeded though
This link seems to work fine
/
Why some links can be embeded and others cannot?
Someone tried to embed this
https://9gag/gag/axzLxBK
In my friends' site here
It fails.
Some links can be embeded though
This link seems to work fine
https://www.unilad.co.uk/technology/app-that-can-undress-women-has-been-taken-offline/
Why some links can be embeded and others cannot?
Share Improve this question asked Jul 3, 2019 at 17:18 user4951user4951 1572 gold badges3 silver badges9 bronze badges 3- This isn't an answer, but these are powered by OEmbed, that's the mechanism behind it – Tom J Nowell ♦ Commented Jul 3, 2019 at 17:30
- What is oembed? – user4951 Commented Jul 4, 2019 at 0:58
- wordpress/support/article/embeds – Jacob Peattie Commented Jul 4, 2019 at 8:38
1 Answer
Reset to default 0WordPress relies on the open standard for embedding called OEmbed. This is what makes Youtube URLs turn into video players when copy pasted into a post, etc
By default WordPress only supports a predefined list of OEmbed providers, so it knows how to ask Youtube or Vimeo for an embed snippet, but 9gag isn't in that list.
On further investigation, it doesn't appear that 9gag has an oembed provider. I ran the 9gag URL through an OEmbed tester at https://oembed.frdnspnzr.de/ and it could not find any means of using OEmbed.
If 9gag did support OEmbed ( which it doesn't ), it could be added via a plugin using the API calls, telling WP what a 9gag URL looks like and where to go for the snippet
本文标签: Why most embed feature doesn39t work
版权声明:本文标题:Why most embed feature doesn't work? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745346270a2654493.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论