DVD Talk Forum

DVD Talk Forum (https://forum.dvdtalk.com/)
-   Forum Feedback and Support (https://forum.dvdtalk.com/forum-feedback-support-4/)
-   -   Fix Twitter embedding (https://forum.dvdtalk.com/forum-feedback-support/638764-fix-twitter-embedding.html)

TheBang 01-17-17 03:09 PM

Fix Twitter embedding
 
Can we fix Twitter auto-embedding on this site, please? It makes posting Twitter links impossible.

I looked into this a bit, and bare links like this:

Code:

https://twitter.com/realDonaldTrump/status/820764134857969666
get auto-converted into HTML code like this:

Code:

<div style="display: none;" id="ame_noshow_post_1484521830_1">
        <a rel="nofollow" href="https://twitter.com/realDonaldTrump/status/820764134857969666" title="Twitter" target="_blank">Twitter</a>
</div>
<div style="display: inline;" id="ame_doshow_post_1484521830_1">
<div id="tweet_ame_1484521830_1_820764134857969666"></div>
********>(function(jQ){jQ.ajax({url:"https://api.twitter.com/1/statuses/oembed.json?id=820764134857969666",dataType:"jsonp",async:true,success:function(data){jQ("#tweet_ame_1484521830_1_820764134857969666").html(data.html)}});})(jQuery);*********>
</div>

It's obviously not working because of the word filter auto-conversion of text into asterisks: ********. I believe the converted text is "script" and "/script" (with angle brackets).

I doubt this is fixable without unconditionally allowing script tags (or a lot of effort, which I think is obvious you guys don't want to put in for this site). "tweet_ame" seems to indicate that this auto-embedding is being done by a module for Automatic Media Embedder.

Can you just disable the Twitter embedding function, so that we can paste bare Twitter links without the forum completely mangling them?

Dan 01-17-17 03:27 PM

Re: Fix Twitter embedding
 
Yes please! Either make it work like it should, or kill the twitter embedding code that exists in here entirely. What it does now is complete garbage.

Deftones 01-17-17 05:13 PM

Re: Fix Twitter embedding
 
They will get around to it.....In 2021

Cardsfan111 01-17-17 08:51 PM

Re: Fix Twitter embedding
 
Way too optimistic, Deftones. ;)

fumanstan 01-19-17 12:17 PM

Re: Fix Twitter embedding
 
Agreed, embedding of widely popular sites like Twitter should be a no brainer.

IBrshao 01-20-17 06:53 PM

Re: Fix Twitter embedding
 
Hi Everyone,

So I just talked to tech and unfortunately we are not going to be able to support embedding twitter links.

To enable HTML on VBulletin we had to disable scripts and this is what is causing Twitter embedding to not work.

slop101 01-22-17 09:52 AM

Re: Fix Twitter embedding
 
So how about being able to just post raw links without the link getting all garbled with a bunch of asterisks?

Dan 01-22-17 02:41 PM

Re: Fix Twitter embedding
 
^ you mean the bare minimum they could possibly provide? Come on, now.

The Valeyard 01-23-17 12:36 PM

Re: Fix Twitter embedding
 

Originally Posted by IBrshao (Post 12993134)
Hi Everyone,

So I just talked to tech and unfortunately we are not going to be able to support embedding twitter links.


http://i64.tinypic.com/8xpwqo.jpg

ibobi 01-25-17 02:24 PM

Re: Fix Twitter embedding
 




Dan 01-25-17 02:39 PM

Re: Fix Twitter embedding
 
:banana: 2017, baby! :banana:

(Seriously, thanks IBobi)

Cardsfan111 01-25-17 03:02 PM

Re: Fix Twitter embedding
 
Test:



Edit: Much better. Thanks!

DJariya 01-26-17 12:46 PM

Re: Fix Twitter embedding
 
Test: Instagram photo:




I don't see it. What am I doing wrong?

fumanstan 01-26-17 01:03 PM

Re: Fix Twitter embedding
 
I see your post DJariya.

Also, there's a dvdtalk twitter account?

DJariya 01-26-17 01:06 PM

Re: Fix Twitter embedding
 
Oh okay, I guess it was delayed. It didn't show up after I posted it initially.

TheBang 01-26-17 08:04 PM

Re: Fix Twitter embedding
 
Whelp. Credit where it's due. You guys fixed something for us.

The one caveat (for users) to be aware of is that I believe both of these auto-embeds require loading of additional JavaScript, but when posting a quick reply, the page scripts have already finished loading. So when your reply is posted, you yourself won't be able to see the embed properly until you refresh the page.

The Valeyard 01-29-17 11:22 PM

Re: Fix Twitter embedding
 
Thanks, IBobi!

EinCB 01-30-17 07:20 PM

Re: Fix Twitter embedding
 
Who said the Bannon administration was going to be a bad one?

Spoiler:
Thanks, IBobi! :)

Supermallet 06-16-17 10:08 AM

Re: Fix Twitter embedding
 
Twitter embedding works, which is great, but whenever someone embeds a tweet it doesn't show up in my browser. How can I fix that?

Dan 06-16-17 10:20 AM

Re: Fix Twitter embedding
 
^ What browser are you using? Does it work in another browser?

Supermallet 06-16-17 10:37 AM

Re: Fix Twitter embedding
 
Firefox on my laptop and Brave on my phone. They do show up on Safari on my laptop, but that browser is much less secure than Firefox.

TomOpus 06-16-17 10:58 AM

Re: Fix Twitter embedding
 
Awesome, thanks iBobi.

Dan 06-16-17 11:46 AM

Re: Fix Twitter embedding
 

Originally Posted by Supermallet (Post 13096761)
Firefox on my laptop and Brave on my phone. They do show up on Safari on my laptop, but that browser is much less secure than Firefox.

I just installed Brave.
You're right. In this thread, the instagram embeds look just fine, but the twitter embeds are invisible. Seems like something that could be fixed with a tweak. Let's hope they look into it. :)

Supermallet 06-16-17 04:11 PM

Re: Fix Twitter embedding
 
If I quote a post with an embedded tweet, I can copy the URL and paste it into another tab to see the original tweet, but obviously that is a pain.

Dan 04-06-18 03:00 PM

Re: Fix Twitter embedding
 
Bumping this because the way twitter embeds work here seems to be the opposite of how the actual twitter posts themselves look. Everywhere else, the TEXT appears above the picture/link. Here, the picture/link appears above the TEXT.

Any way to swap that around? It's a tiny issue, at best, but just something I wanted to mention.

Example.

This is how this looks on twitter.com, the mobile app, and pretty much anywhere else:
https://i.imgur.com/SJ2MB1p.png

This is (generally) how it looks here:
https://i.imgur.com/aoSWQg9.png

TheBang 04-07-18 05:51 AM

Re: Fix Twitter embedding
 

That is weird, but I think it looks like DVDTalk is using an old API or something, because the layout is entirely different. Look at the icons, fonts, etc. That would explain why.

Edit: Actually, it appears that's the way embedded tweets work. So there's nothing to fix. Check out the example in the dev documentation:

https://dev.twitter.com/web/embedded-tweets

Dan 04-07-18 08:45 AM

Re: Fix Twitter embedding
 
Yup, you're right. I thought I saw it the other way on other sites when embedded but I guess I'm wrong. It's weird that Twitter would have it one way for the official apps but another way entirely for embeds.

I imagine they have more pertinent issues to deal with, that this will probably never change on their side.

Dan 05-02-18 09:37 PM

Re: Fix Twitter embedding
 
So... on a different site I visit, Twitter embedding is done the right way (text on top, pic on bottom). Like this:
https://i.imgur.com/vQtAvLa.png

So... why is DVDTalk's embedding different than that? Are they using some kind of custom embed?

TheBang 05-02-18 10:38 PM

Re: Fix Twitter embedding
 

Dan 05-02-18 10:45 PM

Re: Fix Twitter embedding
 
Weird. Testing.
This (from post 26):

VS this (from post 29):

So one has the pic on top, and one has the pic on the bottom. Is it because one is an @ reply? Hmm...

edit: another pic that's not a reply. (pic on top)

So, if I understand this right... pics will only show under the text if it's in a reply. Weird.

TheBang 05-02-18 11:09 PM

Re: Fix Twitter embedding
 
I think that's right, because it's in a reply or part of a conversation. I tested on my own forums, and got the same results. I suspect if you post the Donald Trump tweet on your resetera forum, it'll be picture on top just like here.

Dan 05-02-18 11:19 PM

Re: Fix Twitter embedding
 

Originally Posted by TheBang (Post 13323740)
I suspect if you post the Donald Trump tweet on your resetera forum

I dare not! :lol:
Yeah, you're right, though. I found another embedded tweet that wasn't a reply, and it looked like it does here. Oh well... thought I was onto something for a minute there.

LorenzoL 06-27-18 03:01 PM

Re: Fix Twitter embedding
 
How do you embed a tweet here on mobile? I share tweet and copy link. And paste it in a post. Why is it coming up as a link?

Dan 06-27-18 04:15 PM

Re: Fix Twitter embedding
 
On mobile, for some reason, Twitter adds a ?s=21 to the end of the tweet URL. You just have to remove those characters.

LorenzoL 06-27-18 06:44 PM

Re: Fix Twitter embedding
 

Originally Posted by Dan (Post 13361493)
On mobile, for some reason, Twitter adds a ?s=21 to the end of the tweet URL. You just have to remove those characters.

Thank you Dan!

andicus 11-21-18 09:51 AM

Re: Fix Twitter embedding
 
Probably a different issue, but when I try to embed a tweet, or quote someone else that has an embedded tweet, I get an error.

Does anyone else with Chrome get this message, and is there a workaround?

http://i65.tinypic.com/2ngbdwm.jpg

IDrinkMolson 11-21-18 10:51 AM

Re: Fix Twitter embedding
 

Originally Posted by andicus (Post 13447834)
Probably a different issue, but when I try to embed a tweet, or quote someone else that has an embedded tweet, I get an error.

Does anyone else with Chrome get this message, and is there a workaround?

http://i65.tinypic.com/2ngbdwm.jpg

I get it too, and youtube embeds in Google Chrome.

I log into MS Edge and it works fine there. :shrug:

fumanstan 11-21-18 10:57 AM

Re: Fix Twitter embedding
 
No issues here on Chrome, and I've posted a decent amount of embedded tweets.

Dan 11-21-18 11:05 AM

Re: Fix Twitter embedding
 
I get that exact error on one of my PCs, but not the other. Both using Chrome. It's strange. I wonder if it's related to adblock and how I may or may not have done something strange with the settings.

Best bet is probably to completely uninstall Chrome, reboot, and re-install Chrome. See if that fixes it.

andicus 11-21-18 03:38 PM

Re: Fix Twitter embedding
 
I thought it might be uBlock Origin, so I disabled it, but the issues persisted.

Come to think of it, I also get the issue with YouTube embeds. So I just do it the old way, with the [ yt] tags.

FWIW, I'm using Chrome Version 69.0.3497.100 (Official Build) (64-bit) on Win7 Pro, SP1.


All times are GMT -5. The time now is 04:27 AM.


Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.