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
0answers
13 views

Unable to autoplay and loop a cinemagraph from Imgur

I've tried a number of different codes but they don't seem to work. This is my current one, and although it loads fine, it doesn't autoplay or loop, and if I hit play, it would either not loop, or ...
0
votes
2answers
22 views

Facebook videos don't show on the classic editor

I was used to copy-paste the link of a Facebook video on the classic editor and automatically, WordPress converted it in the actual video without pasting the embedded code. Now, out of nowhere, if I ...
0
votes
1answer
22 views

How to (correctly) embed a Facebook video?

I'm trying to embed a Facebook video in my site using the snippets generated by the Facebook Embedded videos page. Having done so, I add this function to a custom, site specific plugin so as to load ...
0
votes
0answers
17 views

How to replace old YouTube embed code in Wordpress

I'm moving an old site from ExpressionEngine to Wordpress. The blog has over 3000 posts and some of them have YouTube videos embedded in them using code like this: <object width="425" height="344"&...
0
votes
0answers
10 views

Display App and Play Store ratings

I want to display my app's ratings from the App and Play Store on my app's website. Therefore I want to combine the ratings from the both stores (e.g. 4 stars on the App Store and 5 stars on the Play ...
0
votes
1answer
27 views

How to Enable embedding Wordpress default gallery in comments?

I want to embed WordPress default gallery in comments which has embed code like this: [gallery link="file" columns="2" size="medium" ids="1,2"] To do so, I added this code which enables shortcodes ...
1
vote
1answer
31 views

How to auto embedded youtube with wp_insert_post()

I use this code to add a post to Wordpress: $new_post = array( 'post_title' => $title, 'post_content' => "test https://www.youtube.com/watch?v=4g3e8XwVIYc https://youtu.be/...
0
votes
1answer
16 views

How to make an embeded a Youtube video from custom field text responsive to screen size?

So I've embedded a youtube video using oembed like this : $embed_code = wp_oembed_get(get_field('youtube_video') ); echo $embed_code; But how do i make it respond to screen size? viewing it on a ...
2
votes
2answers
130 views

Wordpress Gutenberg Embed Blocks Are Not Responsive

I'm building a custom theme for a client's website and want to allow them to use embedded content in their posts (Youtube videos, Facebook posts, Twitter feeds, etc.) Typically, I've taken to severely ...
1
vote
1answer
151 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
19 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
16 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
37 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
32 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
278 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
102 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
34 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
21 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
99 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
22 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
31 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
91 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
14 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
21 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
99 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
56 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
34 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
178 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
68 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
114 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
65 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
33 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
135 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
657 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
118 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
9k 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
860 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
48 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
68 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
62 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
1answer
341 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
332 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
291 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
137 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
543 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 ...