Skip to content

Message Overlays plugin

This plugin allows you to send overlay messages to the player.

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/message.min.js"></script>

API

Messages are displayed by emitting the message:show event to the player instance.

Sample code

This sample shows "Hello there!" and sets the timeout to 5 seconds (sticky: false is set for demonstration purposes only).

Demo

An example implementation would be the the live stream reconnect script.