Difference between revisions of "Test"

From Mark Benecke Forensic Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<qt>file=Film.mov|width=586|height=490|autoplay=false|controller=true</qt>
 
<qt>file=Film.mov|width=586|height=490|autoplay=false|controller=true</qt>
 +
 +
== Syntax ==
 +
 +
=== Base Syntax ===
 +
<code><nowiki><qt></nowiki>file='''filename.mov'''|attribute='''value'''|...<nowiki></qt></nowiki></code>
 +
 +
=== Attribute Reference ===
 +
* '''width'''=px or % ''(Modify the width of the object)''
 +
* '''height'''=px or a% ''(Modify the height of the object)''
 +
* '''autoplay'''=true/false ''(Start playing the file or wait at first frame, default:true)''
 +
* '''controller'''=true/false ''(Show the controller, default:true)''
 +
* '''name''' (object-specific)
 +
* '''id''' (embed-specific)
 +
* '''src''' (embed-specific)
 +
 +
=== Examples ===
 +
<code><nowiki><qt></nowiki>file=film.mov|width=320|height=240|autoplay=true<nowiki></qt></nowiki></code>
 +
<br/>Shows the movie with the with a width of 320 and a height of 240 pixels that starts playing as soon as its loaded.
 +
 +
<code><nowiki><qt></nowiki>file=film.mov|width=320|height=240|autoplay=false|controller=true<nowiki></qt></nowiki></code>
 +
<br/>Shows the movie with the with a width of 320 and a height of 240 pixels that does not play when loaded, but waits for the user to click on the play button.

Revision as of 12:33, 22 April 2013

<qt>file=Film.mov|width=586|height=490|autoplay=false|controller=true</qt>

Syntax

Base Syntax

<qt>file=filename.mov|attribute=value|...</qt>

Attribute Reference

  • width=px or % (Modify the width of the object)
  • height=px or a% (Modify the height of the object)
  • autoplay=true/false (Start playing the file or wait at first frame, default:true)
  • controller=true/false (Show the controller, default:true)
  • name (object-specific)
  • id (embed-specific)
  • src (embed-specific)

Examples

<qt>file=film.mov|width=320|height=240|autoplay=true</qt>
Shows the movie with the with a width of 320 and a height of 240 pixels that starts playing as soon as its loaded.

<qt>file=film.mov|width=320|height=240|autoplay=false|controller=true</qt>
Shows the movie with the with a width of 320 and a height of 240 pixels that does not play when loaded, but waits for the user to click on the play button.