$mediaobject-video-element

$mediaobject-video-element — Use the video element?

Parameter:
{}mediaobject-video-element
Defined in:
param.xsl
Used in:
main.xsl, param.xsl

Synopsis

  |$mediaobject-video-element as xs:string := 'video'

Description

This element identifies the element to use for video content. The default starting in version 1.11.0 is video where it had previously been iframe.

Video is a bit complicated, the video element works best for local video sources but won’t work for embedding content from other sites. If all of your content is embedded, specifying iframe here will be simplest.

If you need a mixture, of styles, it can be specified on a per-video basis with the db processing instruction using the video pseudo-attribute.

Note

The only supported values are iframe and video; you cannot use this parameter or the processing instruction to insert arbitrary element names.