Width is calculated in CSS via:
PR welcome for any improvements here.
Width is calculated in CSS via:
PR welcome for any improvements here.
Hey guys, love the new changes to how instagram links are displayed. Only one small thing thatâs bugging me. I just posted a list of instagram profiles on my forum and the list looks horrible since the profile pick gets blown up to the size of the posts above. Any fix for this?
Yeah this isnât great⌠the preview in the composer doesnât match whatâs posted either. Example link:
So the bug report is that instagram profile links should be handled differently cc @techAPJ
Fixed via:
https://github.com/discourse/onebox/commit/767df71e3087a1b6fb649fda7c548a4953b88323
Instagram profile links will now be oneboxed using generic oneboxer. Demo:
Is it possible to have the Instagram onebox display the entire text description instead of what it currently does, which is roughly only the first sentence? The regular instagram embed shows the full description.
For an Instagram profile? What are you talking about? Example please?
Sorry, the correct term is âcaptionâ not description. Iâm talking about how the entire caption is displayed when you use their embed code. See here:
Thatâs practically a novella. Maybe behind a âread moreâŚâ button perhaps.
Ya that was a lengthy example. The main point of the request is so that they donât have to load another page to read the caption.
I found this thread while searching for a reason as to why any embedded Instagram videos refuse to play after a day or so of being embedded.
Prime example, the video in post # 30 here no longer plays
For a more public example, an entire thread of Instagram videos on our Discourse have also stopped working.
Should I raise this as a Discourse bug in a new thread?
Or, and whatâs far more likely, is this a known Instagram issue?
Instagram, being a part of Facebook, is likely a bunch of jerks â so it wouldnât surprise me if they use time limited keys for video sharing so they never work forever?
Alternately make sure the correct public URL is used for the videos. I donât use Instagram myself so I canât help much.
Hey @codinghorror
We did a few tests on our site in the âstaffâ area.
If we post the exact same Instagram link (to a single Instagram post) in a new thread, the video plays fine. While playing fine in the new post, it still refuses to play in itâs original post location.
The second test we did was on post editing. We edited a post which had a video that no longer worked. Editing the post somehow made the video playable again!
Would appreciate guidance on if I should post this as a Discourse bug?
But:
Amen to that my brother
We might be chasing our tails forever
Not sure. Hereâs a public instagram video I found by searching in Google.
See if this video keeps working. https://www.instagram.com/p/BjakLe4HEYf
The above Instagram video seems fine to me, so perhaps it is
or
The video you posted was playing fine, but you appear to have the same problem we do on our instance as three days later your video no longer plays either
Looks like Instagram is expiring links as suspected
If you visit the source file
URL signature expired
Related info
BlimeyâŚ
Thanks @awesomerobot for checking this out.
Looking at the SO article it seems there is no viable solution or suitable workaround at the moment
Without fully understanding how Instagram are constructing the embedded media URLs over their CDN, would it be possible for Discourse to automatically renew those signatures?
Again, editing a post with an Instagram video magically enables it to work again. As does posting the link to the Instagram video in a new post (even in the same thread!) makes it work again.
I donât know if this helps, or if this is irrelevant
It would take an answer from an Instagram rep to know for certain, but I can think of two things.
Having Discourse automatically rebake posts containing Instagram links would impose more work for Discourse. Depending on the reason Instagram has set links up this way, they may not be pleased with Discourse doing this.
Iâm thinking that until the reason is known, a better course would be for Discourse to stop oneboxing Instagram links and display them as only links instead. Granted, it would be a loss of a âcoolâ feature, but better than a broken onebox.