/usr/share/qt5/doc/qtmultimedia/qml-qtmultimedia-video.html is in qtmultimedia5-doc-html 5.2.1-0ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- Video.qml -->
<title>Video | QtMultimedia 5.2</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.2</li>
<li><a href="qtmultimedia-index.html">Qt Multimedia</a></li>
<li><a href="qtmultimedia-qmlmodule.html">QML Types</a></li>
<li>Video</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#methods">Methods</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
<li class="level2"><a href="#screen-saver">Screen Saver</a></li>
</ul>
</div>
<h1 class="title">Video</h1>
<span class="subtitle"></span>
<!-- $$$Video-brief -->
<p>A convenience type for showing a specified video. <a href="#details">More...</a></p>
<!-- @@@Video -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> </b><tt>import QtMultimedia 5.0</tt></td></tr></table><ul>
<li><a href="qml-qtmultimedia-video-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#autoLoad-prop">autoLoad</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#autoPlay-prop">autoPlay</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#availability-prop">availability</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#bufferProgress-prop">bufferProgress</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#duration-prop">duration</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#error-prop">error</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#errorString-prop">errorString</a></b></b> : string</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#fillMode-prop">fillMode</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#hasAudio-prop">hasAudio</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#hasVideo-prop">hasVideo</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#metaData-prop">metaData</a></b></b> : alias</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#muted-prop">muted</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#orientation-prop">orientation</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#playbackRate-prop">playbackRate</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#playbackState-prop">playbackState</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#position-prop">position</a></b></b> : int</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#seekable-prop">seekable</a></b></b> : bool</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#source-prop">source</a></b></b> : url</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#status-prop">status</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#volume-prop">volume</a></b></b> : real</li>
</ul>
<a name="signals"></a>
<h2>Signals</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#paused-signal">paused</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#playing-signal">playing</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#stopped-signal">stopped</a></b></b>()</li>
</ul>
<a name="methods"></a>
<h2>Methods</h2>
<ul>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#pause-method">pause</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#play-method">play</a></b></b>()</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#seek-method">seek</a></b></b>(<i>offset</i>)</li>
<li class="fn"><b><b><a href="qml-qtmultimedia-video.html#stop-method">stop</a></b></b>()</li>
</ul>
<!-- $$$Video-description -->
<a name="details"></a>
<h2>Detailed Description</h2>
<p><tt>Video</tt> is a convenience type combining the functionality of a <a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a> and a <a href="qml-qtmultimedia-videooutput.html">VideoOutput</a> into one. It provides simple video playback functionality without having to declare multiple types.</p>
<pre class="qml">import QtQuick 2.0
import QtMultimedia 5.0
<span class="type">Video</span> {
<span class="name">id</span>: <span class="name">video</span>
<span class="name">width</span> : <span class="number">800</span>
<span class="name">height</span> : <span class="number">600</span>
<span class="name">source</span>: <span class="string">"video.avi"</span>
<span class="type">MouseArea</span> {
<span class="name">anchors</span>.fill: <span class="name">parent</span>
<span class="name">onClicked</span>: {
<span class="name">video</span>.<span class="name">play</span>()
}
}
<span class="name">focus</span>: <span class="number">true</span>
<span class="name">Keys</span>.onSpacePressed: <span class="name">video</span>.<span class="name">playbackState</span> <span class="operator">==</span> <span class="name">MediaPlayer</span>.<span class="name">PlayingState</span> ? <span class="name">video</span>.<span class="name">pause</span>() : <span class="name">video</span>.<span class="name">play</span>()
<span class="name">Keys</span>.onLeftPressed: <span class="name">video</span>.<span class="name">seek</span>(<span class="name">video</span>.<span class="name">position</span> <span class="operator">-</span> <span class="number">5000</span>)
<span class="name">Keys</span>.onRightPressed: <span class="name">video</span>.<span class="name">seek</span>(<span class="name">video</span>.<span class="name">position</span> <span class="operator">+</span> <span class="number">5000</span>)
}</pre>
<p><tt>Video</tt> supports untransformed, stretched, and uniformly scaled video presentation. For a description of stretched uniformly scaled presentation, see the <a href="qml-qtmultimedia-video.html#fillMode-prop">fillMode</a> property description.</p>
<a name="screen-saver"></a>
<h2>Screen Saver</h2>
<p>If it is likely that an application will be playing video for an extended period of time without user interaction, it may be necessary to disable the platform's screen saver. The ScreenSaver (from QtSystemInfo) may be used to disable the screensaver in this fashion:</p>
<pre class="qml">import QtSystemInfo 5.0
<span class="type">ScreenSaver</span> { <span class="name">screenSaverEnabled</span>: <span class="number">false</span> }</pre>
<p><b>See also </b><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a> and <a href="qml-qtmultimedia-videooutput.html">VideoOutput</a>.</p>
<!-- @@@Video -->
<h2>Property Documentation</h2>
<!-- $$$autoLoad -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="autoLoad-prop"></a><span class="name">autoLoad</span> : <span class="type">bool</span></p></td></tr></table></div><div class="qmldoc"><p>This property indicates if loading of media should begin immediately.</p>
<p>Defaults to true, if false media will not be loaded until playback is started.</p>
</div></div><!-- @@@autoLoad -->
<br/>
<!-- $$$autoPlay -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="autoPlay-prop"></a><span class="name">autoPlay</span> : <span class="type">bool</span></p></td></tr></table></div><div class="qmldoc"><p>This property determines whether the media should begin playback automatically.</p>
<p>Setting to <tt>true</tt> also sets <a href="qml-qtmultimedia-video.html#autoLoad-prop">autoLoad</a> to <tt>true</tt>. The default is <tt>false</tt>.</p>
</div></div><!-- @@@autoPlay -->
<br/>
<!-- $$$availability -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="availability-prop"></a><span class="name">availability</span> : <span class="type">enumeration</span></p></td></tr></table></div><div class="qmldoc"><p>Returns the availability state of the video instance.</p>
<p>This is one of:</p>
<table class="generic">
<thead><tr class="qt-style"><th >Value</th><th >Description</th></tr></thead>
<tr valign="top" class="odd"><td ><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.Available</td><td >The video player is available to use.</td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.Busy</td><td >The video player is usually available, but some other process is utilizing the hardware necessary to play media.</td></tr>
<tr valign="top" class="odd"><td ><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.Unavailable</td><td >There are no supported video playback facilities.</td></tr>
<tr valign="top" class="even"><td ><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.ResourceMissing</td><td >There is one or more resources missing, so the video player cannot be used. It may be possible to try again at a later time.</td></tr>
</table>
</div></div><!-- @@@availability -->
<br/>
<!-- $$$bufferProgress -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="bufferProgress-prop"></a><span class="name">bufferProgress</span> : <span class="type">real</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds how much of the data buffer is currently filled, from 0.0 (empty) to 1.0 (full).</p>
</div></div><!-- @@@bufferProgress -->
<br/>
<!-- $$$duration -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="duration-prop"></a><span class="name">duration</span> : <span class="type">int</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the duration of the media in milliseconds.</p>
<p>If the media doesn't have a fixed duration (a live stream for example) this will be 0.</p>
</div></div><!-- @@@duration -->
<br/>
<!-- $$$error -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="error-prop"></a><span class="name">error</span> : <span class="type">enumeration</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the error state of the video. It can be one of:</p>
<ul>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.NoError - there is no current error.</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.ResourceError - the video cannot be played due to a problem allocating resources.</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.FormatError - the video format is not supported.</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.NetworkError - the video cannot be played due to network issues.</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.AccessDenied - the video cannot be played due to insufficient permissions.</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.ServiceMissing - the video cannot be played because the media service could not be instantiated.</li>
</ul>
</div></div><!-- @@@error -->
<br/>
<!-- $$$errorString -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="errorString-prop"></a><span class="name">errorString</span> : <span class="type">string</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds a string describing the current error condition in more detail.</p>
</div></div><!-- @@@errorString -->
<br/>
<!-- $$$fillMode -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="fillMode-prop"></a><span class="name">fillMode</span> : <span class="type">enumeration</span></p></td></tr></table></div><div class="qmldoc"><p>Set this property to define how the video is scaled to fit the target area.</p>
<ul>
<li><a href="qml-qtmultimedia-videooutput.html">VideoOutput</a>.Stretch - the video is scaled to fit</li>
<li><a href="qml-qtmultimedia-videooutput.html">VideoOutput</a>.PreserveAspectFit - the video is scaled uniformly to fit without cropping</li>
<li><a href="qml-qtmultimedia-videooutput.html">VideoOutput</a>.PreserveAspectCrop - the video is scaled uniformly to fill, cropping if necessary</li>
</ul>
<p>Because this type is for convenience in QML, it does not support enumerations directly, so enumerations from <tt>VideoOutput</tt> are used to access the available fill modes.</p>
<p>The default fill mode is preserveAspectFit.</p>
</div></div><!-- @@@fillMode -->
<br/>
<!-- $$$hasAudio -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="hasAudio-prop"></a><span class="name">hasAudio</span> : <span class="type">bool</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds whether the current media has audio content.</p>
</div></div><!-- @@@hasAudio -->
<br/>
<!-- $$$hasVideo -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="hasVideo-prop"></a><span class="name">hasVideo</span> : <span class="type">bool</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds whether the current media has video content.</p>
</div></div><!-- @@@hasVideo -->
<br/>
<!-- $$$metaData -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="metaData-prop"></a><span class="name">metaData</span> : <span class="type">alias</span></p></td></tr></table></div><div class="qmldoc"></div></div><!-- @@@metaData -->
<br/>
<!-- $$$muted -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="muted-prop"></a><span class="name">muted</span> : <span class="type">bool</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds whether the audio output is muted.</p>
</div></div><!-- @@@muted -->
<br/>
<!-- $$$orientation -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="orientation-prop"></a><span class="name">orientation</span> : <span class="type">int</span></p></td></tr></table></div><div class="qmldoc"><p>The orientation of the <tt>Video</tt> in degrees. Only multiples of 90 degrees is supported, that is 0, 90, 180, 270, 360, etc.</p>
</div></div><!-- @@@orientation -->
<br/>
<!-- $$$playbackRate -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="playbackRate-prop"></a><span class="name">playbackRate</span> : <span class="type">real</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the rate at which video is played at as a multiple of the normal rate.</p>
</div></div><!-- @@@playbackRate -->
<br/>
<!-- $$$playbackState -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="playbackState-prop"></a><span class="name">playbackState</span> : <span class="type">enumeration</span></p></td></tr></table></div><div class="qmldoc"><p>This read only property indicates the playback state of the media.</p>
<ul>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.PlayingState - the media is playing</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.PausedState - the media is paused</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.StoppedState - the media is stopped</li>
</ul>
<p>The default state is <a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.StoppedState.</p>
</div></div><!-- @@@playbackState -->
<br/>
<!-- $$$position -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="position-prop"></a><span class="name">position</span> : <span class="type">int</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the current playback position in milliseconds.</p>
<p>To change this position, use the <a href="qml-qtmultimedia-video.html#seek-method">seek()</a> method.</p>
<p><b>See also </b><a href="qml-qtmultimedia-video.html#seek-method">seek()</a>.</p>
</div></div><!-- @@@position -->
<br/>
<!-- $$$seekable -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="seekable-prop"></a><span class="name">seekable</span> : <span class="type">bool</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds whether the playback position of the video can be changed.</p>
<p>If true, calling the <a href="qml-qtmultimedia-video.html#seek-method">seek()</a> method will cause playback to seek to the new position.</p>
</div></div><!-- @@@seekable -->
<br/>
<!-- $$$source -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="source-prop"></a><span class="name">source</span> : <span class="type">url</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the source URL of the media.</p>
</div></div><!-- @@@source -->
<br/>
<!-- $$$status -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="status-prop"></a><span class="name">status</span> : <span class="type">enumeration</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the status of media loading. It can be one of:</p>
<ul>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.NoMedia - no media has been set.</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.Loading - the media is currently being loaded.</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.Loaded - the media has been loaded.</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.Buffering - the media is buffering data.</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.Stalled - playback has been interrupted while the media is buffering data.</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.Buffered - the media has buffered data.</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.EndOfMedia - the media has played to the end.</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.InvalidMedia - the media cannot be played.</li>
<li><a href="qml-qtmultimedia-mediaplayer.html">MediaPlayer</a>.UnknownStatus - the status of the media cannot be determined.</li>
</ul>
</div></div><!-- @@@status -->
<br/>
<!-- $$$volume -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlPropNode"><p><a name="volume-prop"></a><span class="name">volume</span> : <span class="type">real</span></p></td></tr></table></div><div class="qmldoc"><p>This property holds the volume of the audio output, from 0.0 (silent) to 1.0 (maximum volume).</p>
</div></div><!-- @@@volume -->
<br/>
<h2>Signal Documentation</h2>
<!-- $$$paused -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="paused-signal"></a><span class="name">paused</span>()</p></td></tr></table></div><div class="qmldoc"><p>This signal is emitted when playback is paused.</p>
</div></div><!-- @@@paused -->
<br/>
<!-- $$$playing -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="playing-signal"></a><span class="name">playing</span>()</p></td></tr></table></div><div class="qmldoc"><p>This signal is emitted when playback is started or continued.</p>
</div></div><!-- @@@playing -->
<br/>
<!-- $$$stopped -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="stopped-signal"></a><span class="name">stopped</span>()</p></td></tr></table></div><div class="qmldoc"><p>This signal is emitted when playback is stopped.</p>
</div></div><!-- @@@stopped -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$pause -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="pause-method"></a><span class="name">pause</span>()</p></td></tr></table></div><div class="qmldoc"><p>Pauses playback of the media.</p>
</div></div><!-- @@@pause -->
<br/>
<!-- $$$play -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="play-method"></a><span class="name">play</span>()</p></td></tr></table></div><div class="qmldoc"><p>Starts playback of the media.</p>
</div></div><!-- @@@play -->
<br/>
<!-- $$$seek -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="seek-method"></a><span class="name">seek</span>(<i> offset</i>)</p></td></tr></table></div><div class="qmldoc"><p>If the <a href="qml-qtmultimedia-video.html#seekable-prop">seekable</a> property is true, seeks the current playback position to <i>offset</i>.</p>
<p>Seeking may be asynchronous, so the <a href="qml-qtmultimedia-video.html#position-prop">position</a> property may not be updated immediately.</p>
<p><b>See also </b><a href="qml-qtmultimedia-video.html#seekable-prop">seekable</a> and <a href="qml-qtmultimedia-video.html#position-prop">position</a>.</p>
</div></div><!-- @@@seek -->
<br/>
<!-- $$$stop -->
<div class="qmlitem"><div class="qmlproto"><table class="qmlname"><tr valign="top" class="odd"><td class="tblQmlFuncNode"><p><a name="stop-method"></a><span class="name">stop</span>()</p></td></tr></table></div><div class="qmldoc"><p>Stops playback of the media.</p>
</div></div><!-- @@@stop -->
<br/>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2013 Digia Plc and/or its
subsidiaries. Documentation contributions included herein are the copyrights of
their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. </p>
</div>
</body>
</html>
|