﻿<playlist>		<!-- This is the main tag of the XML file. There should always be main tag. -->
	
	<!-- The list of videos -->
	<items>
	
		<!-- Information for video 1 -->
		<item>
			<!--
			This node should contain the path/URL to the video. The URL can be either absolute or relative
			to another path.
			-->
			<source>http://www.mydomain.com/player/videos/video_1.mp4</source>
			
			<!--
			This node should contain the path/URL to the alternative video. The URL can be either absolute or
			relative to another path.
			-->
			<sourceAlt>http://www.mydomain.com/player/videos/video_1.webm</sourceAlt>
			
			<!--
			This node should contain the path/URL to the second alternative video. The URL can be either 
			absolute or relative to another path.
			-->
			<sourceAlt2>http://www.mydomain.com/player/videos/video_1.ogv</sourceAlt2>
			
			<!--
			This node should contain the path/URL to the HD video. The URL can be either absolute or relative
			to another path.
			-->
			<hdSource>http://www.mydomain.com/player/videos/video_1_HD.mp4</hdSource>
			
			<!--
			This node should contain the path/URL to the alternative HD video. The URL can be either absolute
			or relative to another path.
			-->
			<hdSourceAlt>http://www.mydomain.com/player/videos/video_1_HD.webm</hdSourceAlt>
			
			<!--
			This node should contain the path/URL to the second alternative HD video. The URL can be either
			absolute or relative to another path.
			-->
			<hdSourceAlt2>http://www.mydomain.com/player/videos/video_1_HD.ogv</hdSourceAlt2>
						
			<!--
			This node should contain the type of the video. Possible values are: direct (for standard video formats), 
			youtube (for YouTube videos), rtmp (for RTMP streaming) or sound (for .mp3 audio files)
			-->
			<sourceType>direct</sourceType>
			
			<!--
			This node should contain the server + path of your RTMP application. Use this node only if the sourceType is "rtmp".
			-->
			<streamer>rtmp://www.myserver.com/myproject/</streamer>
			
			<!--
			This node indicates whether this video will be played firstly. Only one playlist item can have the startFromThis
			property set to true.
			-->
			<startFromThis>true</startFromThis>
			
			<!--
			The title and description for each video must be specified
			within the CDATA tag of the <title> and <description> nodes.
			-->
			<title><![CDATA[Title for video 1]]></title>
			<description><![CDATA[This would be a short description of video 1]]></description>
			
			<!--
			This node specifies the duration of the video in seconds. If this value is not specified, the 
			displayed total time of the video will be 00:00 until the video begins to load.
			-->
			<duration>180</duration>
			
			<!--
			This node should contain the path/URL to the cover image of the video. The URL can be either
			absolute or relative to another path. If this property is not specified, a default cover image
			will be displayed. This image is used as thumbnail image too, if the player displays thumbnails.
			-->
			<image>http://www.mydomain.com/player/images/coverImage_1.jpg</image>			
		</item>		
		
		<!-- Information for video 2 -->
		<item>
			<source>http://www.mydomain.com/player/videos/video_2.mp4</source>
			<sourceAlt>http://www.mydomain.com/player/videos/video_2.webm</sourceAlt>
			<sourceAlt2>http://www.mydomain.com/player/videos/video_2.ogv</sourceAlt2>
			<hdSource>http://www.mydomain.com/player/videos/video_2_HD.mp4</hdSource>
			<hdSourceAlt>http://www.mydomain.com/player/videos/video_2_HD.webm</hdSourceAlt>
			<hdSourceAlt2>http://www.mydomain.com/player/videos/video_2_HD.ogv</hdSourceAlt2>
			<sourceType>direct</sourceType>
			<startFromThis>false</startFromThis>
			<title><![CDATA[Title for video 2]]></title>
			<description><![CDATA[This would be a short description of video 2]]></description>			
			<duration>210</duration>
			<image>http://www.mydomain.com/player/images/coverImage_2.jpg</image>			
		</item>	
		
		<!-- Information for video 3 (youtube video) -->
		<item>
			<source>http://www.youtube.com/v=video_id</source>
			<sourceType>youtube</sourceType>
			<startFromThis>false</startFromThis>
			<title><![CDATA[Title for video 3]]></title>
			<description><![CDATA[This would be a short description of video 3]]></description>			
			<duration>240</duration>
			<image>http://www.mydomain.com/player/images/coverImage_3.jpg</image>			
		</item>
		
		<!-- Other items... -->
		
	</items> <!-- The video list ends here -->
	
</playlist>