Looks like my original theory was correct
I will make it so that instagram image and video url are treated as same and will show video preview image instead of mp4 video. Since we download onebox images locally the image will keep working. For example, the preview image for instagram video link @codinghorror posted above will be:
Excellent workaround!!
So Iām guessing people then click on the preview image and it takes them off to the video/link over on Instagram?
Sounds ideal
Yep. See it in action here:
Thank you for taking the action to fix this.
Question: any ideas to make it look like a video? It might not always be so evident.
@techAPJ this makes the scrolling jump around for me - I think we need to add a fixed height when embedding the image.
Amazing
Some kind of font awesome fa-play
graphic over the top of the image perhaps?
@techAPJ has that code change been committed?
Not sureā¦ maybe the title can indicate that the linked post is a video, like:
[Video] National Geographic on Instagram
This should not be happening. The image have fixed width/height and there are other (generic) safeguards in place. Iāll check.
Yes, the changes have been committed.
Thanks for the super-fast response to this one guys!
Iāve just installed the latest v2.1.0.beta5 +111
Hmmm
Do I need to do something to implement this on all existing affected posts?
Rebake existing posts perhaps?
Yes, if itās just a few posts, click the on the post and then ārebuild HTMLā.
Just superimpose a play button at the lower right, @awesomerobot recently made a change for this on images that are click to expand, please check with him if you need guidance.
Excellent idea! Done.
Demo:
EDIT: Just noticed that play icon is not clickable, making it so now Done.
What a fantastic set of solutions!
People can see now itās a video at a glance too.
Great work everyone, thanks for the amazingly quick response to this issue too
Awesome work on this.
My only request is if there is a way to make the onebox mention my Instagram account name a little less?
For me the most important part is the image so Iād appreciate a way to somehow hide at least the āAccount Name on Instagramā heading (the instagram.com link leads to the linked page) and perhaps even the caption?
https://www.retrogameboards.com/t/rgb-pick-up-thread-of-swag/224/1744?u=matt
This is probably easiest accomplished via a local CSS customization, under Admin, Customize. You could hide or de-size the element through standard CSS.
I do agree that the āon Instagramā part is redundant though @techapjā¦ weāre saying it twice, and everyone knows how I feel about needless repeated text
How about the top instagram.com becomes instagram.com/username? So much neater.
Also āMatt Sephton (@mattsephton) on Instagramā at the start of the caption also feels needlessly repetitive.
As for local CSS, is that per user or globally for a board? Because Iām not admin of any boards.
I noticed something about URL parsing. Oneboxing fails and produces just the image if the URL contains the Instagram username.
This wonāt work as intended: https://www.instagram.com/bennyblood24/p/Brc6FNRn9vu/
This works: https://www.instagram.com/p/Brc6FNRn9vu/