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

type 'int' is not a subtype of type 'String' while playing a video #1008

Open
1 task done
chatali96 opened this issue Sep 27, 2024 · 4 comments
Open
1 task done

type 'int' is not a subtype of type 'String' while playing a video #1008

chatali96 opened this issue Sep 27, 2024 · 4 comments
Assignees

Comments

@chatali96
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Package

youtube_player_flutter

What happened?

I have used youtube_player_flutter for playing youtube videos with videoId(String). There are 200 above videos which are being played, except one Video and that video is giving error type 'int' is not a subtype of type 'String', although the data from api and in my model is STRING only.

What is the expected behaviour?

Video should be able to play while passing the videoId in string.

How to reproduce?

youtube_player_flutter: "8.1.2" with flutter version 3.10.6

Flutter Doctor Output

No response

@sam-musicx
Copy link

I have the same issue with trying to play videos by videoId. Once I call play it gives this error and the video won't start

@yogeshButani
Copy link

same issue.
How to fix this?

@Apri34
Copy link

Apri34 commented Nov 27, 2024

Same error here

@AndrewPiterov
Copy link

I have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants