Questions tagged [embed]
Wordpress supports several methods to include content from other sites in your site using its own API.
291
questions
0
votes
1
answer
29
views
Including plain text URL to post on same site is converting the URL to an embed
If I paste a plain text link (non-hyperlinked) to a post on the same site (using Classic Editor) it converts the post's URL to an iFrame embed.
For example if my site is https://mysite.local and the ...
0
votes
0
answers
36
views
Youtube embedded videos unavailable
Three days ago all the embedded videos were working perfectly. Now some of them work but most show the message "Video unavailable" and a link to watch it on YouTube.
On debug info, I receive ...
0
votes
0
answers
10
views
Replacing embedded post images from another site
I am migrating a site to a new domain which contains post with embedded images. Is there an automated way for me to get the images uploaded to my site and replace the embedded of the old domain with ...
0
votes
0
answers
28
views
Embedding WhatsApp group discussion into website
WhatsApp groups are popular today. I thought to embed WhatsApp group into a website. Searched on WordPress.org repository but could not find anything. There are many plugins related to WhatsApp chat ...
0
votes
0
answers
55
views
wp_editor mce-view
We are using the wp_editor on a page on the front-end to allow subscribers to create a cpt post.
We added support for auto-turning youtube urls into embed tags:
function mce_scripts() {
...
0
votes
0
answers
22
views
(plesk)After adding 1000 youtube url to my 1000 different wordpress article, my all websites doesnt show yt url as embed
i added 1000 article with 1000 youtube url, i directly pasted youtube url, but after that, including that site, my all sites on my dedicated hosting doesnt show the youtube embed after i paste direct ...
0
votes
0
answers
32
views
What causes the difference in the twitter embeddings?
I noticed that the way WP sites embed tweets slightly different. To avoid issues when embedding tweets in my own site I'd like to understand the details.
1) Embed in <div class="oembed-cached&...
0
votes
1
answer
52
views
How to add embed image in comments?
I'm looking for a way to display the images when the commenter adds a simple link to this image (without plugin, without upload, nor activate TinyMCE). For now, when the commenter adds a link to an ...
0
votes
0
answers
20
views
Embed links work on new page creation, not on edit
When using the below code, I am able to see the embed youtube video when inserting it into a new page, but when I go to edit an existing page with the same code, the embed does not work.
This recently ...
2
votes
1
answer
108
views
How to anchor to embed video
How would I create an anchor link from the Test text to the embed conten? I tried adding an id="03T" inside of the div within the embed comment block. However, when doing that I am unable to ...
1
vote
0
answers
136
views
What purpose does /embed/ URL have and how to avoid SEO problems?
I've noticed this with many WordPress projects (and clients) over the years so I thought it was worth a public thread. When you interlink a post/page that has embedding enabled, the iframe source will ...
-1
votes
1
answer
245
views
Disable all Fonts that are Standard in WordPress and replacing them with a custom Font?
WordPress STILL loads Fonts differend from the one i defined via font-face and *{font-family}. Especially in WP-Embeds still the Font Reference
-apple-system,BlinkMacSystemFont,"Segoe UI",...
1
vote
0
answers
40
views
How can I create iframe/embeddable content from my WordPress site?
I have a Google map on my site that I use to plot out various points of interest as it relates back to my blog. I have had a few people suggest to me to create an embeddable version of the map so they ...
0
votes
1
answer
97
views
Wordpress get_media_embedded
test text
<div class="video">
<?php
$media = get_media_embedded_in_content( apply_filters( 'the_content', get_the_content() ));
print_r($media);
...
0
votes
1
answer
110
views
Trigger wp-embed via JavaScript to refresh iframe preview?
I'm running WordPress 6.0 and using the Block Editor to enable content editors to paste links that generate the embed/iframe preview, as described here.
I've noticed from time to time (i.e. ...
0
votes
1
answer
746
views
how do I turn off whatever causes links to be embedded as URL's site title
When I print a url onto my site, it automatically gets wrapped in:
<blockquote class="wp-embedded-content" data-secret="tDj3qpdVAi"><a href="https://www.example.com/&...
0
votes
1
answer
146
views
Creating posts with links from a txt file
I have a script which scrapes articles from the web and saves the url to a .txt file. I've created a custom plugin which on activation, loops through the urls and creates a draft post with the content ...
0
votes
0
answers
51
views
Is it possible to embed a wordpress tag page on wordpress?
I'm trying to use the "Embed URL" block to include another WP site's tag page on my WP page. It seems like I'm able to embed individual posts from that site (so the theme supports embedding)...
0
votes
0
answers
207
views
Code playground (like CodePen) inside WordPress?
I've reached exhaustion in trying to find a solution to my problem. And the problem is that I want to display custom HTML/CSS snippets inside of my WordPress blog posts (e.g. be able to render them ...
0
votes
0
answers
35
views
Wordpress functions.php conditional include another functions file
In my wordpress functions.php I have calls to include other function files. For example like so:
include("functions/articles.php");
include("functions/custompost.php");
Within ...
0
votes
1
answer
37
views
Embedding local video in Wordpress comments
I'm trying to embed a video file (from Media Library) in a comment.
Adding the default code currently used in Posts didn't work:
[video width="1280" height="718" mp4="https://...
0
votes
0
answers
109
views
Need help in fixing javascript in Wordpress
I am having a weird and frustrating problem regarding adding javascript to the posts in WordPress. Googled but no luck.
I am adding widget from the N2yo Satellite Tracking website to my website. In ...
0
votes
1
answer
110
views
Embed wikipedia page in WordPress?
I’d like to be able to embed a wikipedia page in my website.
I know this is possible as I’ve seen it elsewhere, but despite searching here and google I can’t figure it out.
There is/was once a plugin ...
0
votes
1
answer
927
views
Wordpress block editor embeds not working in theme (single.php)
I am trying to embed 'spotify' and 'youtube' services in the block editor. When added from the admin, they are displayed fine in the block editor, but when the post content is printed from the theme (...
0
votes
1
answer
160
views
Javascript embedded disappears for editors
WP multisite installation ver 5.2.11Plugin Advanced Access Manager 6.5.4 licensed This plugin creates and manages different level of users with different privileges.
Already asked to the seller's ...
0
votes
0
answers
253
views
Include User ID in iFrame URL
I seem to have hit a roadblock trying to figure out how to append the user ID to an embedded iFrame url address. I am using a third party app that tracks unique users (and invoices me accordingly). ...
0
votes
0
answers
125
views
Embed post wont work on custom post type
I trying to get embed posts to work on custom post types. When I pastle an internal link in the editor, it returns a fail load message, as it fails to get the url.
Here is the code for my post type:
&...
0
votes
0
answers
417
views
JSON api oembed youtube
I want to write a plugin that uses the Wordpress5 methods of embedding media. I want a block where users can insert URLs. Then use WordPress methods to find the provider and get the embeddable iframe.
...
0
votes
0
answers
43
views
Embedding Post Editor Into External Site
I want users of my spring boot site to be able to write/edit posts from the spring site itself using the Wordpress editor. I have found that there are ways to use the Wordpress API to post the content ...
0
votes
0
answers
471
views
How can I block embeds and show an individual preview image per block?
I am trying to program an embed blocker for the default Gutenberg embeds with a prior consent banner and preview image (for matters of privacy). In detail:
block YouTube videos that are embedded via ...
0
votes
1
answer
191
views
How to embed my latest WordPress post into an external page
We needed to create three different blogs for the type of website we wanted to make, so we are putting each individual blog on its own subdomain and are building a homepage (which will be the only ...
0
votes
1
answer
75
views
How can I display instagram block with parse_block?
I have a big problem. I wrote this code:
$blocks = parse_blocks( $post->post_content );
foreach ( $blocks as $block ) {
if( $block['blockName'] != '' ) {
$blocks_2[] .= render_block( $block ...
2
votes
2
answers
6k
views
Which HTTP headers to use for subdomain <iframe> embedding?
I have a Wordpress site hosted on LightSail (which uses bitnami). The domain is https://example.com
On a subdomain https://sub.example.com I have another server running. On this server, I want to ...
0
votes
0
answers
36
views
Facebook embeds fixing with functions.php
I use this code to solve the new Instagram embeds problem on my old Wordpress site:
add_filter('oembed_providers', 'fr_replace_deprecated_instagram_api', 10, 1);
function ...
0
votes
0
answers
334
views
Getting image data from phone camera (MediaDevices.getUserMedia) into user post
Sorry for the newbie, and poorly arranged question...
I'm trying to develop a super simple user based wordpress site. I want logged in users to take a photo with their phone which is then uploaded as ...
0
votes
0
answers
53k
views
Embed video from streamtape using direct link
Good Afternoon, i want to embed this video in my wordpress https://streamtape.com/v/7qDqGjlQe4UA9MR/Soul_Land_03_VOSTFR.mp4
Embed code <iframe src="https://streamtape.com/e/7qDqGjlQe4UA9MR/...
0
votes
1
answer
19
views
[embed]Using Wordpress 5.5.1 there is no embed option after the video is uploaded
I have looked at many posts explaining how to embed a video mp4 from my computer to Wordpress and they invariably show a box with the option to embed the video. In my Wordpress version 5.5.1 this ...
0
votes
1
answer
270
views
Embedded videos not displaying on page
I am building a wordpress site related to a rare disease that I have. On one page, I am listing a number of videos related to the disease. In total, there are 34 videos. I have the videos embedded ...
0
votes
1
answer
78
views
Why does my custom html code (for a donation form) appear in a preview but not in the published post?
I have tried to add the following code using a 'Custom html' block (to embed a GiveNow donation form). It shows as a preview on the page however when I attempt to view it on the live website, it is ...
0
votes
1
answer
53
views
Add custom parameters in SoundClound embed
I use oEmbedd functionality of WordPress. All work fine but I need to set custom parameters in the iframe
So I try this without success :
function my_oembed_fetch_url( $provider, $url, $args ) {
...
0
votes
0
answers
184
views
Is there any way to set the Featured image in wordpress post editor, using a Getty images embed code
I want to be able to use a Getty images embed code to set the featured image (Post thumbnail) in my wordpress post editor.
Is there any way of doing this? I understand that Wordpress doesn't allow ...
-1
votes
1
answer
329
views
Embed Kajabi into WP
I am trying to embed kajabi into a WP page, I am using WPBakery if this is necesarry. The Kajabi is an email capture form and I need it to in a specific part of a page. Can anyone help me with this? ...
0
votes
1
answer
529
views
Disable automatic embed links
Is there a way on current wordpress versions (5.2..), to turn of the automatic embed links(wp-embed.min.js), that will turn an url into an iframe?
I have tried plugins, snippets, functions.php ... it ...
0
votes
2
answers
97
views
Embedding CodePen Calorie Script - jquery error
I'm trying to embed this code: https://codepen.io/jme11/pen/zMVJVX
into my Wordpress about fitness, but I don't know why it's not working correctly -
I've downloaded the export of the code, which ...
0
votes
1
answer
573
views
Modify YouTube Embed Code to fit theme
I'm using a custom bootstrap template and other users will be embedding youtube videos, which I want to be responsive to fit the theme.
What can I do to make the normal YouTube embed code, something ...
0
votes
1
answer
53
views
Security when outputing wp_oembed_get code
This is a code I have in a function.php action.
It is responsible for getting and displaying an embed code. Typically there is a youtube link from $embed_link but it comes from a public form so it can ...
0
votes
0
answers
7k
views
Embed Microsoft Forms into WordPress page
I need to embed a couple of Microsoft Forms into a WordPress site.
I've tried the two obvious iframe plugins on the WordPress store (advanced and simple) and also a custom HTML block.
In each of ...
0
votes
1
answer
698
views
How to disable URL preview in Wordpress comments
I disabled URL embed in Wordpress using the following code in functions.php:
function my_deregister_scripts(){
wp_dequeue_script( 'wp-embed' );
}
add_action( 'wp_footer', 'my_deregister_scripts' );
...
0
votes
1
answer
355
views
Video, embed, html block usage out of the_content
I have tried hundreds ways but i couldn't do yet. I am beginner, please someone help me !
When admin use for add/upload/embed video any 3 of these blocks; video, core-embed and html i will show the ...
0
votes
1
answer
426
views
Can't embed certain youtube videos into theme
I am unable to successfully embed (certain) YouTube URLs into my theme in the back end, with the intention of having viewable video clips on the front end. Not sure if this a WordPress issue or an ...