Youtube_player_flutter: cannot get video metadata on the init of the widget[BUG]

Created on 6 Mar 2021  路  3Comments  路  Source: sarbagyastha/youtube_player_flutter

Describe the bug
the metadata of the video takes time to show
i cannot depend on it to view the title of the video in the app bar e.g

To Reproduce
Steps to reproduce the behavior:
try to print any meta data related data on init

Expected behavior
A clear and concise description of what you expected to happen.
title and duration should be available

bug

Most helpful comment

Added a fix to issue and raised a PR. Until @sarbagyastha approves the PR #459 you can update your pubspec.yml as follows:

  youtube_player_flutter:
    git:
      url: https://github.com/codeprismtechnologies/youtube_player_flutter.git
      path: packages/youtube_player_flutter

All 3 comments

Added a fix to issue and raised a PR. Until @sarbagyastha approves the PR #459 you can update your pubspec.yml as follows:

  youtube_player_flutter:
    git:
      url: https://github.com/codeprismtechnologies/youtube_player_flutter.git
      path: packages/youtube_player_flutter

@sarbagyastha Please merge the PR by @godwin-codeprism
This solves the problem

Thanks

Was this page helpful?
0 / 5 - 0 ratings