That's something I have considered before but very few sites actually provide a dark mode. I don't think Reddit does, or at least not for their embedded content to the best of my knowledge.
This is the URL the user would post in XF:
https://www.sporcle.com/framed/?v=8&pm&gid=137614f712d0&fid=5c5323c3d107c&width=580
This would be the actual code substituted:
<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>
They have $gid & $fid. $fid is also used in the iframe id ( "spFrame" . $fid )
<?php
namespace Mysite\Myaddon;
class Parser extends \s9e\MediaSites\Parser
{
protected static $sites = [
'sporcle' => [['!sporcle\\.com/framed/.*?gid=(?<gid>\\w+).*?fid=(?<fid>\\w+)!']]
];
}
Added TikTok. Removed old template modifications related to Instagram/Twitter resizing that are not needed anymore.
https://open.spotify.com/playlist/05WqgKxtpOYCKS2jxpN4mx
user
in them works. https://open.spotify.com/user/1233130761/playlist/05WqgKxtpOYCKS2jxpN4mx
Added support for playlist URLs that don't specify the user's name.
Also, unused phrases have been removed.
https://streamable.com/np6ih
). working fine on my board.We use essential cookies to make this site work, and optional cookies to enhance your experience.