JayCC
Forum Replies Created
-
Forum: Plugins
In reply to: [Relative URL] Breaks CDN scriptsThis appears to be a duplicate of this issue:
https://wordpress.org/support/topic/request-only-replace-local-urls?replies=1
Which also has a fix (that works for me so far).
Forum: Plugins
In reply to: [Responsive Video Embeds] 1.2 Doesn't WorkKevin, I found a spot in our theme where the author was removing width/height attributes (thinking he was only removing them from just images) that was removing them from the iframes.
Fixing that brings back the correct proportions and all seems well with 1.2.1. Thanks for the quick update.
Forum: Plugins
In reply to: [Responsive Video Embeds] 1.2 Doesn't WorkKevin, the updated JS does show the videos, but the proportion is off (the ratio is ending up as 50%, because jQuery sees the width as 300 and height as 150).
In your example page, your iframe still has height and width attributes defined:
<iframe width="621" height="349" src="http://www.youtube.com/embed/EKBnhLYNs9c?feature=oembed" frameborder="0" allowfullscreen>In our installation, those attributes aren’t being added by WP, even if I explicitly define them in the embed tag.
I’ll dig around a bit more and get back to you if I find anything else. Thanks for your quick response. Overall I feel the fallback to use .width() and .height() is a good add, so at least the videos show up. 🙂
This bit us as well, we’ve moved our wp-content directory to a different location (so we can use an svn:external for the wordpress core files). So far all the plugins we’ve used have been fine, but this assumption used in this plugin causes a require_once fatal error.