blackmann / story_view

Story view for apps with stories.
BSD 3-Clause "New" or "Revised" License
402 stars 327 forks source link

StoryView not playing video stories #171

Closed miikhaaeel closed 2 months ago

miikhaaeel commented 6 months ago

The package is not playing video stories. even youtube links, it doesn't play the video. It throws a platform error..

I/ExoPlayerImpl( 9097): Init dda3739 [ExoPlayerLib/2.18.7] [generic_x86_arm, sdk_gphone_x86, Google, 30] E/ExoPlayerImplInternal( 9097): Playback error E/ExoPlayerImplInternal( 9097): com.google.android.exoplayer2.ExoPlaybackException: Source error E/ExoPlayerImplInternal( 9097): at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:644) E/ExoPlayerImplInternal( 9097): at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:614) E/ExoPlayerImplInternal( 9097): at android.os.Handler.dispatchMessage(Handler.java:102) E/ExoPlayerImplInternal( 9097): at android.os.Looper.loop(Looper.java:223) E/ExoPlayerImplInternal( 9097): at android.os.HandlerThread.run(HandlerThread.java:67) E/ExoPlayerImplInternal( 9097): Caused by: com.google.android.exoplayer2.source.UnrecognizedInputFormatException: None of the available extractors (FlvExtractor, FlacExtractor, WavExtractor, FragmentedMp4Extractor, Mp4Extractor, AmrExtractor, PsExtractor, OggExtractor, TsExtractor, MatroskaExtractor, AdtsExtractor, Ac3Extractor, Ac4Extractor, Mp3Extractor, AviExtractor, JpegExtractor) could read the stream. E/ExoPlayerImplInternal( 9097): at com.google.android.exoplayer2.source.BundledExtractorsAdapter.init(BundledExtractorsAdapter.java:92) E/ExoPlayerImplInternal( 9097): at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1017) E/ExoPlayerImplInternal( 9097): at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412) E/ExoPlayerImplInternal( 9097): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) E/ExoPlayerImplInternal( 9097): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) E/ExoPlayerImplInternal( 9097): at java.lang.Thread.run(Thread.java:923) E/flutter ( 9097): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error, null, null)

geekpius commented 2 months ago

Sorry for this. This issue will be looked into

miikhaaeel commented 2 months ago

It works now. Thank you

On Wed, May 1, 2024, 8:27 AM Pius Fiifi Junior @.***> wrote:

Sorry for this. This issue will be looked into

— Reply to this email directly, view it on GitHub https://github.com/blackmann/story_view/issues/171#issuecomment-2088089767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKM5JPBP633XJ46KUKZR5XLZACKOZAVCNFSM6AAAAABCJCQXXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBYGA4DSNZWG4 . You are receiving this because you authored the thread.Message ID: @.***>

geekpius commented 2 months ago

I am closing this ticket