Coder Social home page Coder Social logo

Not really an issue, but are there any plans for manipulating the "forward" and "back" buttons in the media player? about cordova-plugin-streaming-media HOT 4 CLOSED

nchutchind avatar nchutchind commented on August 19, 2024
Not really an issue, but are there any plans for manipulating the "forward" and "back" buttons in the media player?

from cordova-plugin-streaming-media.

Comments (4)

nchutchind avatar nchutchind commented on August 19, 2024

No current plans, per se. I wanted to remove them for the project I was developing this for (since I am primarily using it for playing a single video or a streaming media file, not a playlist).I looked into it briefly and saw that it would be a significant amount of work. I might be able to look into doing it, but currently would rather someone implement it and send me a pull request.

It might be nice to have them be optional... maybe load in an array of URLs instead of a single one.

from cordova-plugin-streaming-media.

mluria avatar mluria commented on August 19, 2024

tried the android version, didn't work so well. The first time it plays a video, once it gets to the end, it can no longer play, i.e. the play button doesn't do anything. Also, it doesn't call the successCallback function. The back button works, but it's not a particularly good user experience.

My workaround was the following:

public void onCompletion(MediaPlayer mp) {
//  stop();
    if (mShouldAutoClose) {
        wrapItUp(RESULT_OK, null);
    }
}

I just commented out the stop call. Once I do it's fine. Though I don't think this was the intention of the author.

from cordova-plugin-streaming-media.

ahmu83 avatar ahmu83 commented on August 19, 2024

Will it be difficult to add a close button on the video play mode? The only way to close a video stream on android is to hit the back button. Thanks for the great plugin.

from cordova-plugin-streaming-media.

faceleg avatar faceleg commented on August 19, 2024

No plans to support this. If someone wants to submit a PR, great!

from cordova-plugin-streaming-media.

Related Issues (20)

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.