Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [embed]

Wordpress supports several methods to include content from other sites in your site using its own API.

0
votes
1answer
43 views

WP Query by Gutenberg block and get its attribute

I need to fetch on the front page youtube video from the latest post where was used gutenberg youtube block. I guess I need: 1) query such posts 2) extract the youtube URL from the block Is there ...
0
votes
0answers
14 views

How to stop TinyMce from converting image url into <img>?

My TinyMCE Editor automatically turns image URLs into an embedded image. How can I deactivate this behavior and just display the URL instead?
0
votes
1answer
12 views

Facebook video on a post appears in a strange language [closed]

I don't know why it happens but, when I copy and paste a Facebook video URL inside my blog post, the language switch into Hindi or Indonesian (I don't really know) https://prnt.sc/mlu83q https://prnt....
1
vote
1answer
33 views

Detecting embeded video format

I need to get the video format from the shortcode. Example if i set my post meta "_video_format_embed" with [video src="https://url.domain/myvideo.mp4" /] . how to get the video format of my ...
0
votes
1answer
20 views

Remove wordpress embed share icon?

I am modifying my embed-content.php. I find the functions here to remove some oembed icons but not the share icon. I do not find a function to remove JUST the share icon on wordpress oembeds. Can ...
0
votes
1answer
140 views

Instagram URL is converted into oEmbed

I have 8 Instagram URLs in this post out of which 3 are not converted into embed/iframes. I'm using Gutenberg's Instagram embed blog to add the URL's.https://blog.wwf.sg/ocean/2018/11/netflix-...
2
votes
1answer
83 views

wp_embed_register_handler to embed html files

I am creating a new Wordpress website that will contain thousands of online books and articles to read, in addition to other media, like videos. I don't want to bloat my database by pasting tens of ...
0
votes
1answer
24 views

How to make enqueue_embed_scripts work with the embed_template filter

I am currently trying to customize the display of my posts that gets embedded on other sites. I am able to have my custom template file through the embed_template filter but I can't successfully ...
1
vote
0answers
19 views

Is there a way to create embed codes from wordpress/buddypress content?

I am looking for a way to create embed codes for content like, posts, images, videos, comments and buddypress content and components to be posted on external websites and apps. So for instance ...
0
votes
1answer
80 views

Youtube iframe embed keeps disappearing from page

I am trying to embed a video on my homepage. I add the embed code from YouTube and paste it into a custom html blog on the gutenberg editor. I click update and check my website and the video is there....
0
votes
0answers
18 views

Custom oEmbed not showing inside editor

I have added a custom oembed provider in my WordPress plugin wp_oembed_add_provider( 'https://links.collect.chat/*', 'https://collect.chat/forms-embed' ) Embed is working fine in posts and pages, ...
0
votes
0answers
29 views

'[code]' shortcode to markup programming code does not work

I have been trying to embed some simple code on a practice blog and it has no effect other than to display the tag as text. I am aware there is no code in the image but believe me I have tried. The ...
0
votes
1answer
54 views

How to edit embed filter for youtube video to allow responsive full width layout

Im trying to edit the suggested embed filter from wordpress.org to make youtube videos always stay 100% width inside its container div, while keeping the appropriate height dimension as needed. Is ...
1
vote
0answers
13 views

Display total questions of Moodle in Wordpress [closed]

I have a site with Moodle and Wordpress and I'm looking for how can I display the total number of questions in Wordpress. For example if I have 3 different courses for sale with Woocomerce, I would ...
1
vote
1answer
20 views

Cannot find an OLD Gravity Form on an OLD Word Press site [closed]

I am not a regular user of Word Press but I have recently been editing some Gravity Forms on our websites that feed data into Salesforce. On the Admin page, there is a tab for "Forms" with subtabs for ...
2
votes
0answers
78 views

Embed YouTube video on category description

I would like to embed a YouTube video on my category description pages. When I pasted the URL or embed code in the editor, I see the video. But on the page itself it just shows the code. Is there a ...
1
vote
0answers
20 views

How to display real-time data which is stored in an IBM Cloud web app

I have created a web app on IBM cloud which is displaying real-time data from an electrical sensor (this sensor is transmitting data on that web app using wi-fi). Now I want to display this data in a ...
0
votes
2answers
54 views

How To Display Content from a website on wordpress page?

So, I have been working on a gaming website for a long time. There are similar sites as mine made with Wordpress, but they display alerts of the game (fetched from other website). For example - ...
0
votes
1answer
31 views

Output Post with ACF Fields into other Post

I got a post that should be embeded, included or outputted - however you call it - into another post. I prefer a solo code variant. So far I have tested various shortcode plugins - but they don't ...
0
votes
0answers
12 views

Embed a tweet without attached media

I want to embed a tweet but not include the attached media. On the other tweets in my post I do want the attached media. I followed this advice: add a data-cards="hidden" attribute to the resulting ...
0
votes
1answer
157 views

wp_editor embed shortcode not working within my plugin

for my own plugin I have a create-form which includes at least two editor fields and I insert them like this wp_editor('', 'dbfield'); The editor is shown in the form, it gets saved into the ...
1
vote
1answer
66 views

How to embed a WordPress article on another website [closed]

I'm looking for a way to share (automated way) my WordPress entry on another of my self programmed website. In other words: I'd like to embed a specific WordPress article into my website (coded in ...
0
votes
0answers
72 views

oembed facebook link?

I'm trying to oembed some facebook video . . . without ay chance so far . .. I'd like to avoid any plugin for this. I went through toe documentation but nothing to do, I'm declaring in my functions....
0
votes
1answer
59 views

Bootstrap theme embedded iframes are distorted [closed]

I'm trying to embed videos onto a page, but they are displaying all stretched out. Here's what it should look like, and this is what it currently looks like. Here's my embed code: <iframe width="...
0
votes
1answer
28 views

Problem with Apply Filters on URL in meta box filed of custom port type

I am using Easy Content Types for a custom post type and metabox with several fields including one called ecpt_website. I have a custom page template which is outputting all of the fields nicely ...
0
votes
1answer
133 views

Insert Link to Audio versus Embed Audio Player

I've run into a very odd problem. One of my authors will upload an audio file in the Media Manager, and instead of giving the option to embed a media player, it just inserts a link to the audio file. ...
0
votes
1answer
3k views

How to Embed HTML files directly into Wordpress

I looking to find a Wordpress Addon that would allow me to embed HTML files directly in the my WordPress interface. After having done some research the only method I seem to find is by adding the ...
1
vote
1answer
579 views

Video embeds work in backend, but are not parsed in frontend

When I try to embed a YouTube video using one of the following ways: By entering a YouTube URL By entering an [embed] shortcode By adding a video through the media browser (which results in an [embed]...
1
vote
0answers
112 views

Specifying a single file from multi-file GIST (wordpress.com) [closed]

How can one embed a single file from a multi-file Github Gist on a free hosted wordpress.com site? That is, the gist has multiple files in it, for logical association, and I want to use the files ...
1
vote
1answer
8k views

How to change thumbnail of embedded Youtube video?

When I embed a Youtube video onto my page, is there a way to change the thumbnail displayed (screenshot)? I do not have admin access to the Youtube video in-question. I would prefer a non-plugin ...
0
votes
1answer
769 views

How to add a custom class for iframe by embed_oembed_html

I want to add a custom class for the embed_oembed_html filter (iframe). NOTE 1: using str_replace will remove the anther classes so it's not useful. NOTE 2: I need to add the custom class directly ...
0
votes
0answers
45 views

How to stop loading my custom scripts files for wordpress iframe?

How to stop loading my custom scripts files for WordPress iframe? In my site, i loading many of custom scripts and my problem that all of this scripts are loading with WordPress embed iframe posts ...
1
vote
0answers
57 views

MP4 video on wordpress working on desktop, not on mobile devices

I embedded a video in the following URL: https://www.speurtochten.nl/over-ons/ I made it with Premiere Pro CC, exported it as H.264. The code I use in WordPress: [video src="https://speurtochten.nl/...
0
votes
1answer
21 views

How do I not embed the SoundCloud player? I just want the link

Just the title. I'd rather just post SoundCloud links but I can't disable embedding the player. Sorry if this was already posted; I really couldn't find this mentioned anywhere else :/ Thanks for any ...
0
votes
1answer
57 views

Add youtube embed to woocommerce variations

How to add youtube embed code/ embed shortcode to woocommerce product variations? When I insert the shortcode [embed] also iframe code youtube and then saving the product variations the codes gone? ...
0
votes
0answers
41 views

Embed Page Content Only

Is it possible to embed just the page content; so no header, footer or sidebars? I write articles for a local newspaper and would like to feature those articles on my page; the newspaper has said it ...
0
votes
1answer
325 views

Wordpress Mediaelement - Youtube Videos Embed Options

I have a custom field where I define the Youtube Url as a string. https://www.youtube.com/watch?v=3VqHtEF3LPE This then becomes the src in my theme's shortcode: <?php $ysrc = get_field('...
-1
votes
2answers
289 views

Facebook embeds loading the wrong language

The theme I am using has a function to embed videos from Facebook. The problem is that whenever I use it it loads the SDK in uk_UA for whatever reasons (Ukrainian). Nothing related to my Website or ...
1
vote
1answer
264 views

wp_embed_register_handler is not working

I used this function for other video hosts, but for some reason, now it's not working. This is the direct and embed code of the video https://vidoza.net/r2jeim68kuq6.html <IFRAME SRC="https://...
1
vote
1answer
134 views

Responsive embed for the video shortcode

I have impelmented a custom code to wrap a video embed in a .embed-responsive class to make it responsive with CSS then: PHP: function kadabra_responsive_embed( $html ) { return '<div class="...
0
votes
2answers
515 views

Add Watermark to PDF's of logged in user in WordPress upon upload to media library [closed]

How can I add a watermark to my PDFs that are uploaded via the media library of the logged in WordPress User when viewing and printing the pdf. I have tried utilizing plugins but they are all limited ...
0
votes
0answers
8 views

Embedding multiple song players on one page without it effecting the load time

I am embedding several song players (embed codes from itunes affiliate program) for viewers to preview and listen to before they buy. The problem that I am running into is that because there are so ...
0
votes
1answer
263 views

YouTube embeded video will not resize (only full screen responsive) [closed]

I am running Headway theme in the latest version of WP. I embed the code below although it ignores the youtube embed size and renders full width on the front end. Code:
0
votes
1answer
25 views

Is it possible to embedd this web app to my website [duplicate]

I am trying to embedd this website into my own website I have tried so using Iframe but the page is just blank. The link I want to embedd is - https://www.zillow.com/homedetails/1-Anchorage-Way-APT-...
0
votes
1answer
22 views

Post editor doesn't save embed media [closed]

I'm facing weird problem - I'm trying to save embed media to post in different computers and it doesn't work in all of them. We do the same process (insert -> media -> embed -> youtube code), and in ...
0
votes
1answer
769 views

Removing WordPress Icon from oembed link footer

I am trying to remove the default WordPress icon that displays on oembed links when there is no site icon. Here is a link to the site(3 links at the bottom) https://libsource.com/library-as-a-service/...
0
votes
1answer
52 views

how to embed a .mp4 video the url postfix with secret key

example URL: http://ugcdl.video.gtimg.com/flv/185/77/i030481bzph.m701.mp4?vkey=...
1
vote
1answer
73 views

Changing the default object embed sizes?

I was using the code below to set the default size for embeded objects in my posts. It worked before for me but now it no longer works. add_filter( 'embed_defaults', 'bigger_embed_size' ); ...
1
vote
1answer
384 views

Applying custom filter instead of the_content doesn't render embeds

In the theme I am using customizer to show content before (and after) posts, single post etc. /** Page Before Category */ $wp_customize->add_setting( 'content_before_category', array( 'default'...
0
votes
0answers
28 views

Default case using [embed] shortcode

Is there a way to register something like an "else" statement/default case for the [embed] shortcode using wp_embed_register_handler? For example [embed] youtube video [/embed] = embed video [embed] ...