Incompatible with JetPack Shortcode Embeds
-
We have been happily using your plugin for the past month or so while we’ve been developing a new website. However, yesterday, we activated JetPack and some of its modules, and found that your plugin no longer worked.
After a bit of digging, we figured out that the JetPack Shortcode Embeds module seems to short-circuit your plugin for some reason.
For instance, with a YouTube embed, the code that was output on the page prior to activating JetPack (with your plugin active) was something like:
<div class="fve-video-wrapper fve-image-embed fve-thumbnail-image youtube" style="padding-bottom:56.25%;"> <iframe src="//www.youtube.com/embed/PLLQK9la6Go?wmode=transparent&modestbranding=1&autohide=1&showinfo=0&rel=0" width="100%" height="100%" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe> </div>
After we activate the Shortcode Embeds module in JetPack, we get the following instead:
<p><span class="embed-youtube" style="text-align:center; display: block;"><iframe class="youtube-player" type="text/html" width="640" height="390" src="https://www.youtube.com/embed/PLLQK9la6Go?version=3&rel=1&fs=1&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent" frameborder="0" allowfullscreen="true"></iframe></span></p>
I’ll try to look into this to see if I can figure out what changes might need to be made to your plugin, but if you have any ideas or might be able to come up with a fix faster than me, I’d appreciate it. Thank you.
- The topic ‘Incompatible with JetPack Shortcode Embeds’ is closed to new replies.