Plugin Author
Nico
(@nico23)
You should read this and give me a link …
In short: The Iframe code from that site is not suited for responsive embedding. And your most recent shortcode is right. For Iframes the ID should be the entire URL from the src= of the Iframe.
The shortcode creator does not detect the URL as ID as it should I fixed this and it will work as expected in the next version. Thanks for reporting.
The problem with this iframe code you got there is that it is not responsive. Its a fixed width of the video so in my tests the controls of the video are outside if the visible area when using align with default 400px width. However if you not use align and the width is big enough 724px+ then it works, also the thumbnail mode works on a screen big enough but will look ugly with this fixed video and surrounded by the light background.
You said you could not get the thumbnail to run? What exactly happens when you clicked it? You have Colorbox installed? If not it should at least open the URL of the Iframe. Because it works.
For this particular embed I would recommend to not use this plugin for now and contact the site and encourage them to make the embed responsive.
With further testing, I was able to determine that it was not a thumbnail, but a keyhole view of the video. As you said, the video provider created these as a fixed width, which is made worse because the controls actually are positioned absolutely, and did not appear in the keyhole. By selecting the smaller sized video, I was able to get it to play within your plugin, but as you suspected, it would not resize with different screen sizes. I am going to report this back to the video provider and see if they will fix this problem on their end.
You should know that I have used your plugin successfully on another site, and I am recommending that the owner of that site make a donation!
Plugin Author
Nico
(@nico23)
Thanks, I changed the description regarding iframes here to not let people think this will magically work everywhere since as we see here there are a very few providers out there that have fixed widths. I think I saw another once. Changing this from this end would be unnecessary complicated. Like caching the entire page, extracting the embed and rebuilding it. It was meat as a nice bonus for rare used providers that just work as iframes.
Hi Nico,
I love your plug in so thanks for the great work.
I have just installed on my personal website, but this has now broken the previously installed iframe shortcode plugin.
I was using the iframe plugin to show iframe from a different website, but from your comments above it looks like the ARVE will allow me to use the iframe plugin.
Could you please advise how I should correct my links below to get the to work with ARVE
thanks
mark
[iframe height='405' width='100%' frameborder='0' allowtransparency='true' scrolling='no' src='http://www.strava.com/activities/110325120/embed/29bda8953da33b48549332ab6e196df3ce76d188']
Dooh !!
sorry fixed it, simply change src= in [iframe ] to be id=
then all works great.
thanks
mark