Feature update: Rich Content Embeds

Hello DEV Community!

I’m excited to announce a significant improvement in how we embed rich content (such as Tweets and Youtube videos) in Forem posts and comments.🎉

Now, you need just the embed keyword and the complete URL of the resource:

{% emb…


This content originally appeared on DEV Community and was authored by Arit Amana

Hello DEV Community!

I'm excited to announce a significant improvement in how we embed rich content (such as Tweets and Youtube videos) in Forem posts and comments.🎉

Now, you need just the embed keyword and the complete URL of the resource:

{% embed https://... %}

Prior to this change, we embedded rich content by using keywords specific to the type of embed being created. For example, to embed a GitHub repository, we would use the github keyword and the slug to the repository:

{% github forem/forem %}

With our new approach, all you need is the complete URL to the repository:

{% embed https://github.com/forem/forem %}

Our Editor's Guide contains a list of supported content types. Note that embeds that were created using the former approach will still work for now. Eventually, the former approach will be deprecated.

Do jump in and try this new rich-content embed approach out! Please report any bugs you may encounter - thanks!

Originally published on Forem.dev.


This content originally appeared on DEV Community and was authored by Arit Amana


Print Share Comment Cite Upload Translate Updates
APA

Arit Amana | Sciencx (2022-02-16T21:56:51+00:00) Feature update: Rich Content Embeds. Retrieved from https://www.scien.cx/2022/02/16/feature-update-rich-content-embeds/

MLA
" » Feature update: Rich Content Embeds." Arit Amana | Sciencx - Wednesday February 16, 2022, https://www.scien.cx/2022/02/16/feature-update-rich-content-embeds/
HARVARD
Arit Amana | Sciencx Wednesday February 16, 2022 » Feature update: Rich Content Embeds., viewed ,<https://www.scien.cx/2022/02/16/feature-update-rich-content-embeds/>
VANCOUVER
Arit Amana | Sciencx - » Feature update: Rich Content Embeds. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/02/16/feature-update-rich-content-embeds/
CHICAGO
" » Feature update: Rich Content Embeds." Arit Amana | Sciencx - Accessed . https://www.scien.cx/2022/02/16/feature-update-rich-content-embeds/
IEEE
" » Feature update: Rich Content Embeds." Arit Amana | Sciencx [Online]. Available: https://www.scien.cx/2022/02/16/feature-update-rich-content-embeds/. [Accessed: ]
rf:citation
» Feature update: Rich Content Embeds | Arit Amana | Sciencx | https://www.scien.cx/2022/02/16/feature-update-rich-content-embeds/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.