Skip to content

Convert Notion video uploads into ReactPlayer links like you do for YouTube embeds #65

Open
@turntable-justin

Description

@turntable-justin

Describe the bug
When converting videos uploaded to notion, they are rendered like

[image](https://s3.{region}.amazonaws.com/secure.notion-static.com/.../{filename}.mp4?...)

** Reproduction Steps **
Just try to add a video upload into Notion (not a Youtube link) and try to do conversion using yarn pull

Expected behavior
Render similar to YouTube links, i.e.

<ReactPlayer controls url="https://s3.{region}.amazonaws.com/secure.notion-static.com/.../{filename}.mp4?..." />

I tested this solution by manually editing the .md files and it seems to work.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions