Giter Site home page Giter Site logo

audio_player_service's People

Contributors

aelisenko avatar alexelisenko avatar dgempler avatar markuslewis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

audio_player_service's Issues

Need pointers on dynamically changing playlist, reliable UI controls

I've followed the example app and got some basic playback working, but find it difficult to implement a playlist that can clear and refill at the touch of a button, starting playback from the middle of the list, and seek anywhere in the track.
Is there any way you could give a more in-depth example? I'm guessing on the implementation of a lot of these things and what the plugin expects in terms of commands. I'm often getting play commands that simply refuse to work and setIndex commands that don't seem to do anything. I'm not certain that I'm implementing the plugin correctly, so some direction would be greatly appreciated! Feel free to contact me directly if this is not a good communication medium for this request. TIA

help to implement in a simple flutter project

hello @alexelisenko first of all thanks for working on this as I struggled to get audio player to work on my small app and play audio on the background. The problem was that on lock screen there is no media controller..but your example works fine so I was wondering if you would be interested (Paid work) to implement your package on my simple app. I think that since you wrote the package it would be much easier for you and of course I will be happy to pay for your time.
Thanks for letting me know!

thumbUrl Local but remote stream

Thanks again for your package ๐Ÿ‘
I am trying to load the thumUrl locally but the photo doesn't show up (but the audio plays fine)

items.add(AudioPlayerItem(
     id: "some_id_2",
     url: "https://icecast.radio24.ch/vhits",
     thumbUrl: "file://images/photo2.jpg", 
     title: 'Virgin Hits',
     duration: Duration(seconds: 140),
     album: 'Album 1',
     local:true
   ));

Some improvements

Hi @alexelisenko !
Thanks for creating this package - it's a great starting point for my proof of concept project for a flutter iOS audio player.

While trying to add this to my project I had to tweak a few things to make it work for me, and wanted to see if you're interested in a pull request for some (or all) of these changes:

  • adding the control/command center back
  • removing requirement for image (will show default iOS audio image)
  • getting duration data from audio file (will be overwritten if a duration is passed in)
  • disabling auto-play once audio is ready. This one is a preference that I believe should be left to the flutter client to make once the audio ready event fires.

I'm not an iOS developer, and never thought I'd be writing Objective-C, but had to make things work for my project so had no choice ๐Ÿ˜„

I manually tested things on xCode's simulator, iOS 10.3 (last version with control center functionality).

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.