Questions tagged [mediaplayback]
34 questions
31
votes
1 answer
How to use Actions from Notification without starting Activity
So I'm working on a simple music player. The music player as it names states, can play a song, pause playback, forward to next song, go back to previous song, and stop playback completely. When you play a song, there will be a notification displayed…

daniel_c05
- 11,438
- 17
- 60
- 78
5
votes
8 answers
Yahoo Media Player aka Yahoo Web Player Script Not Found
I have been working on a Ruby on Rails application recently. We were using Yahoo Web Player to play our audio and video files. It worked really nice, especially for tablets and smartphones which do not allow the use of Flash. However to my horror…

Pamela Cook - LightBe Corp
- 3,912
- 5
- 50
- 86
4
votes
1 answer
AVURLAsset gets initialized properly, but sometimes its associated AVPlayerLayer just renders black
I have an application in which the user can select from local video files. When one of those thumbnails gets pushed, the user is presented a new view which have a custom video player I've made that presents the video.
This works flawlessly, but only…

CodingBeagle
- 1,888
- 2
- 24
- 52
3
votes
3 answers
Can not seek with MPMoviePlayerController
I am going to seek timeline on MPMediaPlayerController.
I tried with the undocumented method setCurrentTime of MPMediaPlayerController as follows.
[player setCurrentTime:1.f];
Then the apple crashs with follows...
*** Terminating app due to…

HAPPY_TIGER
- 345
- 1
- 5
- 17
3
votes
1 answer
MPMusicPlayerController won't seek to given playbackTime
I want MPMusicPlayerController.applicationMusicPlayer() instance to start playing from a specific starting time:
applicationMusicPlayer.setQueueWithStoreIDs([String(track.id)])
applicationMusicPlayer.currentPlaybackTime = 10.0
…

Jan
- 184
- 2
- 15
2
votes
0 answers
How to detect if play back buttons are clicked in xamarin forms
I am using CrossMediaManager to play mp3 files. Playing files works as exptected except that I want to allow users to open a specific page when they click on playback from the nofitication. I have not implemented notification, but I allowed to play…

ARH
- 1,566
- 3
- 25
- 56
2
votes
1 answer
Raspberry Pi + Bluez + A2DP + AVRCP
In the past 2 days i've been googling for a way to control the media playback from my iPhone through my Raspiberry pi headless speaker.
I've successfully setup the pi using the following tutorial:
Headless A2DP Audio Streaming on Raspbian Stretch…

ady_e_n
- 33
- 1
- 5
2
votes
1 answer
Android TV: PlaybackControlsRow action long press
I'm trying to implement a fast-forward and rewind actions using PlaybackControlsRow using Leanback library for Android TV, however I can't find any method to detect a long press on these buttons. My current implementation is simple, only does…

yyunikov
- 5,719
- 2
- 43
- 78
1
vote
2 answers
Android 13 playbackstate callback not called ( from notification buttons)
For mediaplayer, ACTION_SKIP_TO_NEXT and ACTION_SKIP_TO_PREVIOUS both are working fine from notification buttons for android 12 and below.
it seems that android 13 has a different behavior according to this.
to be clear, below buttons in the…

صلي علي محمد - Atef Farouk
- 3,257
- 2
- 30
- 46
1
vote
2 answers
How to speed up youtube's videos more than 16x with javascript?
I use
document.getElementsByClassName("video-stream html5-main-video")[0].playbackRate = x; and x from 0 to 16. There is an error if it bigger than 16
VM308:1 Uncaught DOMException: Failed to set the 'playbackRate' property on 'HTMLMediaElement':…

amg
- 85
- 1
- 4
1
vote
1 answer
Android Media session playbackstate doesn’t notify position updates
Android media session playbackstate doesn’t notify position update after pause and play. GetPlaybackPosition() returns the same position set at Pause during rest of play. Any clue? Thanks.

Venkat
- 11
- 2
1
vote
1 answer
Play 360 live video stream
I'm using MobileVLCKit for playing the live streamings for a while now, but now I've been tasked to play 360 live video streams I've tried to stream the video normally but it shows rectangular view for overall video what I want is play like 360…

Arun K
- 810
- 2
- 12
- 33
1
vote
1 answer
UWP: MediaPlaybackItem get ViewModel
My MediaPlaybackList.ShuffledItems has 10 items in it. But when I was trying to convert the items back to a list of ViewModel (in my case it is Music) using the uri, I got null.
Why is that? Is it because I load the file from my local drive?
This is…
user10634280
1
vote
1 answer
Exoplayer video Transition from one activity to other without stopping plaback
Does anybody have any suggestions to how to achieve this scenario with exoplayer or somple media player. I have requirements like a video is playing on a list and on click on that video it should be move to New full screen activity with smooth…

alok
- 21
- 4
1
vote
1 answer
Custom UI for UWP Background Media Playback
My test app tries to play audio when minimising app, so I selected "Background Media Playback". But when I move my mouse over the App Icon on the Windows Taskbar, Next/Prev/Pause buttons are displayed (see below image). How can I remove them?

Luu Thanh
- 15
- 6