<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Spotify Web SDK - iOS Safari/Chrome Playback Issues (Setting Volume + Activate Element) in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-SDK-iOS-Safari-Chrome-Playback-Issues-Setting-Volume/m-p/5316263#M3788</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;United States&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;iPhone 12 Pro Max&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;iOS 15.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I've been developing a player using the Spotify Web SDK and testing it out on my iPhone using the Safari and Chrome apps for iOS. I've noticed the following and wanted to check in whether this is the expected behavior because I see no mention of it in the documentation:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;- Volume changes using the Web Playback SDK are not working on iOS browsers.&lt;BR /&gt;&lt;/STRONG&gt;When I change the volume using the Web Playback SDK's &lt;STRONG&gt;setVolume&lt;/STRONG&gt;&amp;nbsp;in response to UI events,&amp;nbsp;no volume change is observed. I see the volume bar change on my Mac Spotify client in response to the calls, but the actual volume of the playback in the iOS browser does not change. The &lt;STRONG&gt;setVolume &lt;/STRONG&gt;function&amp;nbsp;does work on all &lt;STRONG&gt;desktop&lt;/STRONG&gt;&amp;nbsp;and&amp;nbsp;&lt;STRONG&gt;Android device&lt;/STRONG&gt; browsers though. Is this the expected behavior for iOS?&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;- The activateElement method does not work as described in the documentation/reference for iOS browsers:&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;The activateElement method seems to make no difference when triggered on UI touches, in allowing for deferred playback. If I call &lt;STRONG&gt;activateElement&amp;nbsp;&lt;/STRONG&gt;on a button UI touch and then resume/togglePlay a song after a 10 second timeout I'll receive the following error:&amp;nbsp;&lt;STRONG&gt;Authentication Error: Browser prevented autoplay due to lack of interaction. &lt;/STRONG&gt;This does not seem to match the behavior described in the reference documentation or in the SDK release blog links listed below.&amp;nbsp;Is this the expected behavior for iOS browsers?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player-activateelement" target="_blank" rel="noopener"&gt;https://developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player-activateelement&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.spotify.com/community/news/2021/09/13/web-playback-sdk-out-of-beta/" target="_blank" rel="noopener"&gt;https://developer.spotify.com/community/news/2021/09/13/web-playback-sdk-out-of-beta/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Dec 2021 16:54:39 GMT</pubDate>
    <dc:creator>emjoseph</dc:creator>
    <dc:date>2021-12-16T16:54:39Z</dc:date>
    <item>
      <title>Spotify Web SDK - iOS Safari/Chrome Playback Issues (Setting Volume + Activate Element)</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-SDK-iOS-Safari-Chrome-Playback-Issues-Setting-Volume/m-p/5316263#M3788</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;United States&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;iPhone 12 Pro Max&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;iOS 15.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I've been developing a player using the Spotify Web SDK and testing it out on my iPhone using the Safari and Chrome apps for iOS. I've noticed the following and wanted to check in whether this is the expected behavior because I see no mention of it in the documentation:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;- Volume changes using the Web Playback SDK are not working on iOS browsers.&lt;BR /&gt;&lt;/STRONG&gt;When I change the volume using the Web Playback SDK's &lt;STRONG&gt;setVolume&lt;/STRONG&gt;&amp;nbsp;in response to UI events,&amp;nbsp;no volume change is observed. I see the volume bar change on my Mac Spotify client in response to the calls, but the actual volume of the playback in the iOS browser does not change. The &lt;STRONG&gt;setVolume &lt;/STRONG&gt;function&amp;nbsp;does work on all &lt;STRONG&gt;desktop&lt;/STRONG&gt;&amp;nbsp;and&amp;nbsp;&lt;STRONG&gt;Android device&lt;/STRONG&gt; browsers though. Is this the expected behavior for iOS?&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;- The activateElement method does not work as described in the documentation/reference for iOS browsers:&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;The activateElement method seems to make no difference when triggered on UI touches, in allowing for deferred playback. If I call &lt;STRONG&gt;activateElement&amp;nbsp;&lt;/STRONG&gt;on a button UI touch and then resume/togglePlay a song after a 10 second timeout I'll receive the following error:&amp;nbsp;&lt;STRONG&gt;Authentication Error: Browser prevented autoplay due to lack of interaction. &lt;/STRONG&gt;This does not seem to match the behavior described in the reference documentation or in the SDK release blog links listed below.&amp;nbsp;Is this the expected behavior for iOS browsers?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player-activateelement" target="_blank" rel="noopener"&gt;https://developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player-activateelement&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.spotify.com/community/news/2021/09/13/web-playback-sdk-out-of-beta/" target="_blank" rel="noopener"&gt;https://developer.spotify.com/community/news/2021/09/13/web-playback-sdk-out-of-beta/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 16:54:39 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-SDK-iOS-Safari-Chrome-Playback-Issues-Setting-Volume/m-p/5316263#M3788</guid>
      <dc:creator>emjoseph</dc:creator>
      <dc:date>2021-12-16T16:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Spotify Web SDK - iOS Safari/Chrome Playback Issues (Setting Volume + Activate Element)</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-SDK-iOS-Safari-Chrome-Playback-Issues-Setting-Volume/m-p/5332267#M3969</link>
      <description>&lt;P&gt;There are new updates on the documentation.&lt;BR /&gt;For short, the volume control doesn't in iOS is because of the Apple restriction and the activeElement issue seems to be the out dated documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player-activateelement" target="_blank"&gt;https://developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player-activateelement&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player-setvolume" target="_blank"&gt;https://developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player-setvolume&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 09:20:00 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-SDK-iOS-Safari-Chrome-Playback-Issues-Setting-Volume/m-p/5332267#M3969</guid>
      <dc:creator>nowy_cheung</dc:creator>
      <dc:date>2022-01-25T09:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Spotify Web SDK - iOS Safari/Chrome Playback Issues (Setting Volume + Activate Element)</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-SDK-iOS-Safari-Chrome-Playback-Issues-Setting-Volume/m-p/5332284#M3970</link>
      <description>&lt;P&gt;There are new updates on the documentation.&lt;BR /&gt;For short, the volume control doesn't in iOS is because of the Apple restriction and the activeElement issue seems to be the out dated documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player-activateelement" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player-activatee...&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player-setvolume" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.spotify.com/documentation/web-playback-sdk/reference/#api-spotify-player-setvolume&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 10:29:26 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-SDK-iOS-Safari-Chrome-Playback-Issues-Setting-Volume/m-p/5332284#M3970</guid>
      <dc:creator>nowy_cheung</dc:creator>
      <dc:date>2022-01-26T10:29:26Z</dc:date>
    </item>
  </channel>
</rss>

