Altering Embedded Tweets (oEmbed)
Posted: Fri Mar 23, 2018 1:28 am
I took a cursory look through the plugin's code in the github, but wasn't able to figure this out...
Is there a way to toggle inclusion/exclusion of elements of an embedded object? For instance, when I embed a tweet, Twitter's default is to always include a parent tweet (if it exists) and include any media. I would like to be able to choose whether or not to include that.
Twitter's default:
Parent tweet excluded:
Is there a variable in the [embed https://twitter.com/status/blahblahblah] syntax or something that controls this?
Is there a way to toggle inclusion/exclusion of elements of an embedded object? For instance, when I embed a tweet, Twitter's default is to always include a parent tweet (if it exists) and include any media. I would like to be able to choose whether or not to include that.
Twitter's default:
Code: Select all
<blockquote class="twitter-tweet" data-lang="en">
Code: Select all
<blockquote class="twitter-tweet" data-conversation="none" data-lang="en">