Garv Shah

Results 59 comments of Garv Shah

My universal_ui file was as follows: ```dart library universal_ui; import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter_quill/flutter_quill.dart'; import 'package:universal_html/html.dart' as html; import 'package:youtube_player_flutter_quill/youtube_player_flutter_quill.dart'; import '../../widgets/responsive_widget.dart'; import 'shims/dart_ui.dart' as ui_instance; class PlatformViewRegistryFix {...

> I don't understand this code > > ``` > String embedUrl = "https://www.youtube.com/embed/${YoutubePlayer.convertUrlToId(node.value.data) ?? 'dQw4w9WgXcQ'}"; > ``` > > What is dQw4w9WgXcQ ? For now it's a backup youtube...

This lets you put in any video, not just a youtube video, but it is still a bit not ideal. For example, there are a few issues with focusing (clicking...

nothing, what makes you say that?

youtube_player_flutter_quill should already be in the pubspec, shims was a folder I added since the universal_ui already in there wasn't working for me. It's the same as putting `import 'fake_ui.dart'...

https://github.com/flutter/flutter/issues/41563 this is where I got shims from

Clicking on it doesn't play the video if you are already focused on the QuillEditor. If you click off the QuillEditor and then click on the video, it plays and...

yup, I'm using IntelliJ and can debug it and all the normal stuff I do with web. Are you getting a specific error?

I tried a couple webview plugins, and they all seem to have the same quirks as the normal implementation, with the scrolling and focusing. [This](https://pub.dev/packages/webviewx) plugin does seem to be...