Chromecast

Adds support for casting the video to chromecast.

OVP managed player

You can add the plugin in the OVP player configurator.

Manual installation

Include the plugin next to the core player:

<script src="//cdn.flowplayer.com/releases/native/3/stable/flowplayer.min.js"></script>
<script src="//cdn.flowplayer.com/releases/native/3/stable/plugins/chromecast.min.js"></script>

Create a custom player with Chromecast support on the configuration builder

You can only cast from https sites. Insecure websites will not show the cast option.

Configuration

The chromecast plugin is configured under the chromecast namespace.

    • property
    • default
    • description
    • crossOrigin
    • false
    • turns off anonymous crossorigin requests and instead sends cookies
    • app
    • flowplayer.chromecast.apps.STABLE
    • the application id the chromecast should use to display content

The app Configuration Property

The app property listed in the table can be overridden if you have your own CAF Receiver Application registered with Google.

When integrating your own CAF Receiver Application not all features may be available at this time.

Flowplayer offers two public applications, which mirrors the paradigm of the stable and canary release channels the player itself has. This allows us to ship features and tightly integrate with partners without affecting the stability of our Receiver Application.

Available applications:

    • name
    • symbol location
    • description
    • stable
    • flowplayer.chromecast.apps.STABLE
    • the stable release channel for our Chromecast Receiver application
    • canary
    • flowplayer.chromecast.apps.CANARY
    • the canary release channel for our Chromecast Receiver application

Example usage:

flowplayer(ele, 
  { src: "example.flowplayer.com/fake.m3u8"
  , chromecast: {app: flowplayer.chromecast.apps.CANARY}
  })
Results