JSFiddle - React, Tailwind, and code Playground

by hallettj

HTML

<script src="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject_src.js"></script>
<script src="http://jquery.thewikies.com/swfobject/jquery.swfobject.1-1-1.js"></script>
<div id="parent">
    <div id="content1" class="content">
        <span>placeholder 1</span>
    </div>
    
    <div id="content2" class="content">
        <span>placeholder 2</span>
    </div>
</div>

CSS

#parent {
    border: 2px blue;
}

.content {
    border: 2px green;
}

JavaScript

var swf = 'http://jquery.thewikies.com/swfobject/fireworks.swf';

function jqEmbed() {
    $('#content1').flash(swf);
}

function swfEmbed() {
    swfobject(swf, 'content2', 320, 180, "9.0.0");
}

jqEmbed();
swfEmbed();