Using Flash-free Playback with Player V4

The bit_wrapper plugin for DASH and HLS (bit_wrapper.min.js) plays HLS using the HTML5 standard (and Media Source Extensions), enabling HLS on web browsers without the use of Flash. HTML5 MSE also supports playback of MPEG-DASH (clear and DRM-protected content).

If you use the bit_wrapper plugin, HTML5 playback is enabled by default. This plugin will render in HTML5 if possible. If HTML5 rendering is not available on the given browser, the video will be rendered using Flash.

If Your Site Serves Content via HTTP

If you serve your pages using only HTTP, you simply load this plugin on your page.

If Your Site Serves Content via HTTPS

If you serve any of your pages via HTTPS/SSL, you need to complete the following steps to ensure that all pages are served using HTTPS.
  1. Contact Ooyala Technical Support to ensure that your environment is ready to support HTML5 Media Source Extensions (MSE)-based streaming.
  2. For customers with mixed content conditions (refer to this Google article) on a site running over HTTPS, be sure to resolve all mixed content conditions. For example, if you are using remote streams (remote assets) with HLS, make sure that all of your remote streams (manifest/m3u8 and fragment/ts) are served via HTTPS.
  3. If you are using any CDN other than Ooyala, make sure that the CORS setting is enabled from that CDN. For details, see Cross-Origin Resource Sharing (CORS).

Rendering with Flash

If you prefer to lead with Flash-based playback, you need to add the following page-level parameter to playerParam: {"platform": "flash"}. For details, see the platform page-level parameter.

Was this article helpful?