beautypg.com

Swf_options_setembeddedurltarget – Google Flix Engine Linux Reference Manual User Manual

Page 238

background image

232

Flix Engine Linux Module Documentation

5.52.5.21

on2sc swf_options_SetEmbeddedUrl (FLIX2HANDLE flix, const char ∗ embeddedUrl)

Sets the embedded URL of the SWF or HTML that will be loaded when the user clicks on the video.

Parameters:

← flix Handle to the flix engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← embeddedUrl The embedded URL.

Return values:

ON2_OK

success

ON2_INVALID_PARAMS

should one or more of the preconditions fail

ON2_NO_MEM

an error occurred allocating memory for embeddedUrl

ON2_NET_ERROR

the underlying communication layer failed

Precondition:

flix

is not NULL

Note:

When a user clicks on the video of the encoded SWF file, the SWF file will imediately try and load the
embedded URL.
If embeddedUrl is NULL then the engine will delete the embedded URL.

See also:

swf_options_GetEmbeddedUrl()

,

swf_options_GetEmbeddedUrlType()

,

swf_options_-

SetEmbeddedUrlType()

Deprecated

Use the

Muxer Interface

along with

FE2_MUXER_SWF

and the

FE2_SWF_EMBEDDED_URL

pa-

rameter. This function will be removed in a future release.

5.52.5.22

on2sc swf_options_SetEmbeddedUrlTarget (FLIX2HANDLE flix, const char ∗
embeddedUrlTarget)

Sets the target of the embedded URL.

Parameters:

← flix Handle to the flix engine returned from

Flix2_Create()

or

Flix2_CreateEx()

← embeddedUrlTarget The target of the embedded URL.

Return values:

ON2_OK

success

ON2_INVALID_PARAMS

should one or more of the preconditions fail

ON2_NO_MEM

an error occurred allocating memory for embeddedUrlTarget

ON2_NET_ERROR

the underlying communication layer failed

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen