Post

Replies

Boosts

Views

Activity

shareplay doesn't work for safari
Our app create a GroupActivity with a fallbackURL points to our website ( the url has included the conentId to played). Exceptal behavior is when a Watch Together invitation is issued by an iPhone user to a user on a Mac, Safari will be launched and asked to load the URL that we provide in GroupActivity.  Actual result is Safari launched but URL not loaded. What should the fallbackURL be? Or what should we do any other things except set fallbackURL?
2
0
1.4k
Jul ’21
navigator.mediaSession.addEventListener is not correct for MacOS 12 beta?
Sample Code for develop in safari to shareplay with others, one step is adopting Coordinator. Source: https://developer.apple.com/videos/play/wwdc2021/10189/ Here is the sample code: navigator.mediaSession.addEventListener(‘coordinatorchange’, coordinator =>{ if (coordinator) coordinator.join(); controls.inSessionIcon.style.hidden = !coordinator; }); But navigator.mediaSession have no API addEventListener. I think it should be navigator.mediaSession.coordinator.addEventListener Any one agree with me?
0
0
821
Jul ’21