Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accommodate X in Twitter embeds; Add Instagram and TikTok embeds; Fix quoting of embeds #39

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

markplindsay
Copy link
Contributor

@markplindsay markplindsay commented Dec 3, 2023

@tkellen, this PR:

- Accommodates x.com in tweet embeds:

Screenshot 2023-12-03 at 5 17 35 PM Screenshot 2023-12-03 at 5 18 02 PM

- Adds Instagram embeds

Screenshot 2023-12-03 at 5 18 25 PM Screenshot 2023-12-03 at 5 19 17 PM

- Adds TikTok embeds

Screenshot 2023-12-03 at 5 19 48 PM Screenshot 2023-12-03 at 5 20 02 PM

- Fixes quoting of embeds where the contents of the <script> tag were getting quoted. When quoted, Twitter, Instagram, and TikTok embeds will now just display the embedded URL.

Screenshot 2023-12-03 at 5 31 29 PM Screenshot 2023-12-03 at 5 28 43 PM

- Adds a new js/embedding.js file to avoid rendering JS from PHP and enable more complicated client-side scripting, like fetching TikTok oEmbed info (which we probably don't want to do server-side)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant