<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.returnofreckoning.com/index.php?action=history&amp;feed=atom&amp;title=API%3AVideoPlayerIsPlaying</id>
	<title>API:VideoPlayerIsPlaying - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.returnofreckoning.com/index.php?action=history&amp;feed=atom&amp;title=API%3AVideoPlayerIsPlaying"/>
	<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:VideoPlayerIsPlaying&amp;action=history"/>
	<updated>2026-10-17T07:53:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.returnofreckoning.com/index.php?title=API:VideoPlayerIsPlaying&amp;diff=30859&amp;oldid=prev</id>
		<title>Maintenance script: UI Lua API import (WAR 1.4.8)</title>
		<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:VideoPlayerIsPlaying&amp;diff=30859&amp;oldid=prev"/>
		<updated>2026-10-16T19:51:16Z</updated>

		<summary type="html">&lt;p&gt;UI Lua API import (WAR 1.4.8)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LuaApi|group=Interface}}&lt;br /&gt;
Returns whether the client&amp;#039;s video player is currently active.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
playing = VideoPlayerIsPlaying()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
;playing : &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; – &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; if the video player currently has a video.&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
* The client reports whether its video player object holds a video at the moment of the call.&lt;br /&gt;
* The stock video window follows the &amp;lt;code&amp;gt;SystemData.Events.VIDEO_PLAYER_START&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;SystemData.Events.VIDEO_PLAYER_STOP&amp;lt;/code&amp;gt; events, and calls &amp;lt;code&amp;gt;VideoPlayerIsPlaying&amp;lt;/code&amp;gt; once when it is created to catch a video that is already playing.&lt;br /&gt;
* Arguments are not checked; anything passed is ignored.&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
From &amp;lt;code&amp;gt;ea_videoplayer/source/videoplayer.lua&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function EA_Window_VideoPlayer.Initialize()&lt;br /&gt;
    WindowRegisterEventHandler( &amp;quot;EA_Window_VideoPlayer&amp;quot;, SystemData.Events.VIDEO_PLAYER_START, &amp;quot;EA_Window_VideoPlayer.OnVideoBegin&amp;quot; )&lt;br /&gt;
    WindowRegisterEventHandler( &amp;quot;EA_Window_VideoPlayer&amp;quot;, SystemData.Events.VIDEO_PLAYER_STOP, &amp;quot;EA_Window_VideoPlayer.OnVideoEnd&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
    if( VideoPlayerIsPlaying() )&lt;br /&gt;
    then&lt;br /&gt;
        EA_Window_VideoPlayer.OnVideoBegin()&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[API:WindowRegisterEventHandler|WindowRegisterEventHandler]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>