You are here

public function SWFObject::noFlash in SWF Embed 7

Same name and namespace in other branches
  1. 6 swfembed.module \SWFObject::noFlash()

Specify the text that will be used if Flash is disabled or not available.

This may be any HTML fragment. WARNING: This fragment is assumed to already be filtered. It will not be filtered again. It is up to you to ensure that any HTML has been run through filter_xss(), check_plain(), or similar before you use it.

Parameters

$html: The HTML fragment to use.

Return value

The flashy object.

File

./swfembed.module, line 378
The main file for swfembed.

Class

SWFObject
Generic data object for describing an SWF configuration.

Code

public function noFlash($html) {
  $this->noFlash = $html;
  return $this;
}