tneotia / html-editor-enhanced

A Flutter package that provides a WYSIWYG editor backed by flutter_inappwebview and the Summernote library.
https://pub.dev/packages/html_editor_enhanced
MIT License
274 stars 330 forks source link

[QUESTION] Cannot get video to play in html-editor-enhanced #471

Open jwbrown opened 10 months ago

jwbrown commented 10 months ago

I am using video tags in my html and do not seem to get play controls that work in the editor. I wonder if i am doing something wrong or does the editor not allow playing the videos? . . . The html (which work in a standard browser) is

<base href="https://letts-news-portal-ggerjdymjq-nw.a.run.app/">
<video src="/sync/media/data_files/d6399590-86fd-11ee-b56f-eb390bf5ef22.mp4" controls="controls" width="300" height="150"></video></p>

or

<video controls="controls" width="300" height="150">
<source src="/sync/media/data_files/d6399590-86fd-11ee-b56f-eb390bf5ef22.mp4" type="video/mp4">
</video>

but neither work

In both cases for the video i get the box and timeline, but no play button and no preview of content or length of video

oleksii-pimenov commented 4 months ago

same

oleksii-pimenov commented 4 months ago

I am using video tags in my html and do not seem to get play controls that work in the editor. I wonder if i am doing something wrong or does the editor not allow playing the videos? . . . The html (which work in a standard browser) is

<base href="https://letts-news-portal-ggerjdymjq-nw.a.run.app/">
<video src="/sync/media/data_files/d6399590-86fd-11ee-b56f-eb390bf5ef22.mp4" controls="controls" width="300" height="150"></video></p>

or

<video controls="controls" width="300" height="150">
<source src="/sync/media/data_files/d6399590-86fd-11ee-b56f-eb390bf5ef22.mp4" type="video/mp4">
</video>

but neither work

In both cases for the video i get the box and timeline, but no play button and no preview of content or length of video

Did u handle it somehow?