<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.deltaworlds.com/index.php?action=history&amp;feed=atom&amp;title=Media</id>
	<title>Media - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.deltaworlds.com/index.php?action=history&amp;feed=atom&amp;title=Media"/>
	<link rel="alternate" type="text/html" href="https://wiki.deltaworlds.com/index.php?title=Media&amp;action=history"/>
	<updated>2026-05-03T17:33:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.deltaworlds.com/index.php?title=Media&amp;diff=123&amp;oldid=prev</id>
		<title>Xan: Protected &quot;Media&quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://wiki.deltaworlds.com/index.php?title=Media&amp;diff=123&amp;oldid=prev"/>
		<updated>2023-05-28T14:58:00Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php/Media&quot; title=&quot;Media&quot;&gt;Media&lt;/a&gt;&amp;quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:58, 28 May 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Xan</name></author>
	</entry>
	<entry>
		<id>https://wiki.deltaworlds.com/index.php?title=Media&amp;diff=10&amp;oldid=prev</id>
		<title>Xan: Created page with &quot;{{feature|N/A|3.6}} Preparing to view media inside [[DeltaWorlds]] [[Image:Media2.jpg|300px|thumb|Clicking on one of the buttons to the right initiates the [http://www.youtube.com/watch?v=q26rqNGFA-E Alphaworld Exploration Demo Video] on the screen in-world]]  The &#039;&#039;media&#039;&#039; command allows the playback or interaction of a Windows Media Player compatiable media file. Audio and video can be played on any object but video and the OSD is only...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.deltaworlds.com/index.php?title=Media&amp;diff=10&amp;oldid=prev"/>
		<updated>2023-05-04T20:11:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{feature|N/A|3.6}} &lt;a href=&quot;/index.php/File:Media1.jpg&quot; title=&quot;File:Media1.jpg&quot;&gt;300px|thumb|Preparing to view media inside [[DeltaWorlds&lt;/a&gt;]] &lt;a href=&quot;/index.php/File:Media2.jpg&quot; title=&quot;File:Media2.jpg&quot;&gt;300px|thumb|Clicking on one of the buttons to the right initiates the [http://www.youtube.com/watch?v=q26rqNGFA-E Alphaworld Exploration Demo Video] on the screen in-world&lt;/a&gt;  The &amp;#039;&amp;#039;media&amp;#039;&amp;#039; command allows the playback or interaction of a Windows Media Player compatiable media file. Audio and video can be played on any object but video and the OSD is only...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{feature|N/A|3.6}}&lt;br /&gt;
[[Image:Media1.jpg|300px|thumb|Preparing to view media inside [[DeltaWorlds]]]]&lt;br /&gt;
[[Image:Media2.jpg|300px|thumb|Clicking on one of the buttons to the right initiates the [http://www.youtube.com/watch?v=q26rqNGFA-E Alphaworld Exploration Demo Video] on the screen in-world]]&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;media&amp;#039;&amp;#039; command allows the playback or interaction of a Windows Media Player compatiable media file. Audio and video can be played on any object but video and the OSD is only visible on surfaces tagged as 100 (sign) or 200 (picture). Playlists can be played since version 6.0 browser build 1356, when Microsoft&amp;#039;s WMP and DirectShow were replaced by VideoLan&amp;#039;s VLC.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;media&amp;#039;&amp;#039;&amp;#039; [url=]&amp;#039;&amp;#039;url&amp;#039;&amp;#039; [&amp;#039;&amp;#039;text&amp;#039;&amp;#039;] [name=&amp;#039;&amp;#039;name&amp;#039;&amp;#039;] [set OR pause OR stop] [color=&amp;#039;&amp;#039;color&amp;#039;&amp;#039;]&lt;br /&gt;
 [bcolor=&amp;#039;&amp;#039;bcolor&amp;#039;&amp;#039;] [res=&amp;#039;&amp;#039;res&amp;#039;&amp;#039;] [fx=&amp;#039;&amp;#039;fx&amp;#039;&amp;#039;] [radius=&amp;#039;&amp;#039;radius&amp;#039;&amp;#039;] [radoff=&amp;#039;&amp;#039;radoff&amp;#039;&amp;#039;]&lt;br /&gt;
 [vol=&amp;#039;&amp;#039;vol&amp;#039;&amp;#039;] [loop=&amp;#039;&amp;#039;loop&amp;#039;&amp;#039;] [osd=&amp;#039;&amp;#039;osd&amp;#039;&amp;#039;] [ext=&amp;#039;&amp;#039;ext&amp;#039;&amp;#039;] [nostop]  [nocache]&lt;br /&gt;
&lt;br /&gt;
===url===&lt;br /&gt;
The required &amp;#039;&amp;#039;url&amp;#039;&amp;#039; parameter is a web address or local path to the media file. If the url is empty and a name is specified, it will stop running media on all objects with the given name. The url&amp;#039;s prefix defaults to &amp;quot;http://&amp;quot; if no other protocol is specified.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;url=&amp;#039;&amp;#039; parameter identifier is only required if a &amp;#039;&amp;#039;text&amp;#039;&amp;#039; value is given.&lt;br /&gt;
&lt;br /&gt;
===text===&lt;br /&gt;
&amp;#039;&amp;#039;text&amp;#039;&amp;#039; is a [[Object scripting#String|string]] to display whilst playing media. If omitted, the text defaults to the contents of the object&amp;#039;s description field.&lt;br /&gt;
&lt;br /&gt;
===name===&lt;br /&gt;
&amp;#039;&amp;#039;[[name]]&amp;#039;&amp;#039; specifies the name of the same owner&amp;#039;s object to place the media on. &amp;lt;sup&amp;gt;5.0&amp;lt;/sup&amp;gt; If specified as &amp;quot;aw_3d&amp;quot;, the media will play in a centered overlay on the viewport, with controls to set the opacity, minimize and close the overlay.&lt;br /&gt;
&lt;br /&gt;
===set===&lt;br /&gt;
&amp;#039;&amp;#039;set&amp;#039;&amp;#039; changes the attributes of an already playing media on the fly, without pausing or stopping the stream. Resolution cannot be changed on the fly.&lt;br /&gt;
&lt;br /&gt;
===pause===&lt;br /&gt;
&amp;#039;&amp;#039;pause&amp;#039;&amp;#039; is used to pause running media. Triggering a subsequent pause causes the media to continue playing where it was paused before. Live feeds continue streaming in the background but rendering and audio is paused.&lt;br /&gt;
&lt;br /&gt;
===stop===&lt;br /&gt;
&amp;#039;&amp;#039;stop&amp;#039;&amp;#039; stops an object&amp;#039;s playing media.&lt;br /&gt;
&lt;br /&gt;
===color===&lt;br /&gt;
&amp;#039;&amp;#039;color&amp;#039;&amp;#039; specifies the [[Object scripting#Color|color]] to use for the OSD text.&lt;br /&gt;
&lt;br /&gt;
===bcolor===&lt;br /&gt;
&amp;#039;&amp;#039;bcolor&amp;#039;&amp;#039; specifies the [[Object scripting#Color|color]] to use for the background of the OSD.&lt;br /&gt;
&lt;br /&gt;
===res===&lt;br /&gt;
&amp;#039;&amp;#039;res&amp;#039;&amp;#039; specifies resolution used to the displayed video frames in pixel, if the media contains a video. Valid values are 64, 128, 256 (default) and 512 pixels. The proportions of the video (height and width) only depends on the sign&amp;#039;s proportions and not on the used resolution.&lt;br /&gt;
&lt;br /&gt;
===fx===&lt;br /&gt;
&amp;#039;&amp;#039;fx&amp;#039;&amp;#039; specifies a sound effect to apply to the media. The only option is &amp;#039;&amp;#039;3d&amp;#039;&amp;#039;; this causes the sound to pan according to the avatar&amp;#039;s position.&lt;br /&gt;
&lt;br /&gt;
===radius===&lt;br /&gt;
&amp;#039;&amp;#039;radius&amp;#039;&amp;#039; specifies the maximum radius in meters the media can be heard. The default radius is 30 meters.&lt;br /&gt;
&lt;br /&gt;
===radoff===&lt;br /&gt;
&amp;#039;&amp;#039;radoff&amp;#039;&amp;#039; specifies the maximum radius in meters the media stream will play. The default radoff is 30 meters. &amp;#039;&amp;#039;radoff&amp;#039;&amp;#039; cannot be smaller than &amp;#039;&amp;#039;radius&amp;#039;&amp;#039;. Going beyond this radius stops the media.&lt;br /&gt;
&lt;br /&gt;
===vol===&lt;br /&gt;
&amp;#039;&amp;#039;vol&amp;#039;&amp;#039; specifies the relative volume of the played sound in percent. Valid values are in the range from 0 to 100, where 0% is muted and 100% is full volume. Default is 100%.&lt;br /&gt;
&lt;br /&gt;
===loop===&lt;br /&gt;
&amp;#039;&amp;#039;loop&amp;#039;&amp;#039; specifies the count of loops to play the specified media file. Valid values are in the range from 1 to 2147483647. Default is 1.&lt;br /&gt;
&lt;br /&gt;
===osd===&lt;br /&gt;
&amp;#039;&amp;#039;osd&amp;#039;&amp;#039;, also known as &amp;#039;&amp;#039;on-screen display&amp;#039;&amp;#039;, is a [[Object scripting#Boolean|boolean]] parameter that specifies if a TV-like on-screen-display should be displayed on top of the video frames.&lt;br /&gt;
&lt;br /&gt;
===ext===&lt;br /&gt;
&amp;#039;&amp;#039;ext&amp;#039;&amp;#039; is a [[Object scripting#Boolean|boolean]] parameter which forces the video to play in an external window. If the media only contains audio, no external window is displayed.&lt;br /&gt;
&lt;br /&gt;
===nostop===&lt;br /&gt;
&amp;#039;&amp;#039;nostop&amp;#039;&amp;#039; prevents mouse clicks from stopping media. Objects using the bump trigger always have this option set, to avoid subsequent on/off triggering of the media command. In conjunction with the activate trigger, this disables the toggle-switch-function, which is applied on media signs by default. When used with the create trigger the nostop argument has no effect.&lt;br /&gt;
&lt;br /&gt;
===nocache===&lt;br /&gt;
&amp;#039;&amp;#039;nocache&amp;#039;&amp;#039; prevents files with an extension .mp3 or .wav from been cached. This will allow, eg. special configured icecast streams that use a file name and an extension in an url, to be streamed instead of downloaded to cache. Use this option only, if you are certain the server is media streaming server. Note, if the &amp;#039;&amp;#039;nocache&amp;#039;&amp;#039; option is not given, ie forgotten, caching of a .mp3 or .wav can not be interrupted until a stream error or an end of file condition has been reached, and the cached version will be replayed on any later access. The option was added to version 6.4 build 1512.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
 create media umpd.umd.edu/sirens/video/Windows/EWdownload.wmv&lt;br /&gt;
This creates and plays the given media stream as soon the used sign object comes within your avatar&amp;#039;s view range.&lt;br /&gt;
&lt;br /&gt;
 Object #1:&lt;br /&gt;
 create sign color=orange, name foo&lt;br /&gt;
 Object #2:&lt;br /&gt;
 activate media name=foo umpd.umd.edu/sirens/video/Windows/EWdownload.wmv&lt;br /&gt;
This creates an empty sign object at first. As soon the activate command on the other object is triggered, the given media stream is displayed on the sign object named foo.&lt;br /&gt;
&lt;br /&gt;
 create sign bcolor=red; activate media 212.109.3.19:8000 &lt;br /&gt;
This creates an object that when clicked on, starts the media, and when clicked on the second time it switches it off again.&lt;br /&gt;
&lt;br /&gt;
 Object #1:&lt;br /&gt;
 create sign, name foo, solid off; bump media 212.109.3.19:8000&lt;br /&gt;
 Object #2:&lt;br /&gt;
 create sign, name foo; bump media stop name=foo&lt;br /&gt;
If your avatar collides with the first object, it will start the media. When colliding with the other object it stops the running media.&lt;br /&gt;
&lt;br /&gt;
 Object #1:&lt;br /&gt;
 create sign, name foo; activate media 212.109.3.19:8000&lt;br /&gt;
 Object #2:&lt;br /&gt;
 activate media pause name=foo&lt;br /&gt;
This creates and plays the given media stream which can be paused by clicking the other object.&lt;br /&gt;
&lt;br /&gt;
 Object #1:&lt;br /&gt;
 create sign, name foo; activate media url=212.109.3.19:8000&lt;br /&gt;
 Object #2:&lt;br /&gt;
 activate media set vol=50 osd=off name=foo activate media set vol=100 osd=on name=foo&lt;br /&gt;
This will change the parameters of an already playing media.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
* Playback of some files is subject to the codecs installed on the user&amp;#039;s system. The safest formats to use are .wmv and .wma for video and audio, respectively.&lt;br /&gt;
* Media playback may be disabled in the browser&amp;#039;s [[Settings]], within the &amp;#039;&amp;#039;Downloads&amp;#039;&amp;#039; tab.&lt;br /&gt;
* On a world level, media playback may be prevented from being triggered by [[create]] in the Options section of the [[World]]&amp;#039;s features.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[http://www.videolan.org VideoLan&amp;#039;s VLC]&amp;#039;&amp;#039;&amp;#039; - Official website for references &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[http://www.microsoft.com/windows/windowsmedia/default.mspx Windows Media Player]&amp;#039;&amp;#039;&amp;#039; - Official website for download (obsolete since v6.0.1356)&lt;br /&gt;
&lt;br /&gt;
{{Build}}&lt;br /&gt;
[[Category:Building commands]]&lt;br /&gt;
[[Category:3.6]]&lt;br /&gt;
[[nl:Commando:Media]]&lt;/div&gt;</summary>
		<author><name>Xan</name></author>
	</entry>
</feed>