vicos
Member
Trying to add sporcle.com and these guys require two unique IDs (gid & fid) for their embed to work. Is there any way to do this within the currently provided tools?
Their embed code:
I was just going to have users post the URL called in the iframe into an XF post and have the BBCOde do the actual embed.
I tried the following in XF, but no workee:
Their embed code:
Code:
<iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0" id="spFrame5c5323c3d107c"
src="https://www.sporcle.com/framed/?v=8&pm&gid=137614f712d0&fid=5c5323c3d107c&width=580" style="width:100%;"></iframe>
<script type="text/javascript" src="https://www.sporcle.com/embed/embed.js?v=5c5323c3d107c"></script>
I was just going to have users post the URL called in the iframe into an XF post and have the BBCOde do the actual embed.
Code:
https://www.sporcle.com/framed/?v=8&pm&gid=137614f712d0&fid=5c5323c3d107c&width=580
I tried the following in XF, but no workee:
Code:
https://www.sporcle.com/framed/?v=8&pm&gid={$gid}&fid={$id}&width=580
<div class="bbMediaWrapper">
<div class="bbMediaWrapper-inner">
<iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0" id="spFrame{$id}"
src="https://www.sporcle.com/framed/?v=8&pm&gid={$gid}&fid={$id}&width=580" style="width:100%;"></iframe>
<script type="text/javascript" src="https://www.sporcle.com/embed/embed.js?v={$id}"></script>
</div>
</div>