[Webkit-unassigned] [Bug 237196] New: MediaSession.setPositionState() does not work.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 25 03:18:09 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=237196

            Bug ID: 237196
           Summary: MediaSession.setPositionState() does not work.
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit API
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mitsuo.matsunaga at play.jp

We develop a player that can play a part of a content.
I executed setPositionState() as follows. However, it is not reflected in "Now Playing" in Control Center.

navigator.mediaSession.setPositionState({
  duration: 140,
  position: pos + 10
});

Sample
https://dev-player-issue.s3.ap-northeast-1.amazonaws.com/webkit/media_session.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220225/f57357f8/attachment.htm>


More information about the webkit-unassigned mailing list