Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    MediaSessionApi for qtwebengine apps?

    App Development
    1
    1
    40
    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.
    • poVoq
      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 🙂 ).

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