stroeer.github.io

TOnlineMediaplayer.EnablePlugin()

Enables a plugin for a specific player instance.

See LoadPlugin() for a more complete example.

An example usage might look like this:

const player1 = TOnlineMediaplayerFramework.New(document.getElementById('player-88299612'));
player1.EnablePlugin("Endscreen-Recommendations", {});
player1.Finish();