Debian Codegraph @

vendor/wikimedia/idle-dom/src/HTMLVideoElement.php

raw
1 <?php
2
3 // AUTOMATICALLY GENERATED. DO NOT EDIT.
4 // Use `composer build` to regenerate.
5
6 namespace Wikimedia\IDLeDOM;
7
8 /**
9 * HTMLVideoElement
10 *
11 * @see https://dom.spec.whatwg.org/#interface-htmlvideoelement
12 *
13 * @property int $nodeType
14 * @property string $nodeName
15 * @property string $baseURI
16 * @property bool $isConnected
17 * @property Document|null $ownerDocument
18 * @property Node|null $parentNode
19 * @property Element|null $parentElement
20 * @property NodeList $childNodes
21 * @property Node|null $firstChild
22 * @property Node|null $lastChild
23 * @property Node|null $previousSibling
24 * @property Node|null $nextSibling
25 * @property ?string $nodeValue
26 * @property ?string $textContent
27 * @property string $innerHTML
28 * @property Element|null $previousElementSibling
29 * @property Element|null $nextElementSibling
30 * @property HTMLCollection $children
31 * @property Element|null $firstElementChild
32 * @property Element|null $lastElementChild
33 * @property int $childElementCount
34 * @property HTMLSlotElement|null $assignedSlot
35 * @property ?string $namespaceURI
36 * @property ?string $prefix
37 * @property string $localName
38 * @property string $tagName
39 * @property string $id
40 * @property string $className
41 * @property DOMTokenList $classList
42 * @property string $slot
43 * @property NamedNodeMap $attributes
44 * @property ShadowRoot|null $shadowRoot
45 * @property string $outerHTML
46 * @property CSSStyleDeclaration $style
47 * @property string $contentEditable
48 * @property string $enterKeyHint
49 * @property bool $isContentEditable
50 * @property string $inputMode
51 * @property EventHandlerNonNull|callable|null $onload
52 * @property DOMStringMap $dataset
53 * @property string $nonce
54 * @property int $tabIndex
55 * @property string $title
56 * @property string $lang
57 * @property bool $translate
58 * @property string $dir
59 * @property bool $hidden
60 * @property string $accessKey
61 * @property string $accessKeyLabel
62 * @property bool $draggable
63 * @property bool $spellcheck
64 * @property string $autocapitalize
65 * @property string $innerText
66 * @property Element|null $offsetParent
67 * @property int $offsetTop
68 * @property int $offsetLeft
69 * @property int $offsetWidth
70 * @property int $offsetHeight
71 * @property ?string $crossOrigin
72 * @property string $src
73 * @property string $currentSrc
74 * @property int $networkState
75 * @property string $preload
76 * @property TimeRanges $buffered
77 * @property int $readyState
78 * @property bool $seeking
79 * @property float $currentTime
80 * @property float $duration
81 * @property bool $paused
82 * @property float $defaultPlaybackRate
83 * @property float $playbackRate
84 * @property TimeRanges $played
85 * @property TimeRanges $seekable
86 * @property bool $ended
87 * @property bool $autoplay
88 * @property bool $loop
89 * @property bool $controls
90 * @property float $volume
91 * @property bool $muted
92 * @property bool $defaultMuted
93 * @property AudioTrackList $audioTracks
94 * @property VideoTrackList $videoTracks
95 * @property TextTrackList $textTracks
96 * @property int $width
97 * @property int $height
98 * @property int $videoWidth
99 * @property int $videoHeight
100 * @property string $poster
101 * @property bool $playsInline
102 * @phan-forbid-undeclared-magic-properties
103 */
104 interface HTMLVideoElement extends HTMLMediaElement {
105 // Direct parent: HTMLMediaElement
106
107 /**
108 * @return int
109 */
110 public function getWidth(): int;
111
112 /**
113 * @param int $val
114 */
115 public function setWidth( int $val ): void;
116
117 /**
118 * @return int
119 */
120 public function getHeight(): int;
121
122 /**
123 * @param int $val
124 */
125 public function setHeight( int $val ): void;
126
127 /**
128 * @return int
129 */
130 public function getVideoWidth(): int;
131
132 /**
133 * @return int
134 */
135 public function getVideoHeight(): int;
136
137 /**
138 * @return string
139 */
140 public function getPoster(): string;
141
142 /**
143 * @param string $val
144 */
145 public function setPoster( string $val ): void;
146
147 /**
148 * @return bool
149 */
150 public function getPlaysInline(): bool;
151
152 /**
153 * @param bool $val
154 */
155 public function setPlaysInline( bool $val ): void;
156
157 }