Skip to content

Fix for https://github.com/eduardoRoth/media-player/issues/72: Fix lo…#73

Open
flexgrip wants to merge 1 commit intoeduardoRoth:mainfrom
criticalvideo:main
Open

Fix for https://github.com/eduardoRoth/media-player/issues/72: Fix lo…#73
flexgrip wants to merge 1 commit intoeduardoRoth:mainfrom
criticalvideo:main

Conversation

@flexgrip
Copy link
Copy Markdown

Fixes #72 "Loading animation covers play button with mp3's on iOS"

  • Adds isAudioOnly method in MediaPlayerController.swift
  • Adds buffer checks for audio only playback scenarios and toggles loading in MediaPlayerControllerObservers.swift

@flexgrip
Copy link
Copy Markdown
Author

I probably should have asked if this was even relevant, since you mentioned you were close to being done with v5.0? Anyway, just wanted to chip in. Thanks!

Copy link
Copy Markdown
Owner

@eduardoRoth eduardoRoth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@flexgrip thank you for this PR!!! I appreciate all the help I can get on this plugin 😄
Just a minor change, could you extract this code to another function, like "setAudioOnlyObservers" or something like that? Just so we keep that function small and have this logic outside

@eduardoRoth
Copy link
Copy Markdown
Owner

@flexgrip BTW, sorry about the late reply, I've had a lot going and haven't had the time to work on this.

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

Successfully merging this pull request may close these issues.

Loading animation covers play button with mp3's on iOS

2 participants