Template:Twitterembed: Difference between revisions

From Flhurricane Wiki
Jump to navigation Jump to search
imported>MikeC
No edit summary
imported>MikeC
No edit summary
Line 3: Line 3:
</noinclude>
</noinclude>
<html>
<html>
<div class="content"><iframe width="500" height="186" src="//flhurricane.com/cyclone/embedtweet.html#{{{0}}}" onload="var a=Math.random();window.addEventListener('message',function(b){if(b.data.id==a)style.height=b.data.height+'px'});contentWindow.postMessage('s2k:'+a,src.substr(0,src.indexOf('/',8)))" allowfullscreen="" frameborder="2" scrolling="no"></iframe></div>
<div class="content"><iframe width="500" height="186" src="//flhurricane.com/cyclone/embedtweet.html#{{{1}}}" onload="var a=Math.random();window.addEventListener('message',function(b){if(b.data.id==a)style.height=b.data.height+'px'});contentWindow.postMessage('s2k:'+a,src.substr(0,src.indexOf('/',8)))" allowfullscreen="" frameborder="2" scrolling="no"></iframe></div>
</html>
</html>

Revision as of 01:39, 20 June 2017

This is for displaying embedded tweets format is {{twitterembed|statusid}}