beamapp / musicplayerviewcontroller Goto Github PK
View Code? Open in Web Editor NEWAn iPhone view controller to visualize and control music playback
License: Other
An iPhone view controller to visualize and control music playback
License: Other
I have found that I am unable to play audio in the example project using xCode 5. In all places. Any recommendations?
Whenever the user skips before the first or behind the last track, or if the player finishes the last track of a playlist the delegate should be informed to perform further actions like displaying an album picker.
Similiar to other interfaces, the player should skip to the beginning of the current track if the current playback position is > 3 seconds. Only if current playbck position is <= 3 seconds it should skip to the previous song.
When I try to launch the example project I get many errors (xcode stops counting at 20)
In BeamMusicPlayerViewController.h:
I can fix the errors by inserting a { after
@interface BeamMusicPlayerViewController : UIViewController
In OBSlider.h:
/MusicPlayerViewController-master/Pods/Headers/OBSlider/OBSlider.h:1:1: Expected identifier or '('
I cannot fix this error.
when changing the album art, a slide transition would improve the the UX. To avoid pixel-based comparisons or unneeded server-roundtrips, another delegate method should answer the question if the album art, is different between two tracks.
Hi All,
I am trying to make song app. I am getting songs via restful APIs. Can anyone tell me this music player work with htttp request and response?
Thanks.
simerpreet
Right now it isn't possible to change the audio route.
Using MPVolumeView
instead of a custom UISlider
in combination with the delegate methods would fix this.
Dear Developer, can you help me change the url to a stream url instead of preview url
These strings are hardcoded:
"Track %d of %d"
"Hi-Speed Scrubbing"
"Half-Speed Scrubbing"
"Quarter-Speed Scrubbing"
"Fine Scrubbing"
I don't know what's the best way to do this, but i think adding I18N to the bundle would be a nice one. Then we could use NSLocalizedStringFromTableInBundle(...)
. By adding a NSBundle
property to the view controller also the resource loading would be better, because if the bundle name changes you only need to modify one line of code.
in general:
on iPad:
The issue is that in Source/BeamMusicPlayerViewController.m : viewDidLoad, the calls to setVolumeThumbImage:forState:, setMinimumVolumeSliderImage:forState:, setMaximumVolumeSliderImage:forState: are only NS_AVAILABLE_IOS(6_0).
Because the iOS deployment target is 5.0, there should be a runtime check that MPVolumeView instancesRespondToSelector:, to avoid crashes on and to properly support an iOS 5.0.
When using the BeamMusicPlayerViewController via the pod spec, it doesn't display at all, because the xib is not part of it. I am just getting started with CocoaPods, so unfortunately I cannot provide a bugfix for this myself. Workaround: download the xib manually and add it to the app project.
explicitly refer to the actual license name in each file
currently, in [BeamMusicPlayerViewController currentTrackFinished]
there's a call to [self next]
commented out. This is fine if the underlying music player informs the view controller about an ended track. One should be able to re-enable the behavior for other implementations of the music player.
Hi,
I found that on the version on github is already have playlist function,but for the version on pods is not yet done.
Could you update please ?
Thank you in advance !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.