Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用 kraken_video_player 出现 No implementation found for method setMuted on channel flutter.io/krakenVideoPlayer #1425

Open
yingzheng1980 opened this issue Jun 4, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@yingzheng1980
Copy link

yingzheng1980 commented Jun 4, 2022

使用的 Kraken 版本 | What version of kraken are you using

flutter 版本 2.5.0
kraken_video_player: ^2.4.1
kraken: ^0.10.4

重现步骤 | Steps To Reproduce

使用的是官网 多媒体 中的示例 js,下面是我的代码

import 'package:flutter/material.dart';
import 'package:kraken/kraken.dart';
import 'package:kraken_video_player/kraken_video_player.dart';

void main() {
  KrakenVideoPlayer.initialize();
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    Kraken kraken = Kraken(bundle: KrakenBundle.fromUrl('https://kraken.oss-cn-hangzhou.aliyuncs.com/demo/guide-video.js'));

    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
          visualDensity: VisualDensity.adaptivePlatformDensity,
        ),
        home: kraken
    );
  }
}

麻烦各位大大帮忙看一下

image

@yingzheng1980 yingzheng1980 added the bug Something isn't working label Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant