Difference between revisions of "Screen on/off"

From A-SMIL.org
Jump to: navigation, search
(Created)
 
 
(5 intermediate revisions by one user not shown)
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">
 
+
<img id="mm1" src="media/CEC_before.jpg" fit="fill" dur="300s"/>
      <priorityClass>
+
<ref dur="120s" src="adapi:blankScreen"/>
        <seq begin="wallclock(R/2011-01-01T09:00:00/P1D)" end="wallclock(R/2011-01-01T17:00:00/P1D)">
+
    </seq>
          <!-- Playlist here -->
+
        </seq>
+
      </priorityClass>
+
 
+
      <priorityClass>
+
        <seq begin="0">
+
          <ref src="adapi:blankScreen" dur="indefinite" />
+
        </seq>
+
      </priorityClass>
+
 
+
    </excl>
+
 
   </body>
 
   </body>
 
</smil>
 
</smil>
  
 
</source>
 
</source>
 +
 +
Note. For full sample code, please refer to the SMIL folder that exported by SignApps Express.
 +
<br>SignApps Express download link: [http://support.iadea.com/hc/en-us/sections/202828806-SignApps-Express]
 +
== Related ==
 +
 +
* [[RS232]]: send custom serial command through RS232 port

Latest revision as of 10:00, 16 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