Coder Social home page Coder Social logo

Comments (13)

abdelaziz-mahdy avatar abdelaziz-mahdy commented on July 22, 2024 1

Will add option to just leave it as it is

Right now I am working on fixing macos and iOS compilation in a new version.

from flutter_meedu_videoplayer.

abdelaziz-mahdy avatar abdelaziz-mahdy commented on July 22, 2024

Changing screen manager edge to edge should enable and disable this feature

from flutter_meedu_videoplayer.

MichalNemec avatar MichalNemec commented on July 22, 2024

Setting this still does it.

    screenManager: const ScreenManager(edgeToedge: false, forceLandScapeInFullscreen: false),

it seems its because of this code. It does not expose manual or "left untouched"

Future<void> setOverlays(bool visible) async {
    //await SystemChrome.setPreferredOrientations(this.orientations);
    if (visible) {
      await SystemChrome.setEnabledSystemUIMode(
          edgeToedge ? SystemUiMode.edgeToEdge : SystemUiMode.immersive, //<---- here
          overlays: overlays);
    } else {
      //print("Closed2");
      await SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,
          overlays: []);
    }
    //}
  }

from flutter_meedu_videoplayer.

abdelaziz-mahdy avatar abdelaziz-mahdy commented on July 22, 2024

@MichalNemec are you using iOS or macos?

I can add the things you need until media_kit fixes the macos and iOS problems they have.

But you can use it only if you don't use iOS and macos😢

from flutter_meedu_videoplayer.

MichalNemec avatar MichalNemec commented on July 22, 2024

yes, i have access to macbook air m1 and ios (simulator), because i didnt pay licence yet. If it helps you in development, then i can be testing subject. If you dont need it, then i can wait. Videos for us are not that important yet.

from flutter_meedu_videoplayer.

abdelaziz-mahdy avatar abdelaziz-mahdy commented on July 22, 2024

Can you test add platforms branch ?

On macos or iOS

It fails in GitHub actions

from flutter_meedu_videoplayer.

MichalNemec avatar MichalNemec commented on July 22, 2024
flutter_meedu_videoplayer: #^4.0.7
    git:
      url: https://github.com/zezo357/flutter_meedu_videoplayer.git
      path: package
      branch: adding-platforms
=======
Launching lib/main.dart on macOS in debug mode...
main.dart:1
CocoaPods' output:
↳
      Preparing
    Analyzing dependencies
    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
    Fetching external sources
    -> Fetching podspec for `FlutterMacOS` from `Flutter/ephemeral`
    -> Fetching podspec for `bitsdojo_window_macos` from `Flutter/ephemeral/.symlinks/plugins/bitsdojo_window_macos/macos`
    -> Fetching podspec for `catcher` from `Flutter/ephemeral/.symlinks/plugins/catcher/macos`
    -> Fetching podspec for `connectivity_plus` from `Flutter/ephemeral/.symlinks/plugins/connectivity_plus/macos`
    -> Fetching podspec for `device_info_plus` from `Flutter/ephemeral/.symlinks/plugins/device_info_plus/macos`
    -> Fetching podspec for `flutter_local_authentication` from `Flutter/ephemeral/.symlinks/plugins/flutter_local_authentication/macos`
    -> Fetching podspec for `flutter_meedu_videoplayer` from `Flutter/ephemeral/.symlinks/plugins/flutter_meedu_videoplayer/macos`
    [!] No podspec found for `flutter_meedu_videoplayer` in `Flutter/ephemeral/.symlinks/plugins/flutter_meedu_videoplayer/macos`
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/external_sources/path_source.rb:14:in `block in fetch'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/external_sources/path_source.rb:11:in `fetch'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:997:in `fetch_external_source'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:976:in `block (2 levels) in fetch_external_sources'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:975:in `each'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:975:in `block in fetch_external_sources'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:974:in `fetch_external_sources'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/installer/analyzer.rb:118:in `analyze'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:422:in `analyze'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:244:in `block in resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:243:in `resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/installer.rb:162:in `install!'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/command/install.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/lib/cocoapods/command.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.12.0/bin/pod:55:in `<top (required)>'
    /usr/local/bin/pod:23:in `load'
    /usr/local/bin/pod:23:in `<main>'
Exception: Error running pod install
Exited

from flutter_meedu_videoplayer.

abdelaziz-mahdy avatar abdelaziz-mahdy commented on July 22, 2024

Yep same error, I guess I will wait for a fix from their side then.

Thank you very much ❤️

from flutter_meedu_videoplayer.

MichalNemec avatar MichalNemec commented on July 22, 2024

Yep same error, I guess I will wait for a fix from their side then.

Thank you very much ❤️

no problem, glad to help!

isnt it that this is missing on your side? https://github.com/alexmercerind/media_kit/blob/main/media_kit_libs_macos_video/macos/media_kit_libs_macos_video.podspec

from flutter_meedu_videoplayer.

abdelaziz-mahdy avatar abdelaziz-mahdy commented on July 22, 2024

Yes I added it in the example, since I was testing the possibility of it being not direct dependencies that may be causing my problem

from flutter_meedu_videoplayer.

abdelaziz-mahdy avatar abdelaziz-mahdy commented on July 22, 2024

can you test on flutter_meedu_videoplayer: ^4.0.9-dev.1

  final _meeduPlayerController = MeeduPlayerController(
      controlsStyle: ControlsStyle.primary,
      screenManager: ScreenManager(hideSystemOverlay: false));

from flutter_meedu_videoplayer.

MichalNemec avatar MichalNemec commented on July 22, 2024

works as intended.

from flutter_meedu_videoplayer.

abdelaziz-mahdy avatar abdelaziz-mahdy commented on July 22, 2024

fixed on 4.0.9

from flutter_meedu_videoplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.