Difference between revisions of "License Enforcement via USB Update"

From A-SMIL.org
Jump to: navigation, search
m (Typo correction)
(Changed sample from using meta refresh to <a href>)
 
Line 8: Line 8:
 
<source lang="smil">
 
<source lang="smil">
 
<smil>
 
<smil>
     <head>
+
     <head/>
         <meta http-equiv="Refresh" content="0;url={smil-payerId()}/index.smil" />
+
    <body>
     </head>
+
         <a href="{smil-playerId()}/index.smil" actuate="onLoad" />
    <body/>
+
     </body>
 
</smil>
 
</smil>
 
</source>
 
</source>
  
Upon loading, this file would immediately redirect the SMIL player to look for a folder named by the ID of the targeted player and play the <tt>index.smil</tt> file in that folder.
+
Upon loading, this file would immediately activate the <a> link to send SMIL player to a folder named by the ID of the targeted player and play the <tt>index.smil</tt> file in that folder.
  
 
== Related ==
 
== Related ==
  
 
* Back to [[Main Page]]
 
* Back to [[Main Page]]

Latest revision as of 18:58, 29 October 2010

Updates via the USB stick can be a low cost option for networks where content is updated infrequently. However, the lack of content licensing control and therefore the inability to collect license fees in sneaker-net applications makes the model uninteresting to the content service providers. SMIL with its {smil-payerId()} XPath macro offers a solutions for the problem.

Master SMIL Control File

In the SMIL folder of the USB stick, a file named index.smil is the first file run after an USB update. The file can be used to load player ID-dependent SMILs and therefore restrict access only to those with permission. A master SMIL file would look like the following:

/SMIL/index.smil

<smil>
    <head/>
    <body>
        <a href="{smil-playerId()}/index.smil" actuate="onLoad" />
    </body>
</smil>

Upon loading, this file would immediately activate the <a> link to send SMIL player to a folder named by the ID of the targeted player and play the index.smil file in that folder.

Related