A media renderer coded to fall-back to a simple image if we have low-fi mode turned on.
| package | core_rich_media |
|---|
fallback_render(mixed $url, mixed $url_safe, array $attributes, boolean $as_admin, \?MEMBER $source_member, \?mixed $click_url = null) : \?Tempcode
mixedURL to render
mixedURL to render (no sessions etc)
arrayAttributes (e.g. width, height, length)
booleanWhether there are admin privileges, to render dangerous media types
\?MEMBERMember to run as (null: current member)
\?mixedURL to route clicks through to (null: no special URL)
\?TempcodeRendered version (null: do not render)