Closed AliKarimiENT closed 2 years ago
Excuse me any one have read my bug
Have you tried 3.0.0-alpha2?
Have you tried 3.0.0-alpha2?
No my version is ^2.2.1
Have you tried 3.0.0-alpha2?
I updated to this version but the video doesn't appear and show nothing
After loading widget showed, nothing appear please check it
Have you added the right dependency for video support? flutter_html_video
And added the custom render.
I didn't add flutter_html_video I don't know how to add custom render
Please follow the instructions at https://github.com/Sub6Resources/flutter_html#flutter_html_video
Could you please check this exception
I added flutter_html_video: ^3.0.0-alpha.2 flutter_html: ^3.0.0-alpha.2 to pubspec.yaml when adding these renders this error occurs and before adding these lines everything is like before
No host specified in URI
What html are you using? Looks like there is an incomplete url.
No host specified in URI
What html are you using? Looks like there is an incomplete url.
We have a text input in our admin panel. We receive HTML base data from API and get these data to HTML in flutter. The input contains text list video and also audio.
Ok but can you copy/paste here a bit of the html where the <video>
tag appears?
<p><span style="color: rgb(255, 255, 255); font-family: Vazir; font-size: 12.8px; text-align: justify; background-color: rgb(51, 51, 51);"><br></span></p><div class="embed-container text-center"><video src="https://4ie.ir/storage/files/24/1189999687.mp4?autoplay=0" frameborder="0" width="70%" allowfullscreen="true" controls="true" class="text-center isMedia"></video><br></div><p><span style="font-family: Vazir; font-size: 12.8px; text-align: justify;">۲۹ شیء استردادشده از فرانسه در موزه ملی ایران به نمایش گذاشته شد. قدمت این آثار از پنج هزار سال پیش تا دوره اسلامی است.</span><br></p>
Ah that's a separate bug. You are using a %-based width but this is unsupported. We only allow exact values there. This is a limitation we should fix and/or at least not crash.
So I will wait for this bug fixes and after that I will migrate to latest version Thanks for your support
Please follow the instructions at https://github.com/Sub6Resources/flutter_html#flutter_html_video
I was having the same issue with video player not stopping when container widget had left the screen. I updated my pubspec.yaml flutter_html: ^3.0.0-alpha.3 flutter_html_video: ^3.0.0-alpha.4
and added the customRenders as per above instructions. Now the video will not show up at all.
<p><span style="color: rgb(255, 255, 255); font-family: Vazir; font-size: 12.8px; text-align: justify; background-color: rgb(51, 51, 51);"><br></span></p><div class="embed-container text-center"><video src="https://4ie.ir/storage/files/24/1189999687.mp4?autoplay=0" frameborder="0" width="70%" allowfullscreen="true" controls="true" class="text-center isMedia"></video><br></div><p><span style="font-family: Vazir; font-size: 12.8px; text-align: justify;">۲۹ شیء استردادشده از فرانسه در موزه ملی ایران به نمایش گذاشته شد. قدمت این آثار از پنج هزار سال پیش تا دوره اسلامی است.</span><br></p>
Hi, bro , please could you tall me that what is you used "Rich editor" @AliKarimiENT
Well, my problem is that when I play the video and after that, while video is playing I pop up the screen and back to the previous screen but the video still is playing. I want to dispose the video but don't know how to do it.