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

    MediaSessionApi for qtwebengine apps?

    Scheduled Pinned Locked Moved App Development
    1 Posts 1 Posters 133 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.
      • poVoqP Offline
        poVoq
        last edited by poVoq

        Seems like Chromium actually has a build in media notification API:
        https://developers.google.com/web/updates/2017/02/media-session
        This might also be available in the Chromium based qtwebengine UT uses for webapps.

        Which would be fairly cool to hook into the UT notifications or even the lock-screen. Any idea if this is working or has anyone looked into this?

        I came across it via this (German) blog post for a cool HTML5 podcast player that could probably be ported to UT:
        http://human-injection.de/projects/mediaSessionApi
        https://github.com/sebastiansIT/HTML5Podcatcher

        (I am not planning to port it myself right now, so if anyone is interested picking this up, feel free 🙂 ).

        Fairphone 5 (waiting for port)

        1 Reply Last reply Reply Quote 0
        • First post
          Last post