Skip to content

[FEATURE] Support oembed links #881

@dJani97

Description

@dJani97

Describe your feature request

Hey!

Our API returns embedded links in the following format:

<p>There should be a YouTube video link below this</p>
<figure class="media">
   <oembed url="https://youtu.be/4FGnb2lgPBA"></oembed>
</figure> 

The current version of flutter_html simply ignores those lines and only displays the <p> tag.

Can you please give a hint on how I could parse that oembed URL into a working link with this plugin?

Since it could be anything (not only YT videos), my intention is to simply display it as a regular link:

<a href="https://youtu.be/4FGnb2lgPBA">https://youtu.be/4FGnb2lgPBA</a>

A picture of a cute animal (not mandatory but encouraged)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions