canUseYouTubePlayer property
bool
get
canUseYouTubePlayer
Check if YouTube player can be used on current platform
Implementation
static bool get canUseYouTubePlayer {
// YouTube player has limited support on web
return !isWeb || kIsWeb; // Allow but with known limitations
}