mycred_video_embed_args

Codex / mycred/core / Filters / mycred_video_embed_args

Navigation:

  1. Description
  2. Used By
  3. Parameters
  4. Default Arguments

Description

This filter allows you to adjust the swfobject embedding. The array passed though this array is imploded and inserted into swfobject.embedSWF().

Note This filter was removed in 1.3.3.

 

Used By

  • Function: mycred_render_shortcode_video

 

Parameters

  • args (array)
    Default embed arguments.
  • atts (array)
    The shortcode attributes.

 

Default Arguments

The following default arguments are passed though this filter:

array(
	'"' . $url . '"',
	'"' . $video_id . '"',
	'"' . $width . '"',
	'"' . $height . '"',
	'"9.0.0"',
	'null',
	'null',
	'{ allowScriptAccess: "always", wmode: "transparent" }',
	'null'
)

For more information consult the swfobject documentation.

Last edited June 26, 2016