AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

[FR] Add a Video Player Plugin to AppFlowy Editor

Open annieappflowy opened this issue 3 years ago • 15 comments

1~3 main use cases of the proposed feature Enable users to insert videos into pages

what types of users can benefit from using your proposed feature Users who use videos to express ideas

Reference:

  • https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/app_flowy/packages/appflowy_editor/documentation/customizing.md#customize-a-component

annieappflowy avatar Sep 16 '22 12:09 annieappflowy

Can I take it?

MrHeer avatar Sep 26 '22 09:09 MrHeer

Sure. I assigned this issue to you.

LucasXu0 avatar Sep 26 '22 09:09 LucasXu0

Is there a more detailed requirements document and UI?

MrHeer avatar Sep 26 '22 09:09 MrHeer

At present, there is no perfect design draft. You can refer to the design of the image plugin, and support functionalities such as scaling, aligning, copying, deleting, etc.

LucasXu0 avatar Sep 26 '22 09:09 LucasXu0

Hi, I have no idea about video player. Do you have some suggestion? Should I develop a Flutter plugin?

MrHeer avatar Sep 27 '22 06:09 MrHeer

Hi, @MrHeer. You don't need to make a Flutter plugin. Here is the guiding document. customizing-a-component. Feel free to request more information if you have any questions after reading it.

LucasXu0 avatar Sep 27 '22 07:09 LucasXu0

But there should have a VideoNodeWidget like the ImageNodeWidget in example, In the example, use a Image.network to display a Image, but there are no weiget to render a video player.

MrHeer avatar Sep 27 '22 07:09 MrHeer

After doing a simple investigation, I haven't found such a widget to render video for the time being. Perhaps this feature can be suspended first.

LucasXu0 avatar Sep 27 '22 07:09 LucasXu0

Can I create a draft PR to waiting the video widget?

MrHeer avatar Sep 27 '22 07:09 MrHeer

Yup. I will keep looking for a cross-platform video player. (Web, Mobile and Desktop)

LucasXu0 avatar Sep 27 '22 12:09 LucasXu0

Hi, is adding video player within editor available or ready yet?

ishtiaqshaheer avatar May 02 '23 12:05 ishtiaqshaheer

Bump it up. Finally, there's a package that supports all platforms(not verified yet.).

LucasXu0 avatar Sep 13 '23 06:09 LucasXu0

I have a lot of time to continue to complete this task.

MrHeer avatar Sep 18 '23 04:09 MrHeer

Please support HTML5 online streaming video playback and image rendering.

Feature Request: Please support inserting HTML5 code format for online streaming video playback and image rendering in Markdown files:

<video controls muted preload="auto" poster="https://ndn.up-timely.com/image/mP0qOkMCWtMW.jpg" src="https://z001.sbs.us/video/00580mhb.mp4">
</video>
![](https://xdn.up-ti.com/71785/H5e4CWtMW.png)
<img src="https://xdn.up-ti.com/71785/H5e4CWtMW.png" alt="Smiley face" width="600" height="300">

The advantage of this syntax format is that it is fully compatible with all major Markdown editors😜.

Windows 10 AppFlowy 0.3.9.1

Almost all Markdown editors now support parsing the above code to insert and play HTML5 online streaming video and image rendering. Please support this feature as soon as possible. Thank you very much for your excellent MD editor. 🙏👍

zhouxinghong avatar Dec 25 '23 11:12 zhouxinghong