You are here

function onepixelout_init in SWF Tools 6.2

Implementation of hook_init().

Push the script to stop other players on to the page.

File

onepixelout/onepixelout.module, line 159

Code

function onepixelout_init() {
  if (variable_get('swftools_always_add_js', SWFTOOLS_ALWAYS_ADD_JS)) {
    onepixelout_push_js();
  }
}