The HTMLSourceElement interface provides special properties (beyond
regular web.dom.HTMLElement
object interface it also has available
it by inheritance) for manipulating <source>
elements.
The HTMLSourceElement interface provides special properties (beyond regular `web.dom.HTMLElement` object interface it also has available it by inheritance) for manipulating `<source>` elements.
(key-system this)
Property.
Is a DOMString describing the key system encrypting the stream.
Property. Is a DOMString describing the key system encrypting the stream.
(media this)
Property.
Is a DOMString reflecting the media HTML attribute, containing intended type of the media resource.
Property. Is a DOMString reflecting the media HTML attribute, containing intended type of the media resource.
(set-key-system! this val)
Property.
Is a DOMString describing the key system encrypting the stream.
Property. Is a DOMString describing the key system encrypting the stream.
(set-media! this val)
Property.
Is a DOMString reflecting the media HTML attribute, containing intended type of the media resource.
Property. Is a DOMString reflecting the media HTML attribute, containing intended type of the media resource.
(set-sizes! this val)
Property.
Is a DOMString representing image sizes between breakpoints
Property. Is a DOMString representing image sizes between breakpoints
(set-src! this val)
Property.
Is a DOMString reflecting the src HTML attribute, containing URL for the media resource. The HTMLSourceElement.src property a meaning only when the associated <source> element is nested a media element that is a <video> or an <audio> element. It has meaning and is ignored when it is nested in a <picture> element. Note: If the src property is updated (along with any siblings), parent HTMLMediaElement's load method should be called when done,
<source> elements are not re-scanned automatically.
Property. Is a DOMString reflecting the src HTML attribute, containing URL for the media resource. The HTMLSourceElement.src property a meaning only when the associated <source> element is nested a media element that is a <video> or an <audio> element. It has meaning and is ignored when it is nested in a <picture> element. Note: If the src property is updated (along with any siblings), parent HTMLMediaElement's load method should be called when done, <source> elements are not re-scanned automatically.
(set-srcset! this val)
Property.
Is a DOMString reflecting the srcset HTML attribute, containing list of candidate images, separated by a comma (',', U+002C COMMA). candidate image is a URL followed by a 'w' with the width of images, or an 'x' followed by the pixel density.
Property. Is a DOMString reflecting the srcset HTML attribute, containing list of candidate images, separated by a comma (',', U+002C COMMA). candidate image is a URL followed by a 'w' with the width of images, or an 'x' followed by the pixel density.
(set-type! this val)
Property.
Is a DOMString reflecting the type HTML attribute, containing type of the media resource.
Property. Is a DOMString reflecting the type HTML attribute, containing type of the media resource.
(sizes this)
Property.
Is a DOMString representing image sizes between breakpoints
Property. Is a DOMString representing image sizes between breakpoints
(src this)
Property.
Is a DOMString reflecting the src HTML attribute, containing URL for the media resource. The HTMLSourceElement.src property a meaning only when the associated <source> element is nested a media element that is a <video> or an <audio> element. It has meaning and is ignored when it is nested in a <picture> element. Note: If the src property is updated (along with any siblings), parent HTMLMediaElement's load method should be called when done,
<source> elements are not re-scanned automatically.
Property. Is a DOMString reflecting the src HTML attribute, containing URL for the media resource. The HTMLSourceElement.src property a meaning only when the associated <source> element is nested a media element that is a <video> or an <audio> element. It has meaning and is ignored when it is nested in a <picture> element. Note: If the src property is updated (along with any siblings), parent HTMLMediaElement's load method should be called when done, <source> elements are not re-scanned automatically.
(srcset this)
Property.
Is a DOMString reflecting the srcset HTML attribute, containing list of candidate images, separated by a comma (',', U+002C COMMA). candidate image is a URL followed by a 'w' with the width of images, or an 'x' followed by the pixel density.
Property. Is a DOMString reflecting the srcset HTML attribute, containing list of candidate images, separated by a comma (',', U+002C COMMA). candidate image is a URL followed by a 'w' with the width of images, or an 'x' followed by the pixel density.
(type this)
Property.
Is a DOMString reflecting the type HTML attribute, containing type of the media resource.
Property. Is a DOMString reflecting the type HTML attribute, containing type of the media resource.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close