SVGBuilderExtensions.OnPlaying

SVGBuilderExtensions.OnPlaying<TBuilder> method

Sets the ‘onplaying’ event attribute for handling events when the media is actively playing after being paused or stopped for buffering.

public static TBuilder OnPlaying<TBuilder>(this TBuilder builder, string value)
    where TBuilder : ISVGElementBuilder, IGlobalEventAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
valueThe JavaScript function or script to execute when the media is actively playing.

Return Value

The builder instance for chaining.

See Also