OEmbed works on localhost, but not on live site
-
I’m having an issue with the OEmbed functionality on a multisite running 3.5.1
When I put a YouTube URL on its own line in the editor, it does not get converted to an embed. I only get the URL in a paragraph tag.
However, if I do the same thing with my localhost copy of the site, it works fine. The localhost copy is running the same version of wordpress, same theme, same plugins, with the same users with same permissions, same documents (running a copy of the production database).
Before people ask:
- I’m using Text mode, not Visual mode. I do not switch between them.
- I’m putting the YouTube URL on its own line with no other content, empty lines before and after
- I believe it’s not a YouTube issue as it works on localhost. I see the oembed meta tags on the video page (here: https://youtu.be/z4nLtt3eoDI)
- It shouldn’t matter, but my account is the Super Admin. Other users with other roles have the same issue.
- It’s 3.5.1 so there’s no Settings > Media option to enable auto-embeds. This is a new site that’s always been v3.5.1
- I see the same issue regardless of post type: posts, pages, or any custom post types
Any thoughts?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘OEmbed works on localhost, but not on live site’ is closed to new replies.