Contact Support | System Status
Page Contents

    Overview: Cross-Device Resume

    In this topic, you will learn about the Brightcove's Cross-Device Resume (XDR) feature.

    Overview

    Brightcove's Cross-Device Resume (XDR) feature allows viewers to start watching video on one device, pause the video, and then continue watching later on another device. When viewers resume playback, they'll continue watching where they left off. This provides a seamless viewing experience for a piece of content.

    The XDR service stores viewing activity, including the most recent play position. This information is retrieved to resume playback on any device.

    Brightcove's XDR feature:

    • Integrates with your customer web site and mobile device apps
    • Uses REST-based APIs and native language calls on desktop and mobile devices
    • Works with content stored in your Video Cloud library
    • Retains play position information for 90 days
    • Meets GDPR and COPPA compliance

    Requirements

    The following are required to use Cross-Device Resume:

    • You must use the latest version of Brightcove Player and the Native SDKs that supports cross-device resume.
    • You will need a server-side application to make the REST API request to get the playback position.

    Account setup

    Contact your account manager to enable your account for cross-device resume.

    Process flow

    This feature allows viewers to start watching on one device, pause it, and continue watching on another device.

    Step 1

    As a viewer watches a video, the player continuously records the playhead position of the video being watched. This information is stored in the XDR API.

    Record playhead position
    Record playhead position

    Step 2

    When the viewer resumes watching the video on a different device, the playhead position is retrieved from the XDR API. Playback resumes where the viewer left off.

    Resume playback
    Resume playback

    Implementation

    To implement Cross-Device Resume, follow these steps:

    1. Even though viewer data is sent to Brightcove analytics automatically, you need to set the viewer identifier in your app. For details, see the linked documents in step 3.

      The information sent and stored in the XDR API will include:

      • account_id - Video Cloud account ID
      • viewer_id - ID of the viewer whose playheads are being saved
      • video_id - Video Cloud ID of the video(s) watched by the viewer
      • playhead_seconds - Current playhead position in seconds

    2. Get a viewer's playback position by making a request to the XDR API. You will need a server-side application to make the REST API request for the playback position.

      The request to the XDR API returns the playback position in seconds.

      For details, see the following:

    3. Resume playback in your application. For details, see the following:


    Page last updated on 19 Jun 2021