Difference between revisions of "Screen on/off"

From A-SMIL.org
Jump to: navigation, search
Line 1: Line 1:
 
You can put a display into power-saving, screen-saving stand-by mode by scheduling it to play a special A-SMIL media item <tt>adapi:blankScreen</tt> as the source of a <tt>&lt;ref&gt;</tt> item.
 
You can put a display into power-saving, screen-saving stand-by mode by scheduling it to play a special A-SMIL media item <tt>adapi:blankScreen</tt> as the source of a <tt>&lt;ref&gt;</tt> item.
  
For example, to play a playlist from 9AM to 5PM everyday but have the display put in stand-by in other hours, you can use the following SMIL script.
+
For example, to play a playlist that have the display put in stand-by for 2 minutes after play a 5-minute image, you can use the following SMIL script.
  
 
<source lang="smil">
 
<source lang="smil">
Line 8: Line 8:
 
   <head/>
 
   <head/>
 
   <body>
 
   <body>
     <excl repeatCount="indefinite">
+
     <seq repeatCount="indefinite">
        <seq id="foo" begin="wallclock(R/2011-01-01T09:00:00/P1D)" end="wallclock(R/2011-01-01T17:00:00/P1D)">
+
<img id="mm1" src="media/CEC_before.jpg" fit="fill" dur="300s"/>
          <!-- Playlist here -->
+
<ref dur="120s" src="adapi:blankScreen"/>
        </seq>  
+
     </seq>
<ref begin="0;foo.endEvent" src="adapi:blankScreen" dur="indefinite"/>  
+
     </excl>
+
 
   </body>
 
   </body>
 
</smil>
 
</smil>
  
 
</source>
 
</source>
 +
 +
Note. For full sample code, please refer to the SMIL folder that exported by SignApps Express.
 +
SignApps Express download link:
 +
[http://support.iadea.com/hc/en-us/sections/202828806-SignApps-Express]
  
 
== Related ==
 
== Related ==
  
 
* [[RS232]]: send custom serial command through RS232 port
 
* [[RS232]]: send custom serial command through RS232 port

Revision as of 08:55, 15 June 2017

You can put a display into power-saving, screen-saving stand-by mode by scheduling it to play a special A-SMIL media item adapi:blankScreen as the source of a <ref> item.

For example, to play a playlist that have the display put in stand-by for 2 minutes after play a 5-minute image, you can use the following SMIL script.

<smil>
  <head/>
  <body>
    <seq repeatCount="indefinite">
	<img id="mm1" src="media/CEC_before.jpg" fit="fill" dur="300s"/>
	<ref dur="120s" src="adapi:blankScreen"/>
    </seq>
  </body>
</smil>

Note. For full sample code, please refer to the SMIL folder that exported by SignApps Express. SignApps Express download link: [1]

Related

  • RS232: send custom serial command through RS232 port