Instagram URL is converted into oEmbed

Figured it out. Embed shortcode stores the oemebd data as post meta using md5 hash. wp-includes/class-wp-embed.php // Check for a cached result (stored in the post meta) $key_suffix = md5( $url . serialize( $attr ) ); $cachekey = ‘_oembed_’ . $key_suffix; $cachekey_time=”_oembed_time_” . $key_suffix; And has a cache mechanism to fetch new data only after … Read more

extra text in Vimeo Embedded videos

I add a frame ID using an each function’s index, and then appending the src with the string you need: jQuery(‘#video-gallery-list li.video-player’).each(function(i) { // set up a variable for the src that includes the new unique ID you’re about to use var this_src = jQuery(this).find(‘iframe’).attr(‘src’) + ‘?api=1&player_id=player_’+i; jQuery(this).find(‘iframe’).attr(‘ID’, ‘player_’+i).attr(‘src’,this_src); });

Google Map iframe in a tab issue

You are using iframe in tab structure.So, 1) When page loads fully, the iframe in itenary tab has display none. so it is not loading the zoomed map properly. 2) When you switch to itenary tab before loading completes, iframe is display block i.e visible so it loads the url/map properly. So for this what … Read more

disable video URL auto-embedding for a part of the post

Well… To embed a video or another object into a post or page, place its URL into the content area. Make sure the URL is on its own line and not hyperlinked (clickable when viewing the post). https://codex.wordpress.org/Embeds#What_About_oEmbed_Discovery.3F So, to “disable” embedding the simplest thing is to make sure the URL isn’t on a line … Read more

WordPress keeps altering my embed code

The issue is WordPress’ core configuration of TinyMCE, which strips IFRAME tags. You can modify this configuration, to allow IFRAME tags, by hooking into tiny_mce_before_init. For example, the following code will prevent TinyMCE from stripping IFRAME, PRE, and DIV tags: function mytheme_tinymce_config( $init ) { // Change code cleanup/content filtering config // Don’t remove line … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)