s9e Media Sites

s9e Media Sites 2.15.6

No permission to download
twitter mad it so user has to be logged in to view content. its no longer accessible to the public.
Welcome to the world of Elon wanting to squeeze the last penny possible from his victims.
He's got to recoup that massive loss somehow.
Honestly.. for my site, I've disabled as much to do with Twitter as possible. The last "aspect" I have enabled is sharing.. and I'm about to turn it off also.
 
Catching up on posts I missed. I think I forgot to reset notifications and I wasn't getting any. 😅

Could you add support for https://medal.tv for game clips?
I looked into this site but I'm not seeing a lot of activity or momentum. Its embedded player requires a bit of extra processing that makes it more complicated to support, so I'm going to have to decline for now. If you want to sponsor the addition of this site by paying for the development cost, send me a direct message and I'll give you a quote ASAP.

I tried playing a video in an embedded tweet in a private browser window and got this error:

View attachment 287891
The "broken image" in the top right tells me your browser is blocking Twitter. Either that or Twitter servers are malfunctioning but that seems like some kind of adblocking/tracking prevention. In my experience, the more privacy-oriented your browser is, the more snags you encounter on social websites.
 
Catching up on posts I missed. I think I forgot to reset notifications and I wasn't getting any. 😅


I looked into this site but I'm not seeing a lot of activity or momentum. Its embedded player requires a bit of extra processing that makes it more complicated to support, so I'm going to have to decline for now. If you want to sponsor the addition of this site by paying for the development cost, send me a direct message and I'll give you a quote ASAP.


The "broken image" in the top right tells me your browser is blocking Twitter. Either that or Twitter servers are malfunctioning but that seems like some kind of adblocking/tracking prevention. In my experience, the more privacy-oriented your browser is, the more snags you encounter on social websites.
That's unfortunate.

It's also unfortunate I can't afford to sponsor the addition, or I most definitely would if I had the funds.
 
Welcome to the world of Elon wanting to squeeze the last penny possible from his victims.
He's got to recoup that massive loss somehow.
Except he's now got Meta gunning for him. Threads, a spinoff from Instagram that is basically their version of Twitter and can connect to Mastodon servers, is about to get rolling. Though apparently they can't launch in the EU yet due to privacy issues.

 
so looks like threads embed code exists. i saw a sample code shared in another thread. it looks rather messed up but looks like most of the code is svg being used to generate the brand logo. just sharing here in case, @JoshyPHP wants to add support for it in s9e.

sample code.

Code:
<blockquote class="text-post-media" data-text-post-permalink="https://www.threads.net/t/CuY2OYEAbJw" data-text-post-version="0" id="ig-tp-CuY2OYEAbJw" style=" background:#FFF; border-width: 1px; border-style: solid; border-color: #00000026; border-radius: 16px; max-width:540px; margin: 1px; min-width:326px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);"> <a href="https://www.threads.net/t/CuY2OYEAbJw" style=" background:#FFFFFF; line-height:0; padding:0 0; text-align:center; text-decoration:none; width:100%; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" target="_blank"> <div style=" padding: 40px; display: flex; flex-direction: column; align-items: center;"><div style=" display:block; height:32px; width:32px; padding-bottom:20px;"> <svg aria-label="Threads" height="32px" role="img" viewBox="0 0 192 192" width="32px" xmlns="http://www.w3.org/2000/svg"> <path d="M141.537 88.9883C140.71 88.5919 139.87 88.2104 139.019 87.8451C137.537 60.5382 122.616 44.905 97.5619 44.745C97.4484 44.7443 97.3355 44.7443 97.222 44.7443C82.2364 44.7443 69.7731 51.1409 62.102 62.7807L75.881 72.2328C81.6116 63.5383 90.6052 61.6848 97.2286 61.6848C97.3051 61.6848 97.3819 61.6848 97.4576 61.6855C105.707 61.7381 111.932 64.1366 115.961 68.814C118.893 72.2193 120.854 76.925 121.825 82.8638C114.511 81.6207 106.601 81.2385 98.145 81.7233C74.3247 83.0954 59.0111 96.9879 60.0396 116.292C60.5615 126.084 65.4397 134.508 73.775 140.011C80.8224 144.663 89.899 146.938 99.3323 146.423C111.79 145.74 121.563 140.987 128.381 132.296C133.559 125.696 136.834 117.143 138.28 106.366C144.217 109.949 148.617 114.664 151.047 120.332C155.179 129.967 155.42 145.8 142.501 158.708C131.182 170.016 117.576 174.908 97.0135 175.059C74.2042 174.89 56.9538 167.575 45.7381 153.317C35.2355 139.966 29.8077 120.682 29.6052 96C29.8077 71.3178 35.2355 52.0336 45.7381 38.6827C56.9538 24.4249 74.2039 17.11 97.0132 16.9405C119.988 17.1113 137.539 24.4614 149.184 38.788C154.894 45.8136 159.199 54.6488 162.037 64.9503L178.184 60.6422C174.744 47.9622 169.331 37.0357 161.965 27.974C147.036 9.60668 125.202 0.195148 97.0695 0H96.9569C68.8816 0.19447 47.2921 9.6418 32.7883 28.0793C19.8819 44.4864 13.2244 67.3157 13.0007 95.9325L13 96L13.0007 96.0675C13.2244 124.684 19.8819 147.514 32.7883 163.921C47.2921 182.358 68.8816 191.806 96.9569 192H97.0695C122.03 191.827 139.624 185.292 154.118 170.811C173.081 151.866 172.51 128.119 166.26 113.541C161.776 103.087 153.227 94.5962 141.537 88.9883ZM98.4405 129.507C88.0005 130.095 77.1544 125.409 76.6196 115.372C76.2232 107.93 81.9158 99.626 99.0812 98.6368C101.047 98.5234 102.976 98.468 104.871 98.468C111.106 98.468 116.939 99.0737 122.242 100.233C120.264 124.935 108.662 128.946 98.4405 129.507Z" /></svg></div> <div style=" font-size: 15px; line-height: 21px; color: #999999; font-weight: 400; padding-bottom: 4px; "> Post by @tastyuk</div> <div style=" font-size: 15px; line-height: 21px; color: #000000; font-weight: 600; "> View on Threads</div></div></a></blockquote>
<script async src="https://www.threads.net/embed.js"></script>
 
I see you have Kickstarter. Is it possible to add Gamefound as well? :)

That would be a soft no for now. I'll reconsider if it becomes particularly popular, or if you want to sponsor its addition by paying for the development cost.

ETA for Threads to be supported?

A couple of days probably, assuming they're not doing weird things that would complicate my side of things. Things are slightly on fire where I live and my internet access is not entirely reliable so I have to prioritize but I'll look into it asap.
 
Last edited:
No, it's just me not realizing that Threads posts could be shorter than 186 px in height. Threads has a slightly annoying quirk that it tries to resize itself to 186 px before content is loaded. After content is loaded it resizes itself to its correct (usually final) height. Stuff like Google PageSpeed Insights doesn't like when elements are being resized, especially not multiple times, so I had it set to ignore the first measurement of 186 px by ignoring anything that isn't bigger than 186 px. That's why it ignored that small post that's only 144 px tall, which left the embed at its original height of 300 px. I could set the default height to be 186 px which would prevent the double resizing but I prefer to have a default height that's closer to the average post in order to minimize the impact of subsequent resizing, both in terms of user experience and Content Layout Shift, which is also a web performance metrics that's sometimes used to rate pages.

I've removed that limitation for now and I'll think about a way to skip the useless resizing in a future version.
 
honestly, twitter and threads should just render an image of the tweets in question and load that. would save so much hassle.
 
Top Bottom