You are here

function swftools_jw5_init in SWF Tools 6.3

Implementation of hook_init().

File

jw5/swftools_jw5.module, line 395
Enables SWF Tools support for LongTail Player 5.

Code

function swftools_jw5_init() {

  // Add JavaScript to enable auto-close behavior and accessibility
  if (variable_get('swftools_always_add_js', SWFTOOLS_ALWAYS_ADD_JS)) {
    swftools_jw5_add_js();
  }
}