i started use this package: https://pub.dev/packages/video_player. But me need use this package for showing video from YouTube videos, how can i do this, cuz default ulr from YouTube not working?
You can't use the video_player plugin for playing YouTube videos. It doesn't support that. You can play videos from network but it should be video (ends with a valid extension). YouTube videos are different.
You need to use something like youtube_player_flutter, or youtube_explode_dart. You can search other plugins on pub for this as well.
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加