# Resume

`resume` play / resume music playback from the authenticated provider.

## Example

<pre class="language-jsx"><code class="lang-jsx"><strong>'use client';
</strong>
import { OneTap, SyncstreamProvider, useSyncstream } from "@syncstreamai/syncstream";
import "@syncstreamai/syncstream/dist/index.css";

export default function App() {
  return (
    &#x3C;SyncstreamProvider
      campaginId="EXAMPLE_CAMPAIGN_ID"
      signInRequired
    >
      &#x3C;OneTap spotifyDefaultLink="spotify:artist:2hlmm7s2ICUX0LVIhVFlZQ" />
    &#x3C;/SyncstreamProvider>
  );
}

export default Example() {
  const { resume } = useSyncstream()
  
  return (
    &#x3C;button
      type="button"
      onClick={resume}
    >
      Resume
    &#x3C;/button>
  )
}
</code></pre>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://webplayer.recoupable.com/utilities/resume.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
