Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

black screen popups and stay in screen after call playVideo() without error #223

Open
deerhalim opened this issue Jun 3, 2021 · 0 comments

Comments

@deerhalim
Copy link

deerhalim commented Jun 3, 2021

What version of Streaming-Meda-Cordova-Plugin are you using?
2.3.0
What version of Cordova are you using?
6.2.0
What devices are affected?
Phone 12 Pro Emulator - iOS 14.4
Please describe the issue in detail, with relevant code samples
When i click the play button and call streamingMedia.playVideo() (play() event detail is in below), just black screen pops up and app stay in there.

play(videoUrl) {

let options: StreamingVideoOptions = {
  successCallback: () => {
    debugger
  },
  errorCallback: (e) => {

    debugger
  },
  orientation: 'landscape',
  shouldAutoClose: true,
  controls: false
};

this.streamingMedia.playVideo(videoUrl, options);

}

What did you expect to happen?
Play the video
What actually happened?
Black screen popups up and stay in screen until the app is closed. And also there is no error on console.

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

No branches or pull requests

1 participant