SVGBuilderExtensions.OnCanPlayThrough

SVGBuilderExtensions.OnCanPlayThrough<TBuilder> method

Sets the ‘oncanplaythrough’ event attribute for handling media playability without interruption.

public static TBuilder OnCanPlayThrough<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 media can play through to the end without stopping for buffering.

Return Value

The builder instance for chaining.

See Also