<?xml version="1.0"?>
<smil xmlns="http://www.w3.org/2001/SMIL20/Language" xmlns:xmlext="http://www.rian.ru/xmlext" xmlns:smil="http://www.w3.org/ns/SMIL" xmlns:rian="http://www.rian.ru">
    <head>
        <customAttributes>
          <customTest xmlext:id="fullscreen" defaultState="false" />
          <customTest xmlext:id="normal" defaultState="true" />
        </customAttributes>
        <switch>
          <layout customTest="fullscreen">
              <region z-index="1" regionName="video" top="0" right="0" bottom="85" left="0" fit="meet" rian:vAlign="top"/>
              <region z-index="2" regionName="error" top="0" right="0" bottom="85" left="0" fit="fill"/>
              <region z-index="3" regionName="controlbar" right="0" height="85" bottom="0" left="0" fit="fill"/>
              <region z-index="4" regionName="playButton" top="0" right="0" bottom="85" left="0" fit="fill" rian:vAlign="middle" />
              <region z-index="9" regionName="reconnect" top="0" right="0" bottom="85" left="0" fit="fill"/>
          </layout>
          <layout customTest="normal">
              <region z-index="1" regionName="video" top="0" right="0" bottom="85" left="0" fit="meet" rian:vAlign="top"/>
              <region z-index="2" regionName="error" top="0" right="0" bottom="85" left="0" fit="fill"/>
              <region z-index="3" regionName="controlbar" right="0" height="85" bottom="0" left="0" fit="fill"/>
              <region z-index="4" regionName="playButton" top="0" right="0" bottom="85" left="0" fit="fill" rian:vAlign="middle" />
              <region z-index="9" regionName="reconnect" top="0" right="0" bottom="85" left="0" fit="fill"/>
          </layout>
        </switch>
    </head>
    <body>
        <par>
            <ref type="ru.rian.player.elements.PlayerConfig">
               <param name="plugin" value="http://archive.government.ru/swf/special/lib/PlayerConfigPlugin.swf" valuetype="ref"/>
               <param name="bufferTime" value="3" valuetype="data"/>
            </ref>

            <seq region="video" xmlext:id="pl" rian:type="playList" rian:autoRewind="true">

                <img src="http://archive.government.ru/media/2013/5/20/56382/preview.jpeg" type="ru.rian.player.elements.PosterImage">
                    <param name="plugin" value="http://archive.government.ru/swf/special/lib/PosterImagePlugin.swf" valuetype="ref"/>
                </img>
                <video rian:streamType="liveOrRecorded" src="http://archive.government.ruNone" />
            </seq>
            
            <ref region="playButton" type="ru.rian.player.elements.PlayButton" src="http://archive.government.ru/swf/special/assets/playbtn.swf">
                <param name="plugin" value="http://archive.government.ru/swf/special/lib/PlayButtonPlugin.swf" valuetype="ref" />
                <param name="playList" value="pl" />
                <param name="reference" value="pl"  valuetype="object" />
            </ref>

            <ref region="reconnect" type="ru.rian.player.utils.Reconnection">
                <param name="plugin" value="http://archive.government.ru/swf/special/lib/ReconnectionPlugin.swf" valuetype="ref"/>
                <param name="reference" value="pl" valuetype="object"/>
            </ref>

            <ref region="controlbar" type="ru.rian.player.elements.ControlBar">
                <param name="plugin" value="http://archive.government.ru/swf/special/lib/CBPlugin.swf" valuetype="ref"/>
                <param name="reference" value="pl,info" valuetype="object"/>
                <param name="assetPath" value="http://archive.government.ru/swf/special/assets/video/configuration.xml"/>
                <param name="skinBaseUrl" value="http://archive.government.ru/swf/special/assets/video/"/>
                <param name="dataProvider" value="info"/>
                <param name="timeVar" value="VideoLen"/>
                <param name="fullScreenLayout" value="fullscreen" />
            </ref>
                                   
            <ref region="error" type="ru.rian.player.error.ErrorPlugin">
                <param name="plugin" value="http://archive.government.ru/swf/special/lib/ErrorPlugin.swf" valuetype="ref" />
                <param name="reference" value="pl"  valuetype="object" />
            </ref>

            <ref xmlext:id="info" type="ru.rian.player.elements.data.common.ElementParam">
                <param name="plugin" value="http://archive.government.ru/swf/special/lib/CommonDataProviders.swf" valuetype="ref"/>
                <param name="VideoLen" value="70"/>
            </ref>
        </par>
    </body>
</smil>
