Youtube_player_flutter: [ใƒใ‚ฐ]ใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใ‚ชใƒ—ใ‚ทใƒงใƒณใŒๆฉŸ่ƒฝใ—ใฆใ„ใพใ›ใ‚“...

ไฝœๆˆๆ—ฅ 2020ๅนด06ๆœˆ01ๆ—ฅ  ยท  38ใ‚ณใƒกใƒณใƒˆ  ยท  ใ‚ฝใƒผใ‚น: sarbagyastha/youtube_player_flutter

ใ“ใ‚Œใ‚’ใ‚ขใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณใฎ1ใคใซๅฎŸ่ฃ…ใ—ใพใ—ใŸใŒใ€ใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใŒๆฉŸ่ƒฝใ—ใพใ›ใ‚“ใงใ—ใŸใ€‚
example / lib / main.dartใงๆไพ›ใ•ใ‚Œใฆใ„ใ‚‹ใ‚ตใƒณใƒ—ใƒซใ‚นใƒ‹ใƒšใƒƒใƒˆใ‚‚่ฉฆใ—ใพใ—ใŸใŒใ€ๅŒใ˜ใƒญใ‚ฐใŒ็™บ็”Ÿใ—ใพใ—ใŸ

ใ“ใ‚Œใฏใƒญใ‚ฐใงใ™

I / PressGestureDetector๏ผˆ5303๏ผ‰๏ผšORIENTATION_LANDSCAPE
W / libEGL๏ผˆ5303๏ผ‰๏ผšEGLNativeWindowType0x7204703010ๅˆ‡ๆ–ญใซๅคฑๆ•—ใ—ใพใ—ใŸ
D / mali_winsys๏ผˆ5303๏ผ‰๏ผšEGLint new_window_surface๏ผˆegl_winsys_display ใ€void *ใ€EGLSurfaceใ€EGLConfigใ€egl_winsys_surface * ใ€egl_color_buffer_format *ใ€EGLBoolean๏ผ‰ใฏ0x3000ใ‚’่ฟ”ใ—ใพใ™
W / PlatformViewsController๏ผˆ5303๏ผ‰๏ผšใ‚ตใ‚คใ‚บ๏ผš[2040ใ€1080]ใฎไปฎๆƒณใƒ‡ใ‚ฃใ‚นใƒ—ใƒฌใ‚คใ‚’ไฝœๆˆใ™ใ‚‹ใจใ€ๅ•้กŒใŒ็™บ็”Ÿใ™ใ‚‹ๅฏ่ƒฝๆ€งใŒใ‚ใ‚Šใพใ™๏ผˆhttps://github.com/flutter/flutter/issues/2897๏ผ‰ใ€‚ใƒ‡ใƒใ‚คใ‚นใฎ็”ป้ขใ‚ตใ‚คใ‚บใ‚ˆใ‚Šใ‚‚ๅคงใใ„๏ผš [1080ใ€2040]ใ€‚

็ซฏๆœซ๏ผš
ๅ่ช‰9i
Android 8.0

ๆœ€ใ‚‚ๅ‚่€ƒใซใชใ‚‹ใ‚ณใƒกใƒณใƒˆ

ใ†ใ‚“ใ€็งใฏใƒฆใƒผใƒใƒฅใƒผใƒ–ใƒ—ใƒฌใƒผใƒคใƒผใƒ“ใƒซใƒ€ใƒผใฎไธญใซใƒฆใƒผใƒใƒฅใƒผใƒ–ใƒ—ใƒฌใƒผใƒคใƒผใ‚’ๅŒ…ใฟใพใ—ใŸใ€ใใ—ใฆ็งใฏใ‚ใชใŸใฎใ‚ตใƒณใƒ—ใƒซใ‚ณใƒผใƒ‰ใ•ใˆไฝฟ็”จใ—ใพใ—ใŸใ€ใใ—ใฆใใ‚Œใฏ็งใซๅŒใ˜ใ‚จใƒฉใƒผใ‚’ไธŽใˆใพใ—ใŸ

ใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใƒœใ‚ฟใƒณใ‚’ใ‚ฏใƒชใƒƒใ‚ฏใ™ใ‚‹ใจใ€็”ป้ขใŒไธ€็žฌ้ป’ใๅก—ใ‚Šใคใถใ•ใ‚Œใฆใ‹ใ‚‰ใ€ๅ…ƒใฎใƒใƒผใƒˆใƒฌใƒผใƒˆใƒขใƒผใƒ‰ใซใชใ‚Šใ€YouTubeใƒ—ใƒฌใƒผใƒคใƒผใŒไธ€ๆ™‚ๅœๆญขใ—ใพใ™ใ€‚

ๅ…จใฆใฎใ‚ณใƒกใƒณใƒˆ38ไปถ

ใ‚ฏใƒฉใƒƒใ‚ทใƒฅใ—ใฆใ„ใ‚‹ใฎใงใ™ใ‹ใ€ใใ‚Œใจใ‚‚ใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใซๅˆ‡ใ‚Šๆ›ฟใ‚ใฃใฆใ„ใชใ„ใฎใงใ™ใ‹๏ผŸ

ใ„ใ„ใˆใ€ใ‚ขใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณใฏใ‚ฏใƒฉใƒƒใ‚ทใƒฅใ—ใพใ›ใ‚“ใŒใ€ๅ…จ็”ป้ข่กจ็คบใซใฏๅˆ‡ใ‚Šๆ›ฟใ‚ใ‚Šใพใ›ใ‚“ใ€‚่ฟ…้€Ÿใช่ฟ”ไฟกใซๆ„Ÿ่ฌใ—ใพใ™

ใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใƒขใƒผใƒ‰ใซๅˆ‡ใ‚Šๆ›ฟใˆใ‚‹ใจใฉใ†ใชใ‚‹ใ‹ใซใคใ„ใฆ่ฉณใ—ใๆ•™ใˆใฆใใ ใ•ใ„ใ€‚ ใพใŸใ€YoutubePlayerBuilderใงใƒ—ใƒฌใƒผใƒคใƒผใ‚’ใƒฉใƒƒใƒ—ใ—ใฆใ„ใพใ™ใ‹๏ผŸ

ใ†ใ‚“ใ€็งใฏใƒฆใƒผใƒใƒฅใƒผใƒ–ใƒ—ใƒฌใƒผใƒคใƒผใƒ“ใƒซใƒ€ใƒผใฎไธญใซใƒฆใƒผใƒใƒฅใƒผใƒ–ใƒ—ใƒฌใƒผใƒคใƒผใ‚’ๅŒ…ใฟใพใ—ใŸใ€ใใ—ใฆ็งใฏใ‚ใชใŸใฎใ‚ตใƒณใƒ—ใƒซใ‚ณใƒผใƒ‰ใ•ใˆไฝฟ็”จใ—ใพใ—ใŸใ€ใใ—ใฆใใ‚Œใฏ็งใซๅŒใ˜ใ‚จใƒฉใƒผใ‚’ไธŽใˆใพใ—ใŸ

ใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใƒœใ‚ฟใƒณใ‚’ใ‚ฏใƒชใƒƒใ‚ฏใ™ใ‚‹ใจใ€็”ป้ขใŒไธ€็žฌ้ป’ใๅก—ใ‚Šใคใถใ•ใ‚Œใฆใ‹ใ‚‰ใ€ๅ…ƒใฎใƒใƒผใƒˆใƒฌใƒผใƒˆใƒขใƒผใƒ‰ใซใชใ‚Šใ€YouTubeใƒ—ใƒฌใƒผใƒคใƒผใŒไธ€ๆ™‚ๅœๆญขใ—ใพใ™ใ€‚

v7ใธใฎใ‚ขใƒƒใƒ—ใƒ‡ใƒผใƒˆๅพŒใ€ใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใฏๆฉŸ่ƒฝใ—ใชใใชใ‚Šใพใ™ใ€‚ ใ‚ณใƒณใƒใƒผใƒใƒณใƒˆใ‚’YoutubePlayerBuilderใงใƒฉใƒƒใƒ—ใ—ใพใ—ใŸใŒใ€ๅฝนใซ็ซ‹ใกใพใ›ใ‚“ใ€‚ ใ“ใ‚Œใฏใ‚จใƒฉใƒผใƒญใ‚ฐใ‹ใ‚‰ใฎใ‚‚ใฎใงใ™๏ผš

Tried calling: value
#0      Object.noSuchMethod  (dart:core-patch/object_patch.dart:53:5)
#1      _YoutubePlayerBuilderState.didChangeMetrics 
package:youtube_player_flutter/โ€ฆ/widgets/youtube_player_builder.dart:58
#2      WidgetsBinding.handleMetricsChanged 
package:flutter/โ€ฆ/widgets/binding.dart:538
#3      _rootRun  (dart:async/zone.dart:1184:13)
#4      _CustomZone.run  (dart:async/zone.dart:1077:19)
#5      _CustomZone.runGuarded  (dart:async/zone.dart:979:7)
#6      _invoke  (dart:ui/hooks.dart:261:10)
#7      _updateWindowMetrics  (dart:ui/hooks.dart:64:3)

@AshutoshPatoleใƒ€ใ‚คใ‚ขใƒญใ‚ฐใงใƒ“ใƒ‡ใ‚ชใ‚’ๅ†็”Ÿใ—ใฆใ„ใพใ™ใ‹๏ผŸ ็งใŒDialogใ‹ใ‚‰่ฉฆใ—ใŸใจใใ€ใใ‚Œใฏใพใ•ใซ็งใซ่ตทใ“ใฃใŸใ‹ใ‚‰ใงใ™ใ€‚ ใƒ“ใƒ‡ใ‚ชใ‚’ๅ†็”Ÿใ™ใ‚‹ใŸใ‚ใฎๅฐ‚็”จใƒฌใ‚คใ‚ขใ‚ฆใƒˆใซๅˆ‡ใ‚Šๆ›ฟใˆใŸๅพŒใ€ใใ‚Œใฏใ†ใพใๆฉŸ่ƒฝใ—ใพใ—ใŸใ€‚ ใ“ใ‚ŒใŒ็งใฎใ‚ณใƒผใƒ‰ใงใ™๏ผš

` import'package๏ผšflutter / Material.dart ';
import'package๏ผšyoutube_player_flutter / youtube_player_flutter.dart ';

ใ‚ฏใƒฉใ‚นVideoViewใฏStatelessWidgetใ‚’ๆ‹กๅผตใ—ใพใ™{
ๆœ€็ต‚็š„ใชๆ–‡ๅญ—ๅˆ—videoId;
VideoView๏ผˆ{this.videoId}๏ผ‰;
@ใ‚ชใƒผใƒใƒผใƒฉใ‚คใƒ‰
ใ‚ฆใ‚ฃใ‚ธใ‚งใƒƒใƒˆใƒ“ใƒซใƒ‰๏ผˆBuildContextใ‚ณใƒณใƒ†ใ‚ญใ‚นใƒˆ๏ผ‰{
YoutubePlayerController _controller = YoutubePlayerController๏ผˆ
initialVideoId๏ผšvideoIdใ€
ใƒ•ใƒฉใ‚ฐ๏ผšYoutubePlayerFlags๏ผˆ
่‡ชๅ‹•ๅ†็”Ÿ๏ผštrueใ€
๏ผ‰ใ€
๏ผ‰;
ใƒชใ‚ฟใƒผใƒณใ‚ปใƒณใ‚ฟใƒผ๏ผˆ
ๅญ๏ผšYoutubePlayerBuilder๏ผˆ
ใƒ—ใƒฌใƒผใƒคใƒผ๏ผšYoutubePlayer๏ผˆ
ใ‚ณใƒณใƒˆใƒญใƒผใƒฉ๏ผš_controllerใ€
// showVideoProgressIndicator๏ผštrueใ€
๏ผ‰ใ€ใƒ“ใƒซใƒ€ใƒผ:(ใ‚ณใƒณใƒ†ใ‚ญใ‚นใƒˆใ€ใƒ—ใƒฌใƒผใƒคใƒผ๏ผ‰{
Column๏ผˆใ‚’่ฟ”ใ™
ๅญไพ›้”๏ผš[
ใƒ—ใƒฌใƒผใƒคใƒผใ€
]ใ€
๏ผ‰;
}ใ€
๏ผ‰ใ€
๏ผ‰;
}
}
`

@ vipinnegi90ใ„ใ„ใˆใ€YouTubeใ‚’่กจ็คบใ™ใ‚‹ใŸใ‚ใฎใƒ€ใ‚คใ‚ขใƒญใ‚ฐใ‚’ไฝฟ็”จใ—ใฆใ„ใพใ›ใ‚“ใ€‚ใ‚ณใƒผใƒ‰ใ‚‚่ฉฆใ—ใพใ—ใŸใŒใ€ๆฉŸ่ƒฝใ›ใšใ€ๅŒใ˜ใ‚จใƒฉใƒผใŒ็™บ็”Ÿใ—ใพใ—ใŸใ€‚ ็งใฎใ‚ณใƒผใƒ‰ใซไฝ•ใ‹ใ‚ใ‚Šใพใ™ใ‹๏ผŸ ใ—ใ‹ใ—ใ€idใฏv7.xxใซๆ›ดๆ–ฐใ™ใ‚‹ๅ‰ใซๅฎŒๅ…จใซๆฉŸ่ƒฝใ—ใพใ—ใŸใŒใ€ใจใซใ‹ใใ“ใฎๅ•้กŒใ‚’่งฃๆฑบใ™ใ‚‹ใŸใ‚ใซ่ฉณ็ดฐใชใƒญใ‚ฐใƒ†ใ‚ญใ‚นใƒˆใ‚’่ฒผใ‚Šไป˜ใ‘ใฆใ„ใพใ™ใ€‚

็ทจ้›†1๏ผšใ“ใฎใ‚จใƒฉใƒผใŒ็งใฎใ‚ณใƒผใƒ‰ใจใฏไฝ•ใฎ้–ขไฟ‚ใ‚‚ใชใ„ใ“ใจใซๆฐ—ใฅใใพใ—ใŸใ€‚ ๆ–ฐใ—ใ„ใƒ•ใƒฉใƒƒใ‚ฟใƒผใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใ‚’ไฝœๆˆใ—ใ€flutter_youtube_playerใฎไพๅญ˜้–ขไฟ‚ใ‚’่ฟฝๅŠ ใ—ใ€ไพ‹ใงๆไพ›ใ•ใ‚Œใฆใ„ใ‚‹ใ‚ณใƒผใƒ‰ใ‚’ใ‚ณใƒ”ใƒผใ—ใฆใ€ๅ‹•ไฝœใ™ใ‚‹ใ“ใจใ‚’็ขบ่ชใ—ใพใ—ใŸใŒใ€ๅŒใ˜ใ‚จใƒฉใƒผใŒ็™บ็”Ÿใ—ใพใ—ใŸใ€‚ ็งใ‚‚2ใคใฎ็•ฐใชใ‚‹้›ป่ฉฑใงใ“ใ‚Œใ‚’่ฉฆใ—ใพใ—ใŸใ€‚

9iใ‚’ๅฐŠ้‡=> android 8.0
asus zenfone maxpro m1 => android 9.0

@sarbagyasthaใฏใ“ใฎๅ•้กŒใ‚’ไฟฎๆญฃใ—ใ€็งใ‹ใ‚‰ใฎๆƒ…ๅ ฑใŒใ•ใ‚‰ใซๅฟ…่ฆใชๅ ดๅˆใฏpingใ‚’้€ไฟกใ—ใฆใใ ใ•ใ„ใ€‚


Performing hot reload...
Syncing files to device RNE L22...
Reloaded 0 of 797 libraries in 486ms.
V/AudioManager(10229): playSoundEffect   effectType: 0
E/BufferQueueProducer(10229): [] Can not get hwsched service
D/HwCust  (10229): Create obj success use class android.app.HwCustHwWallpaperManagerImpl
D/HwRTBlurUtils(10229): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3<strong i="12">@ad0bded</strong>, Nhwext : 0, get Blur : disable with , null
D/HwRTBlurUtils(10229): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3<strong i="13">@ad0bded</strong>, Nhwext : 0, get Blur : disable with , null
D/OpenGLRenderer(10229):   HWUI Binary is  enabled
D/OpenGLRenderer(10229):   HWUI Binary is  enabled
I/PressGestureDetector(10229): HiTouch restricted: AboardArea.
D/mali_winsys(10229): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
D/        (10229): TrackPlayerBase::~TrackPlayerBase()
D/        (10229): PlayerBase::~PlayerBase()
W/InputMethodManager(10229): startInputReason = 3
V/AudioManager(10229): getProperty  key: android.media.property.OUTPUT_SAMPLE_RATE
V/AudioManager(10229): getProperty  key: android.media.property.OUTPUT_SAMPLE_RATE
E/BufferQueueProducer(10229): [] Can not get hwsched service
D/        (10229): PlayerBase::PlayerBase()
D/        (10229): TrackPlayerBase::TrackPlayerBase()
I/libOpenSLES(10229): Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
I/cr_MediaCodecBridge(10229): create MediaCodec video decoder, mime video/avc
D/AudioTrack(10229): OFFLOAD 0,mNotificationFrames 0,mStreamType =3,mOriginalSampleRate 48000,mAfSampleRate 48000,mTransfer 1
D/AudioTrack(10229): Client defaulted notificationFrames to 962 for frameCount 1924
I/OMXClient(10229): Treble IOmx obtained
I/ACodec  (10229): In onAllocateComponent create compenent, codec name: OMX.IMG.MSVDX.Decoder.AVC
I/MediaCodec(10229): MediaCodec will operate in async mode
D/SurfaceUtils(10229): connecting to surface 0x72048ef010, reason connectToSurface
I/MediaCodec(10229): [OMX.IMG.MSVDX.Decoder.AVC] setting surface generation to 10474506
D/SurfaceUtils(10229): disconnecting from surface 0x72048ef010, reason connectToSurface(reconnect)
D/SurfaceUtils(10229): connecting to surface 0x72048ef010, reason connectToSurface(reconnect)
W/HwExtendedUtils(10229): hw configLocalPlayBack err = -1010
E/ACodec  (10229): [OMX.IMG.MSVDX.Decoder.AVC] setPortMode on output to DynamicANWBuffer failed w/ err -1010
W/ACodec  (10229): [OMX.IMG.MSVDX.Decoder.AVC] prepareForAdaptivePlayback failed w/ err -1010
I/HwExtendedCodec(10229): mime is [video/avc] at setVideoFormat
I/ACodec  (10229): onStart
I/HwExtendedUtils(10229): error setConfig queuesToNativeWindow (err -1010)
D/SurfaceUtils(10229): disconnecting from surface 0x72048ef010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(10229): connecting to surface 0x72048ef010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(10229): set up nativeWindow 0x72048ef010 for 960x720, color 0x300, rotation 0, usage 0x20002900
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
I/HwExtendedUtils(10229): error setConfig queuesToNativeWindow (err -1010)
D/SurfaceUtils(10229): disconnecting from surface 0x72048ef010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(10229): connecting to surface 0x72048ef010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(10229): set up nativeWindow 0x72048ef010 for 960x720, color 0x300, rotation 0, usage 0x20002900
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
V/AudioManager(10229): requestAudioFocus  streamType: 3  durationHint: 1
V/AudioManager(10229): registerAudioFocusListener...
E/chromium(10229): [ERROR:web_contents_delegate.cc(218)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
E/chromium(10229): [ERROR:web_contents_delegate.cc(218)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
W/cr_media(10229): Requires MODIFY_AUDIO_SETTINGS and RECORD_AUDIO. No audio device will be available for recording
I/CameraManagerGlobal(10229): do not need hide aux camera, device number: 2
I/chatty  (10229): uid=10314(u0_a314) ThreadPoolSingl identical 10 lines
I/CameraManagerGlobal(10229): do not need hide aux camera, device number: 2
V/AudioManager(10229): playSoundEffect   effectType: 0
I/PressGestureDetector(10229): ORIENTATION_LANDSCAPE
I/PressGestureDetector(10229): ORIENTATION_LANDSCAPE
W/libEGL  (10229): EGLNativeWindowType 0x720487b010 disconnect failed
D/mali_winsys(10229): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
W/libEGL  (10229): EGLNativeWindowType 0x720487c010 disconnect failed
D/mali_winsys(10229): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
W/libEGL  (10229): EGLNativeWindowType 0x720487b010 disconnect failed
D/mali_winsys(10229): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
W/libEGL  (10229): EGLNativeWindowType 0x720487b010 disconnect failed
D/mali_winsys(10229): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
W/libEGL  (10229): EGLNativeWindowType 0x720487c010 disconnect failed
D/mali_winsys(10229): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
W/PlatformViewsController(10229): Creating a virtual display of size: [2160, 1080] may result in problems(https://github.com/flutter/flutter/issues/2897).It is larger than the device screen size: [1080, 2040].
D/HwCust  (10229): Create obj success use class android.app.HwCustHwWallpaperManagerImpl
D/HwRTBlurUtils(10229): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3<strong i="14">@a4e8291</strong>, Nhwext : 0, get Blur : disable with , null
D/HwRTBlurUtils(10229): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3<strong i="15">@a4e8291</strong>, Nhwext : 0, get Blur : disable with , null
D/OpenGLRenderer(10229):   HWUI Binary is  enabled
I/PressGestureDetector(10229): HiTouch restricted: AboardArea.
D/AudioTrack(10229): stop() called with 561604 frames delivered
D/        (10229): PlayerBase::stop() from IPlayer
W/cr_MediaCodecBridge(10229): Releasing: OMX.IMG.MSVDX.Decoder.AVC
W/ACodec  (10229): forcing OMX state to Idle when received shutdown in ExecutingState
D/SurfaceUtils(10229): disconnecting from surface 0x72048ef010, reason disconnectFromSurface
W/cr_MediaCodecBridge(10229): Codec released
D/mali_winsys(10229): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
V/AudioManager(10229): requestAudioFocus  streamType: 3  durationHint: 1
V/AudioManager(10229): registerAudioFocusListener...
V/AudioManager(10229): unregisterAudioFocusListener...
I/AudioManager(10229): abandonAudioFocus
W/libEGL  (10229): EGLNativeWindowType 0x720487c010 disconnect failed
D/mali_winsys(10229): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
D/OpenGLRenderer(10229):   HWUI Binary is  enabled
D/HwCust  (10229): Create obj success use class android.app.HwCustHwWallpaperManagerImpl
D/HwRTBlurUtils(10229): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3<strong i="16">@fab94ef</strong>, Nhwext : 0, get Blur : disable with , null
D/HwRTBlurUtils(10229): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3<strong i="17">@fab94ef</strong>, Nhwext : 0, get Blur : disable with , null
D/OpenGLRenderer(10229):   HWUI Binary is  enabled
I/PressGestureDetector(10229): HiTouch restricted: AboardArea.
I/zygote64(10229): Do partial code cache collection, code=1006KB, data=604KB
I/zygote64(10229): After code cache collection, code=1006KB, data=604KB
I/zygote64(10229): Increasing code cache capacity to 3MB
D/mali_winsys(10229): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
D/OpenGLRenderer(10229):   HWUI Binary is  enabled
V/AudioManager(10229): getProperty  key: android.media.property.OUTPUT_SAMPLE_RATE
V/AudioManager(10229): getProperty  key: android.media.property.OUTPUT_SAMPLE_RATE
E/BufferQueueProducer(10229): [] Can not get hwsched service
I/cr_MediaCodecBridge(10229): create MediaCodec video decoder, mime video/avc
I/OMXClient(10229): Treble IOmx obtained
I/ACodec  (10229): In onAllocateComponent create compenent, codec name: OMX.IMG.MSVDX.Decoder.AVC
I/MediaCodec(10229): MediaCodec will operate in async mode
D/SurfaceUtils(10229): connecting to surface 0x72048ef010, reason connectToSurface
I/MediaCodec(10229): [OMX.IMG.MSVDX.Decoder.AVC] setting surface generation to 10474507
D/SurfaceUtils(10229): disconnecting from surface 0x72048ef010, reason connectToSurface(reconnect)
D/SurfaceUtils(10229): connecting to surface 0x72048ef010, reason connectToSurface(reconnect)
W/HwExtendedUtils(10229): hw configLocalPlayBack err = -1010
E/ACodec  (10229): [OMX.IMG.MSVDX.Decoder.AVC] setPortMode on output to DynamicANWBuffer failed w/ err -1010
W/ACodec  (10229): [OMX.IMG.MSVDX.Decoder.AVC] prepareForAdaptivePlayback failed w/ err -1010
I/HwExtendedCodec(10229): mime is [video/avc] at setVideoFormat
I/ACodec  (10229): onStart
I/HwExtendedUtils(10229): error setConfig queuesToNativeWindow (err -1010)
D/SurfaceUtils(10229): disconnecting from surface 0x72048ef010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(10229): connecting to surface 0x72048ef010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(10229): set up nativeWindow 0x72048ef010 for 960x720, color 0x300, rotation 0, usage 0x20002900
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
I/HwExtendedUtils(10229): error setConfig queuesToNativeWindow (err -1010)
D/SurfaceUtils(10229): disconnecting from surface 0x72048ef010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(10229): connecting to surface 0x72048ef010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(10229): set up nativeWindow 0x72048ef010 for 960x720, color 0x300, rotation 0, usage 0x20002900
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000
W/GrallocMapperPassthrough(10229): buffer descriptor with invalid usage bits 0x2000




@AshutoshPatoleใ“ใ‚Œใ‚‰ใฎapkใงใƒ†ใ‚นใƒˆใ—ใฆใ„ใŸใ ใ‘ใพใ›ใ‚“ใ‹๏ผŸ

@sarbagyasthaใ†ใ‚“ใ€ใใ‚ŒใฏๅฎŒๅ…จใซๆฉŸ่ƒฝใ—ใพใ™ใŒใ€ๅŒใ˜ใ‚ณใƒผใƒ‰ใ‚’ใ‚ณใƒ”ใƒผใ—ใฆใƒ‡ใƒใƒƒใ‚ฐใƒขใƒผใƒ‰ใงๅฎŸ่กŒใ—ใ‚ˆใ†ใจใ—ใŸใจใใซใ€ใชใœใ“ใ‚ŒใŒๆฉŸ่ƒฝใ—ใชใ‹ใฃใŸใฎใงใ™ใ‹๏ผŸ
YouTubeใƒ—ใƒฌใƒผใƒคใƒผใ ใ‘ใ‚’ๅซใ‚€ๆ–ฐใ—ใ„ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใงใ‚‚

ใƒ†ใ‚นใƒˆใงใใ‚‹ใ‚ˆใ†ใซใ€ๅ†็พๅฏ่ƒฝใชไพ‹ใ‚’ๆไพ›ใ—ใฆใใ ใ•ใ„ใ€‚ ใƒญใ‚ฐใซ็–‘ใ‚ใ—ใ„ใ‚‚ใฎใฏไฝ•ใ‚‚่ฆ‹ใคใ‹ใ‚Šใพใ›ใ‚“ใงใ—ใŸใ€‚

@AshutoshPatoleใ‚ณใƒณใƒ‘ใ‚คใƒซใ—ใฆใ„ใ‚‹ใƒ•ใƒฉใƒƒใ‚ฟใƒผใƒใƒผใ‚ธใƒงใƒณใฏไฝ•ใงใ™ใ‹๏ผŸ

@ vipinnegi90 flutter1.17.2
ใƒ€ใƒผใƒ„2.8.3

@AshutoshPatoleใ“ใ‚Œใฏv1.17.1ใฎใ‚ฟใ‚คใƒ—ใƒŸใ‚นใ ใจๆ€ใ„ใพใ™ใ€‚ v1.17.2ใซใ‚ขใƒƒใƒ—ใ‚ฐใƒฌใƒผใƒ‰ใ—ใฆ่ฉฆใ—ใฆใใ ใ•ใ„ใ€‚

@sarbagyastha

ๆ›ดๆ–ฐใ•ใ‚ŒใŸใƒญใ‚ฐ๏ผš
ใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใƒœใ‚ฟใƒณใ‚’ๆŠผใ—ใŸๅพŒใซใ‚จใƒฉใƒผใŒ็™บ็”Ÿใ—ใพใ™

V/AudioManager(21942): playSoundEffect   effectType: 0
V/AudioManager(21942): playSoundEffect   effectType: 0
E/BufferQueueProducer(21942): [] Can not get hwsched service
D/HwCust  (21942): Create obj success use class android.app.HwCustHwWallpaperManagerImpl
D/HwRTBlurUtils(21942): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3<strong i="9">@ebf21c8</strong>, Nhwext : 0, get Blur : disable with , null
D/HwRTBlurUtils(21942): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3<strong i="10">@ebf21c8</strong>, Nhwext : 0, get Blur : disable with , null
D/OpenGLRenderer(21942):   HWUI Binary is  enabled
D/OpenGLRenderer(21942):   HWUI Binary is  enabled
I/PressGestureDetector(21942): HiTouch restricted: AboardArea.
D/mali_winsys(21942): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
I/zygote64(21942): Do full code cache collection, code=495KB, data=379KB
I/zygote64(21942): After code cache collection, code=473KB, data=297KB
W/InputMethodManager(21942): startInputReason = 3
V/AudioManager(21942): getProperty  key: android.media.property.OUTPUT_SAMPLE_RATE
V/AudioManager(21942): getProperty  key: android.media.property.OUTPUT_SAMPLE_RATE
D/        (21942): PlayerBase::PlayerBase()
D/        (21942): TrackPlayerBase::TrackPlayerBase()
I/libOpenSLES(21942): Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
D/AudioTrack(21942): OFFLOAD 0,mNotificationFrames 0,mStreamType =3,mOriginalSampleRate 48000,mAfSampleRate 44100,mTransfer 1
D/AudioTrack(21942): Client defaulted notificationFrames to 8811 for frameCount 26433
E/chromium(21942): [ERROR:web_contents_delegate.cc(218)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
E/chromium(21942): [ERROR:web_contents_delegate.cc(218)] WebContentsDelegate::CheckMediaAccessPermission: Not supported.
I/CameraManagerGlobal(21942): do not need hide aux camera, device number: 2
W/cr_media(21942): Requires MODIFY_AUDIO_SETTINGS and RECORD_AUDIO. No audio device will be available for recording
I/CameraManagerGlobal(21942): do not need hide aux camera, device number: 2
I/chatty  (21942): uid=10314(u0_a314) ThreadPoolSingl identical 7 lines
I/CameraManagerGlobal(21942): do not need hide aux camera, device number: 2
I/CameraManagerGlobal(21942): do not need hide aux camera, device number: 2
I/CameraManagerGlobal(21942): do not need hide aux camera, device number: 2
V/AudioManager(21942): playSoundEffect   effectType: 0
I/PressGestureDetector(21942): ORIENTATION_LANDSCAPE
W/libEGL  (21942): EGLNativeWindowType 0x7a3b7f2010 disconnect failed
D/mali_winsys(21942): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
W/libEGL  (21942): EGLNativeWindowType 0x7a3b7f2010 disconnect failed
D/mali_winsys(21942): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
W/libEGL  (21942): EGLNativeWindowType 0x7a3b7f3010 disconnect failed
D/mali_winsys(21942): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
W/PlatformViewsController(21942): Creating a virtual display of size: [2160, 1080] may result in problems(https://github.com/flutter/flutter/issues/2897).It is larger than the device screen size: [1080, 2040].
D/HwCust  (21942): Create obj success use class android.app.HwCustHwWallpaperManagerImpl
D/HwRTBlurUtils(21942): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3<strong i="11">@97af80e</strong>, Nhwext : 0, get Blur : disable with , null
D/HwRTBlurUtils(21942): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3<strong i="12">@97af80e</strong>, Nhwext : 0, get Blur : disable with , null
D/OpenGLRenderer(21942):   HWUI Binary is  enabled
I/PressGestureDetector(21942): HiTouch restricted: AboardArea.
D/AudioTrack(21942): stop() called with 810524 frames delivered
D/        (21942): PlayerBase::stop() from IPlayer
D/mali_winsys(21942): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000

โ•โ•โ•โ•โ•โ•โ•โ• Exception caught by widgets library โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
The following assertion was thrown while finalizing the widget tree:
Multiple widgets used the same GlobalKey.

The key [GlobalKey#19eaf] was used by multiple widgets. The parents of those widgets were:
- MediaQuery(MediaQueryData(size: Size(720.0, 360.0), devicePixelRatio: 3.0, textScaleFactor: 1.0, platformBrightness: Brightness.light, padding: EdgeInsets.zero, viewPadding: EdgeInsets.zero, viewInsets: EdgeInsets.zero, physicalDepth: 1.7976931348623157e+308, alwaysUse24HourFormat: false, accessibleNavigation: false, highContrast: false, disableAnimations: false, invertColors: false, boldText: false))
- LayoutBuilder(renderObject: _RenderLayoutBuilder#f8249)
A GlobalKey can only be specified on one widget at a time in the widget tree.
When the exception was thrown, this was the stack: 
#0      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:246:13)
#1      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
#2      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:193:19)
#3      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
#4      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure> (package:flutter/src/widgets/framework.dart:189:26)
...
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
W/libEGL  (21942): EGLNativeWindowType 0x7a3b7f3010 disconnect failed
D/mali_winsys(21942): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
D/OpenGLRenderer(21942):   HWUI Binary is  enabled
V/AudioManager(21942): getProperty  key: android.media.property.OUTPUT_SAMPLE_RATE
V/AudioManager(21942): getProperty  key: android.media.property.OUTPUT_SAMPLE_RATE

โ•โ•โ•โ•โ•โ•โ•โ• Exception caught by widgets library โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
The following assertion was thrown while finalizing the widget tree:
Multiple widgets used the same GlobalKey.

The key [GlobalKey#19eaf] was used by multiple widgets. The parents of those widgets were:
- MediaQuery(MediaQueryData(size: Size(720.0, 360.0), devicePixelRatio: 3.0, textScaleFactor: 1.0, platformBrightness: Brightness.light, padding: EdgeInsets.zero, viewPadding: EdgeInsets.zero, viewInsets: EdgeInsets.zero, physicalDepth: 1.7976931348623157e+308, alwaysUse24HourFormat: false, accessibleNavigation: false, highContrast: false, disableAnimations: false, invertColors: false, boldText: false))
- MediaQuery(MediaQueryData(size: Size(360.0, 720.0), devicePixelRatio: 3.0, textScaleFactor: 1.0, platformBrightness: Brightness.light, padding: EdgeInsets.zero, viewPadding: EdgeInsets.zero, viewInsets: EdgeInsets.zero, physicalDepth: 1.7976931348623157e+308, alwaysUse24HourFormat: false, accessibleNavigation: false, highContrast: false, disableAnimations: false, invertColors: false, boldText: false))
A GlobalKey can only be specified on one widget at a time in the widget tree.
When the exception was thrown, this was the stack: 
#0      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:246:13)
#1      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
#2      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:193:19)
#3      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
#4      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure> (package:flutter/src/widgets/framework.dart:189:26)
...
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
D/HwCust  (21942): Create obj success use class android.app.HwCustHwWallpaperManagerImpl
D/HwRTBlurUtils(21942): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3<strong i="13">@e465ad4</strong>, Nhwext : 0, get Blur : disable with , null
D/HwRTBlurUtils(21942): check blur style for HwPhoneWindow, themeResId : 0x0103023e, context : android.app.Presentation$3<strong i="14">@e465ad4</strong>, Nhwext : 0, get Blur : disable with , null
D/OpenGLRenderer(21942):   HWUI Binary is  enabled
I/PressGestureDetector(21942): HiTouch restricted: AboardArea.
D/AudioTrack(21942): stop() called with 26433 frames delivered
D/        (21942): PlayerBase::stop() from IPlayer
D/mali_winsys(21942): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
D/OpenGLRenderer(21942):   HWUI Binary is  enabled
V/AudioManager(21942): getProperty  key: android.media.property.OUTPUT_SAMPLE_RATE
V/AudioManager(21942): getProperty  key: android.media.property.OUTPUT_SAMPLE_RATE

โ•โ•โ•โ•โ•โ•โ•โ• Exception caught by widgets library โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
The following assertion was thrown while finalizing the widget tree:
Multiple widgets used the same GlobalKey.

The key [GlobalKey#19eaf] was used by multiple widgets. The parents of those widgets were:
- MediaQuery(MediaQueryData(size: Size(720.0, 360.0), devicePixelRatio: 3.0, textScaleFactor: 1.0, platformBrightness: Brightness.light, padding: EdgeInsets.zero, viewPadding: EdgeInsets.zero, viewInsets: EdgeInsets.zero, physicalDepth: 1.7976931348623157e+308, alwaysUse24HourFormat: false, accessibleNavigation: false, highContrast: false, disableAnimations: false, invertColors: false, boldText: false))
- MediaQuery(MediaQueryData(size: Size(360.0, 680.0), devicePixelRatio: 3.0, textScaleFactor: 1.0, platformBrightness: Brightness.light, padding: EdgeInsets.zero, viewPadding: EdgeInsets.zero, viewInsets: EdgeInsets.zero, physicalDepth: 1.7976931348623157e+308, alwaysUse24HourFormat: false, accessibleNavigation: false, highContrast: false, disableAnimations: false, invertColors: false, boldText: false))
A GlobalKey can only be specified on one widget at a time in the widget tree.
When the exception was thrown, this was the stack: 
#0      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:246:13)
#1      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
#2      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:193:19)
#3      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
#4      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure> (package:flutter/src/widgets/framework.dart:189:26)
...
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

โ•โ•โ•โ•โ•โ•โ•โ• Exception caught by widgets library โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
Multiple widgets used the same GlobalKey.
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

โ•โ•โ•โ•โ•โ•โ•โ• Exception caught by widgets library โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
The following assertion was thrown while finalizing the widget tree:
Multiple widgets used the same GlobalKey.

The key [GlobalKey#19eaf] was used by multiple widgets. The parents of those widgets were:
- MediaQuery(MediaQueryData(size: Size(720.0, 360.0), devicePixelRatio: 3.0, textScaleFactor: 1.0, platformBrightness: Brightness.light, padding: EdgeInsets.zero, viewPadding: EdgeInsets.zero, viewInsets: EdgeInsets.zero, physicalDepth: 1.7976931348623157e+308, alwaysUse24HourFormat: false, accessibleNavigation: false, highContrast: false, disableAnimations: false, invertColors: false, boldText: false))
- MediaQuery(MediaQueryData(size: Size(360.0, 680.0), devicePixelRatio: 3.0, textScaleFactor: 1.0, platformBrightness: Brightness.light, padding: EdgeInsets.zero, viewPadding: EdgeInsets.zero, viewInsets: EdgeInsets.zero, physicalDepth: 1.7976931348623157e+308, alwaysUse24HourFormat: false, accessibleNavigation: false, highContrast: false, disableAnimations: false, invertColors: false, boldText: false))
A GlobalKey can only be specified on one widget at a time in the widget tree.
When the exception was thrown, this was the stack: 
#0      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:246:13)
#1      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
#2      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:193:19)
#3      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
#4      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure> (package:flutter/src/widgets/framework.dart:189:26)
...
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

โ•โ•โ•โ•โ•โ•โ•โ• Exception caught by widgets library โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
Multiple widgets used the same GlobalKey.
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

โ•โ•โ•โ•โ•โ•โ•โ• Exception caught by widgets library โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
The following assertion was thrown while finalizing the widget tree:
Multiple widgets used the same GlobalKey.

The key [GlobalKey#19eaf] was used by multiple widgets. The parents of those widgets were:
- MediaQuery(MediaQueryData(size: Size(720.0, 360.0), devicePixelRatio: 3.0, textScaleFactor: 1.0, platformBrightness: Brightness.light, padding: EdgeInsets.zero, viewPadding: EdgeInsets.zero, viewInsets: EdgeInsets.zero, physicalDepth: 1.7976931348623157e+308, alwaysUse24HourFormat: false, accessibleNavigation: false, highContrast: false, disableAnimations: false, invertColors: false, boldText: false))
- MediaQuery(MediaQueryData(size: Size(360.0, 680.0), devicePixelRatio: 3.0, textScaleFactor: 1.0, platformBrightness: Brightness.light, padding: EdgeInsets.zero, viewPadding: EdgeInsets.zero, viewInsets: EdgeInsets.zero, physicalDepth: 1.7976931348623157e+308, alwaysUse24HourFormat: false, accessibleNavigation: false, highContrast: false, disableAnimations: false, invertColors: false, boldText: false))
A GlobalKey can only be specified on one widget at a time in the widget tree.
When the exception was thrown, this was the stack: 
#0      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:246:13)
#1      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
#2      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:193:19)
#3      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
#4      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure> (package:flutter/src/widgets/framework.dart:189:26)
...
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

โ•โ•โ•โ•โ•โ•โ•โ• Exception caught by widgets library โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
The following assertion was thrown while finalizing the widget tree:
Multiple widgets used the same GlobalKey.

The key [GlobalKey#19eaf] was used by multiple widgets. The parents of those widgets were:
- MediaQuery(MediaQueryData(size: Size(720.0, 360.0), devicePixelRatio: 3.0, textScaleFactor: 1.0, platformBrightness: Brightness.light, padding: EdgeInsets.zero, viewPadding: EdgeInsets.zero, viewInsets: EdgeInsets.zero, physicalDepth: 1.7976931348623157e+308, alwaysUse24HourFormat: false, accessibleNavigation: false, highContrast: false, disableAnimations: false, invertColors: false, boldText: false))
- MediaQuery(MediaQueryData(size: Size(360.0, 680.0), devicePixelRatio: 3.0, textScaleFactor: 1.0, platformBrightness: Brightness.light, padding: EdgeInsets.zero, viewPadding: EdgeInsets.zero, viewInsets: EdgeInsets.zero, physicalDepth: 1.7976931348623157e+308, alwaysUse24HourFormat: false, accessibleNavigation: false, highContrast: false, disableAnimations: false, invertColors: false, boldText: false))
A GlobalKey can only be specified on one widget at a time in the widget tree.
When the exception was thrown, this was the stack: 
#0      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:246:13)
#1      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
#2      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/framework.dart:193:19)
#3      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:379:8)
#4      GlobalKey._debugVerifyGlobalKeyReservation.<anonymous closure> (package:flutter/src/widgets/framework.dart:189:26)
...
โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
D/AudioTrack(21942): stop() called with 511038 frames delivered
D/        (21942): PlayerBase::stop() from IPlayer

@ vipinnegi90ใ‚’1.17.2ใŠใ‚ˆใณdart2.8.3ใซใ‚ขใƒƒใƒ—ใ‚ฐใƒฌใƒผใƒ‰ใ—ใŸๅพŒใงใ‚‚ใ€ๅ•้กŒใฏ่งฃๆฑบใ—ใพใ›ใ‚“ใ€‚

ใ‚ฐใƒญใƒผใƒใƒซใ‚ญใƒผใฏๅˆฅใฎใƒ•ใ‚กใ‚คใƒซใซใ‚ใ‚Šใพใ™
ใ‚ณใƒผใƒ‰๏ผš

import 'package:flutter/material.dart';
import 'package:youtube_player_flutter/youtube_player_flutter.dart';

class VideoScreen extends StatefulWidget {
  <strong i="9">@override</strong>
  _VideoScreenState createState() => _VideoScreenState();
}

class _VideoScreenState extends State<VideoScreen> {
  YoutubePlayerController _controller;

  <strong i="10">@override</strong>
  void initState() {
    _controller = YoutubePlayerController(
      initialVideoId: 'iLnmTe5Q2Qw',
      flags: YoutubePlayerFlags(
        autoPlay: true,
        mute: true,
      ),
    );
    super.initState();
  }

  <strong i="11">@override</strong>
  Widget build(BuildContext context) {
    return YoutubePlayerBuilder(
      player: YoutubePlayer(
        controller: _controller,
        showVideoProgressIndicator: true,
        onReady: () {
          _controller.addListener(() {});
        },
      ),
      builder: (context, player) {
        return Scaffold(
          body: SafeArea(
            child: player,
          ),
        );
      },
    );
  }
}

@AshutoshPatoleใฏใ‚ใชใŸใฎใŸใ‚ใซๅ•้กŒใ‚’ไฟฎๆญฃใ—ใพใ—ใŸใ‹๏ผŸ

ใชใœใ“ใฎๅ•้กŒใฏ่งฃๆฑบใ•ใ‚ŒใŸใฎใงใ™ใ‹๏ผŸ ็งใฏใพใ ใ“ใฎๅ•้กŒใ‚’ๆŠฑใˆใฆใ„ใพใ™https://github.com/sarbagyastha/youtube_player_flutter/issues/241#issuecomment-637450169 _YoutubePlayerBuilderState.didChangeMetricsใŒๅ‘ผใณๅ‡บใ•ใ‚ŒใŸใจใใซใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆใซ$ noSuchMethod $ใŒใ‚ใ‚‹ใ‚ˆใ†ใงใ™ใ€‚

@ vipinnegi90ใ†ใ‚“ๅ•้กŒใฏไฟฎๆญฃใ•ใ‚Œใพใ—ใŸใ€‚

youtube_playerใงใ‚นใ‚ฟใƒƒใ‚ฏใ‚’ไฝฟ็”จใ—ใฆใ„ใ‚‹็งใซใจใฃใฆ@rafaelmaeuerใŒใ“ใฎๅ•้กŒใ‚’ๅผ•ใ่ตทใ“ใ—ใพใ—ใŸใ€‚

@AshutoshPatoleใฏใ‚นใ‚ฟใƒƒใ‚ฏใฎๅ•้กŒใ‚’ไฟฎๆญฃใ—ใพใ—ใŸใ‹๏ผŸ ใใ‚Œใจใ‚‚ใ€ใ“ใฎใƒ—ใƒฉใ‚ฐใ‚คใƒณใ‚’ไฝฟ็”จใ™ใ‚‹้š›ใฎๅˆถ้™ใงใ™ใ‹๏ผŸ

YoutubePlayerBuilderใฎใ‚ตใƒณใƒ—ใƒซใŒใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใซใชใ‚‰ใชใ„ๅ ดๅˆใงใ‚‚ใ€ใ“ใฎๅ•้กŒใ‚’่งฃๆฑบใ—ใชใ„ใงใใ ใ•ใ„ใ€‚ ใƒ—ใƒฌใƒผใƒคใƒผใ‚’้ป’ใ็‚นๆป…ใ•ใ›ใ€ๅŒใ˜ใ‚ตใ‚คใ‚บใ‚’็ถญๆŒใ—ใพใ™

ใ‚นใ‚ฟใƒƒใ‚ฏใงใƒ—ใƒฌใƒผใƒคใƒผใ‚’ไฝฟ็”จใ—ใฆใ„ใพใ›ใ‚“ใŒใ€ๅ•้กŒใฏ่งฃๆฑบใ—ใพใ›ใ‚“

@ emmett-deenใใ‚Œใฏ็งใซใจใฃใฆใ‚‚ๆญฃ็ขบใชๅ•้กŒใงใ—ใŸใ€‚ ใŸใ ใ—ใ€ใ‚ตใƒณใƒ—ใƒซใ‚ณใƒผใƒ‰ใฏใ€ๆ–ฐใ—ใ„ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใซๅฎŸ่ฃ…ใ™ใ‚‹ใจๅ•้กŒใชใๆฉŸ่ƒฝใ—ใพใ—ใŸ๏ผˆใ‚ตใƒณใƒ—ใƒซใ‚ณใƒผใƒ‰ใฎใฟ๏ผ‰ใ€‚ ใใ“ใงใ€ main.dartใฎใ‚ขใƒ—ใƒชใฎใ‚จใƒณใƒˆใƒชใƒใ‚คใƒณใƒˆใ‚’ใƒ—ใƒฌใƒผใƒคใƒผ็”ป้ขใซๅค‰ๆ›ดใ—ใพใ—ใŸใŒใ€ๅ•้กŒใชใๅ‹•ไฝœใ—ใพใ—ใŸใ€‚ ๆฌกใซใ€ใƒ—ใƒฌใƒผใƒคใƒผ็”ป้ขใซ็งปๅ‹•ใ—ใฆใ‚นใ‚ฟใƒƒใ‚ฏใ‚ฆใ‚ฃใ‚ธใ‚งใƒƒใƒˆใงๅ•้กŒใŒ็™บ็”Ÿใ—ใŸใ‚ขใ‚ฏใƒ†ใ‚ฃใƒ“ใƒ†ใ‚ฃใซ็„ฆ็‚นใ‚’ๅฝ“ใฆใพใ—ใŸใ€‚ ใ‚นใ‚ฟใƒƒใ‚ฏใ‚ฆใ‚ฃใ‚ธใ‚งใƒƒใƒˆใฏใƒ—ใƒฌใƒผใƒคใƒผ็”ป้ขใจใฏไฝ•ใฎ้–ขไฟ‚ใ‚‚ใ‚ใ‚Šใพใ›ใ‚“ใงใ—ใŸใŒใ€ใชใœใƒ—ใƒฌใƒผใƒคใƒผใŒใƒ•ใƒซใ‚ตใ‚คใ‚บใซใชใ‚‹ใฎใ‚’ๅฆจใ’ใฆใ„ใ‚‹ใฎใ‹ใ‚ใ‹ใ‚Šใพใ›ใ‚“ใงใ—ใŸใ€‚

็ทจ้›†๏ผš็งใฏใใ‚ŒใŒไปŠๆœŸๅพ…้€šใ‚Šใซๅƒใ„ใฆใ„ใ‚‹ใจใ‚ใชใŸใซ่จ€ใ†ใฎใ‚’ๅฟ˜ใ‚Œใพใ—ใŸ

@AshutoshPatole ใ€็งใ‚‚ๅŒใ˜ๅ•้กŒใซ็›ด้ขใ—ใฆใ„ใพใ™ใ€‚ ไฟฎๆญฃๆ–นๆณ•ใŒใ‚ใ‹ใ‚‰ใชใ„ใ€‚ ใ‚ตใƒณใƒ—ใƒซใ‚ณใƒผใƒ‰ใ‚’ไฝ•ๅบฆใ‚‚่ฟฝๅŠ ใ—ใฆใฟใพใ—ใŸใ€‚

ใ“ใฎๅทใ‚’ๅ†้–‹ใ—ใพใ™ใ€‚ ๅคšใใฎไบบใŒๅŒใ˜ๅ•้กŒใซ็›ด้ขใ—ใฆใ„ใ‚‹ใฎใง

ๅ•้กŒใฏใƒ‡ใƒใ‚คใ‚นใฎใ‚ขใ‚นใƒšใ‚ฏใƒˆๆฏ”ใซใ‚ใ‚‹ใจๆ€ใ„ใพใ™ใ€‚ ใ‚ขใ‚นใƒšใ‚ฏใƒˆๆฏ”ใŒ16๏ผš9ใ‚ˆใ‚Š้•ทใ„ๅ ดๅˆใซใฎใฟๆŒ็ถšใ—ใพใ™ใ€‚

ใŸใจใˆใฐใ€Redmi 3S๏ผˆ16๏ผš9ใฎๆฏ”็Ž‡๏ผ‰ใ‚’ไฝฟ็”จใ—ใฆใ‚‚ๅ•้กŒใฏใ‚ใ‚Šใพใ›ใ‚“ใ€‚ ใ—ใ‹ใ—ใ€Galaxy A50๏ผˆ19.5๏ผš9ใฎๆฏ”็Ž‡๏ผ‰ใ‚’ไฝฟ็”จใ™ใ‚‹ใจใ€ใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใƒขใƒผใƒ‰ใŒ้–‰ใ˜ใพใ™ใ€‚

ใใ—ใฆใ€GalaxyS8ใ‚’ไฝฟ็”จใ—ใฆใ‚‚ๅ•้กŒใฏใ‚ใ‚Šใพใ›ใ‚“ใ€‚ ใ—ใ‹ใ—ใ€PIXEL 3ใ‚’ไฝฟ็”จใ™ใ‚‹ใจใ€ใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใƒขใƒผใƒ‰ใŒ้–‰ใ˜ใพใ™ใ€‚ ๏ผš/

ใ‚ใŸใ—ใ‚‚; ใƒใƒผใƒˆใƒฌใƒผใƒˆใƒ—ใƒฌใƒผใƒคใƒผใฏไธ€็žฌ้ป’ใ็‚นๆป…ใ—ใŸๅพŒใ€ๅŒใ˜ใ‚ตใ‚คใ‚บใฎใพใพใงใ€ไฝ•ใ‚‚่ตทใ“ใ‚Šใพใ›ใ‚“ใ€‚

ใ“ใ“ใงใ‚‚ๅŒใ˜ๅ•้กŒใŒใ‚ใ‚Šใพใ™ใ€‚ ใƒ—ใƒฌใƒผใƒคใƒผใŒไป–ใฎใ‚ฆใ‚ฃใ‚ธใ‚งใƒƒใƒˆใฎใชใ„ใƒšใƒผใ‚ธใซใ„ใ‚‹ๅ ดๅˆใซใฎใฟๆฉŸ่ƒฝใ—ใพใ™ใ€‚

็งใ‚‚ๅŒใ˜ๅ•้กŒใซ็›ด้ขใ—ใฆใ„ใพใ™ใ€‚

onEnterFullScreen: () { SystemChrome.setPreferredOrientations([DeviceOrientation.landscapeLeft]); _controller.play(); },
YoutubePlayerBuilderใงไธŠ่จ˜ใฎใ‚ณใƒผใƒ‰ใ‚’ไฝฟ็”จใ—ใฆใ„ใ‚‹้–“ใ€ใใ‚Œใฏ็งใซใจใฃใฆๅฎŒๅ…จใซๆฉŸ่ƒฝใ—ใฆใ„ใพใ™ใ€‚

ๅŒใ˜ๅ•้กŒใงใ€ใƒ—ใƒฌใƒผใƒคใƒผใฏๅ…จ็”ป้ข่กจ็คบใซใ—ใ‚ˆใ†ใจใ—ใพใ™ใŒใ€ใƒ—ใƒฌใƒผใƒคใƒผใฏๅฎŸ้š›ใฎ็”ป้ขใ‚ˆใ‚Šใ‚‚ๅคงใใใชใ‚Šใพใ™ใ€‚

PlatformViewsController๏ผˆ16046๏ผ‰๏ผšใ‚ตใ‚คใ‚บ๏ผš[2201ใ€1080]ใฎไปฎๆƒณใƒ‡ใ‚ฃใ‚นใƒ—ใƒฌใ‚คใ‚’ไฝœๆˆใ™ใ‚‹ใจใ€ๅ•้กŒใŒ็™บ็”Ÿใ™ใ‚‹ๅฏ่ƒฝๆ€งใŒใ‚ใ‚Šใพใ™๏ผˆhttps://github.com/flutter/flutter/issues/2897๏ผ‰ใ€‚ใƒ‡ใƒใ‚คใ‚นใฎ็”ป้ขใ‚ตใ‚คใ‚บ๏ผš[2075 ใ€1080]ใ€‚

็ทจ้›†๏ผš
SafeAreaใ‚’ๅ‰Š้™คใ™ใ‚‹ใจใ€ๅ•้กŒใŒไฟฎๆญฃใ•ใ‚Œใพใ—ใŸใ€‚
็ทจ้›†2๏ผš
SafeAreaใ‚’ๅ‰Š้™คใ—ใฆใ‚‚ๅ•้กŒใฏไฟฎๆญฃใ•ใ‚Œใพใ›ใ‚“ใงใ—ใŸ:(

v7ใธใฎใ‚ขใƒƒใƒ—ใƒ‡ใƒผใƒˆๅพŒใ€ใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใฏๆฉŸ่ƒฝใ—ใชใใชใ‚Šใพใ™ใ€‚ ใ‚ณใƒณใƒใƒผใƒใƒณใƒˆใ‚’YoutubePlayerBuilderใงใƒฉใƒƒใƒ—ใ—ใพใ—ใŸใŒใ€ๅฝนใซ็ซ‹ใกใพใ›ใ‚“ใ€‚ ใ“ใ‚Œใฏใ‚จใƒฉใƒผใƒญใ‚ฐใ‹ใ‚‰ใฎใ‚‚ใฎใงใ™๏ผš

Tried calling: value
#0      Object.noSuchMethod  (dart:core-patch/object_patch.dart:53:5)
#1      _YoutubePlayerBuilderState.didChangeMetrics 
package:youtube_player_flutter/โ€ฆ/widgets/youtube_player_builder.dart:58
#2      WidgetsBinding.handleMetricsChanged 
package:flutter/โ€ฆ/widgets/binding.dart:538
#3      _rootRun  (dart:async/zone.dart:1184:13)
#4      _CustomZone.run  (dart:async/zone.dart:1077:19)
#5      _CustomZone.runGuarded  (dart:async/zone.dart:979:7)
#6      _invoke  (dart:ui/hooks.dart:261:10)
#7      _updateWindowMetrics  (dart:ui/hooks.dart:64:3)

ใชใœใ“ใฎๅ•้กŒใฏ่งฃๆฑบใ•ใ‚ŒใŸใฎใงใ™ใ‹๏ผŸ ็งใฏใพใ ใ“ใฎๅ•้กŒใ‚’ๆŠฑใˆใฆใ„ใพใ™๏ผƒ241๏ผˆใ‚ณใƒกใƒณใƒˆ๏ผ‰ _YoutubePlayerBuilderState.didChangeMetricsใŒๅ‘ผใณๅ‡บใ•ใ‚ŒใŸใจใใซใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆใซ$๏ผƒ noSuchMethod 1 $๏ผƒ$ใŒใ‚ใ‚‹ใ‚ˆใ†ใงใ™ใ€‚

MEใ‹ใ‚‰

ไปŠๆ—ฅใ€็งใฏใ“ใฎใƒฉใ‚คใƒ–ใƒฉใƒชใ‚’youtube_plyr_iframeใซ็ฝฎใๆ›ใˆใพใ—ใŸใ€‚ youtube_player_iframeใฎใƒ•ใ‚ฉใƒผใ‚ฏใงใ‚ใ‚Šใ€ๆœ€ๆ–ฐใฎ็Šถๆ…‹ใซไฟใŸใ‚Œใ€ใ„ใใคใ‹ใฎไธป่ฆใชๅ•้กŒใŒไฟฎๆญฃใ•ใ‚Œใฆใ„ใพใ™ใ€‚ ไบคๆ›ใฏ้žๅธธใซ็ฐกๅ˜ใงใ€ใ‚ฆใ‚ฃใ‚ธใ‚งใƒƒใƒˆใ‚นใ‚ฟใƒƒใ‚ฏใ‹ใ‚‰ใฎใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใ‚’ๅซใ‚ใฆๆฉŸ่ƒฝใ—ใพใ™ใ€‚

youtube_player_flutter 8 0 0

youtube_player_flutter8.0.0ใƒใƒผใ‚ธใƒงใƒณใฎๅŒใ˜ใƒใ‚ฐ

@sarbagyastha็งใฏใ‚ใชใŸใŒ้–“้•ใ„ใชใใ“ใฎๅ•้กŒใ‚’่ชฟในใ‚‹ในใใ ใจๆ€ใ„ใพใ™ใ€‚ ใ“ใ‚ŒใซไผผใŸๅ•้กŒใŒใŸใใ•ใ‚“ใ‚ใ‚Šใพใ™ใ€‚
ใ“ใ‚ŒใŒใ™ใใซไฟฎๆญฃใ•ใ‚Œใ‚‹ใ“ใจใ‚’้ก˜ใฃใฆใ„ใพใ™ใ€‚

youtube_player_flutter 8 0 0

youtube_player_flutter8.0.0ใƒใƒผใ‚ธใƒงใƒณใฎๅŒใ˜ใƒใ‚ฐ

็งใฏใพใฃใŸใๅŒใ˜ๅ•้กŒใซ็›ด้ขใ—ใฆใ„ใพใ™ใ€‚ OSใƒŠใƒ“ใ‚ฒใƒผใ‚ทใƒงใƒณใƒใƒผใ‚’ไฝฟ็”จใ—ใฆใ„ใ‚‹ใจใใซๅ•้กŒใŒ็™บ็”Ÿใ—ใฆใ„ใพใ™ใ€‚ OSใƒŠใƒ“ใ‚ฒใƒผใ‚ทใƒงใƒณใ‚’ใ‚ธใ‚งใ‚นใƒใƒฃใƒผใซ่จญๅฎšใ™ใ‚‹ใจใ€ๅ•้กŒใชใๅ‹•ไฝœใ—ใพใ™ใ€‚

ใ™ในใฆใฎใ‚ขใƒƒใƒ—ใƒ‡ใƒผใƒˆ๏ผŸใ€‚
็งใฏๅŒใ˜ๅ•้กŒใซ็›ด้ขใ—ใฆใ„ใพใ™ใ€‚

SystemChrome.setPreferredOrientations(DeviceOrientation.values);ใ‚’ไฝฟ็”จใ—ใชใ„ใจใ€ใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใ‚ธใƒฃใƒณใƒ—ใŒใƒใƒผใƒˆใƒฌใƒผใƒˆใซไฟฎๆญฃใ•ใ‚Œใพใ™ใŒใ€ใƒ“ใƒ‡ใ‚ชใฏ็”ป้ขใ‚ตใ‚คใ‚บใ‚ˆใ‚Šใ‚‚ๅคงใใใชใ‚Šใพใ™๏ผˆใŸใจใˆใฐใ€ใƒ“ใƒ‡ใ‚ชใซๅญ—ๅน•ใŒใ‚ใ‚Šใ€ๅญ—ๅน•ใฎๅŠๅˆ†ใŒๅ‰Š้™คใ•ใ‚Œใฆใ„ใพใ™๏ผ‰

Screenshot_1637127104

SystemChrome.setPreferredOrientations(DeviceOrientation.values);ใ‚’ไฝฟ็”จใ—ใชใ„ใจใ€ใƒ•ใƒซใ‚นใ‚ฏใƒชใƒผใƒณใ‚ธใƒฃใƒณใƒ—ใŒใƒใƒผใƒˆใƒฌใƒผใƒˆใซไฟฎๆญฃใ•ใ‚Œใพใ™ใŒใ€ใƒ“ใƒ‡ใ‚ชใฏ็”ป้ขใ‚ตใ‚คใ‚บใ‚ˆใ‚Šใ‚‚ๅคงใใใชใ‚Šใพใ™๏ผˆใŸใจใˆใฐใ€ใƒ“ใƒ‡ใ‚ชใซๅญ—ๅน•ใŒใ‚ใ‚Šใ€ๅญ—ๅน•ใฎๅŠๅˆ†ใŒๅ‰Š้™คใ•ใ‚Œใฆใ„ใพใ™๏ผ‰

Screenshot_1637127104

ๅŒใ˜ๅ•้กŒใงใ™ใŒใ€ใฉใฎใ‚ขใ‚นใƒšใ‚ฏใƒˆๆฏ”ใ‚’ๆŒ‡ๅฎšใ—ใฆใ‚‚ใ€ใƒ“ใƒ‡ใ‚ชใฏๅธธใซ็”ป้ขๅ…จไฝ“ใซ่กจ็คบใ•ใ‚Œใพใ™ใ€‚ SizedBoxใงใƒฉใƒƒใƒ—ใ—ใฆใ‚‚ๅฝนใซ็ซ‹ใกใพใ›ใ‚“ใ€‚

ใ“ใฎใƒšใƒผใ‚ธใฏๅฝนใซ็ซ‹ใกใพใ—ใŸใ‹๏ผŸ
0 / 5 - 0 ่ฉ•ไพก