--- a/web/embed_form.php Mon May 21 12:16:03 2012 +0200
+++ b/web/embed_form.php Mon May 21 18:18:08 2012 +0200
@@ -36,6 +36,7 @@
padding:5px;
background-image:none;
border:solid 1px #ccc;
+ font-size: 12px;
}
</style>
<script type="text/javascript">
@@ -58,8 +59,7 @@
<h1 class="tweetWriterTitle" style="width:300px;" > <?php print $translate->_("EmbedTitle"); ?></h1>
<p style="font-size:12px;width:300px;"><?php print $translate->_("EmbedText"); ?> </p>
- <textarea cols="10" rows="10"><iframe src="<?php echo(URL_ROOT.$rep); ?>/player_embed.php<?php echo(array_key_exists("metadata",$_GET)?"?metadata=".$_GET["metadata"]:""); ?>" width="<?php echo($config['player_width']); ?>" height="<?php echo($config['player_height']); ?>" frameborder="0"></iframe><p><a href="<?php echo(URL_ROOT.$rep); ?>/polemicaltimeline.php<?php echo(array_key_exists("metadata",$_GET)?"#metadata=".$_GET["metadata"]:""); ?>">Source</a> on <a href="<?php echo(URL_ROOT); ?>">PolemicTweet</a>.</p>
- </textarea>
+ <textarea cols="10" rows="10"><div id="metadataplayer_embed"></div><script type="text/javascript" src="<?php echo(URL_ROOT.$rep); ?>/embedscript.php<?php echo(array_key_exists("metadata",$_GET)?"?metadata=".$_GET["metadata"]:""); ?>"></script></textarea>
</body>
</html>