Closed abdelaziz-mahdy closed 10 months ago
using with video_player will make the code not compile on web
can the registerWith be wrapped in conditional import ? like this? https://github.com/AR-CADE/petit_player/blob/main/lib/fvp_pollyfill.dart
I can add an option for registerWith to select platforms to enable
registerWith
what you can do now is
if (!dart.library.html) registerWith();
thank you
using with video_player will make the code not compile on web
can the registerWith be wrapped in conditional import ? like this? https://github.com/AR-CADE/petit_player/blob/main/lib/fvp_pollyfill.dart