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 210 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 (Not yet installed UT on it though)

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post