You are here

function flowplayer3_init in SWF Tools 6.2

Implementation of hook_init().

If the site is configured to add script to every page, and to use FlowPlayer3 embedding, then add the JavaScript to the page.

Return value

Nothing.

File

flowplayer3/flowplayer3.module, line 526

Code

function flowplayer3_init() {
  if (variable_get('swftools_always_add_js', SWFTOOLS_ALWAYS_ADD_JS) && variable_get('swftools_flowplayer3_embed', FALSE)) {
    flowplayer3_swftools_embed();
  }
}