UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Media player control not working while playing music in morph Browser or web container

    Scheduled Pinned Locked Moved Support
    1 Posts 1 Posters 17 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • S Offline
        Shapa
        last edited by

        Hey Everyone

        I need some help , I am playing music in morph browser

        the issue is when I lock screen (using UB tweak keep it running background) music plays but if want click pause play next on music player it wont work

        When looked the DBUS using following command

        dbus-monitor --session "type='signal',interface='org.freedesktop.DBus.Properties'"

        I can some how guess the audio is paused using mpris mediaplyer

        signal time=1764878914.894754 sender=:1.27 -> destination=(null destination) serial=201 path=/org/mpris/MediaPlayer2; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
        string "org.mpris.MediaPlayer2.Player"
        array [
        dict entry(
        string "PlaybackStatus"
        variant string "Playing"
        )
        ]
        array [
        ]

        signal time=1764878916.305535 sender=:1.27 -> destination=(null destination) serial=214 path=/org/mpris/MediaPlayer2; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
        string "org.mpris.MediaPlayer2.Player"
        array [
        dict entry(
        string "PlaybackStatus"
        variant string "Paused"
        )
        ]
        array [
        ]

        Is there any way we can pass the music controls to media player from website so it will be more easy to contol them without unlocking the phone

        If anyone have any workround let me know

        1 Reply Last reply Reply Quote 0
        • LakotaubpL Lakotaubp moved this topic from General
        • First post
          Last post