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#{{{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>
<div class="content"><iframe width="500" height="186" src="//flhurricane.com/cyclone/embedtweet.html#</html>{{{1}}}<html>" 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>

Latest revision as of 01:44, 20 June 2017

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

<html>

<iframe width="500" height="186" src="//flhurricane.com/cyclone/embedtweet.html#</html>{{{1}}}<html>" 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>

</html>