dart-lang / dart-lang/pub-dev

Consider re-intepreting youtube image links as embedding videos

Open
#4,551 5 comments 0 reactions 0 assignees View on GitHub
Type: enhancement
Dominant language
Dart
Stars
944
Forks
184
Avg merge
1d 15h
Merged PRs (30d)
12

Description

Following markdown image links could be used to link to a youtube video using a thumbnail.
Perhaps we should investigate if we can directly embed these.

There is perhaps some concerns around performance, and whether it would be annoying with videos embedded in markdown.

Note: This is not a fully designed feature yet, just an idea.

------------------------------

```
[![Video Embed](http://img.youtube.com/vi//0.jpg)](http://www.youtube.com/watch?v=)
```

```
[![Video Embed](http://img.youtube.com/vi//1.jpg)](http://www.youtube.com/watch?v=)
```

```
[![Video Embed](http://img.youtube.com/vi//default.jpg)](http://www.youtube.com/watch?v=)
```

Contributor guide

Open the contributing guide

Research direction

The issue provides only example Markdown links and does not identify files, tests, or an implementation entry point. First locate the Markdown rendering path and assess YouTube detection, performance, and user experience; the work is done only after the embedding behavior and its scope are designed and agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.