Sample XML / mRSS file for jwplayer, and how to use mRSS for video SEO metadata

November 8, 2013 7:19 pm Tags: , , , No Comments 2 karma points

mRSS / XML playlist example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<rss version="2.0" 
	xmlns:media="http://search.yahoo.com/mrss/" 
	xmlns:jwplayer="http://developer.longtailvideo.com/trac/wiki/FlashFormats">
	<channel>
		<title>Example media RSS playlist</title>
 
		<item>
			<title>Video (mp4/ogv/flv)</title>
			<link />http://www.bigbuckbunny.org/
			<description>Big Buck Bunny is a short animated film by the Blender Institute, part of the Blender Foundation.</description>
			<pubdate>Sat, 07 Sep 2002 09:42:31 GMT</pubdate>
			<media:credit role="author">the Peach Open Movie Project</media:credit>
			<media:group>
				<media:content url="http://playertest.longtailvideo.com/bunny.mp4"></media:content>
				<media:content url="http://playertest.longtailvideo.com/bunny.ogv"></media:content>
				<media:content url="http://playertest.longtailvideo.com/bunny.flv"></media:content>
				<media:thumbnail url="http://playertest.longtailvideo.com/bunny.jpg"></media:thumbnail>
			</media:group>
		</item>
 
		<item>
			<title>Audio with thumb (mp3/ogg)</title>
			<link />http://www.bigbuckbunny.org/
			<description>This audio file will only play for 5 seconds.</description>
			<pubdate>Sat, 07 Sep 2002 09:42:31 GMT</pubdate>
			<media:credit role="author">the Peach Open Movie Project</media:credit>
			<media:group>
				<media:content url="http://playertest.longtailvideo.com/bunny.mp3"></media:content>
				<media:content url="http://playertest.longtailvideo.com/bunny.ogg"></media:content>
  			<media:thumbnail url="http://playertest.longtailvideo.com/bunny.jpg"></media:thumbnail>
		  </media:group>
			<jwplayer:duration>5</jwplayer:duration>
		</item>
 
		<item>
			<title>PNG Image with duration</title>
			<description>Big Buck Bunny is a short animated film by the Blender Institute, part of the Blender Foundation.</description>
			<pubdate>Sat, 07 Sep 2002 09:42:31 GMT</pubdate>
			<media:group>
				<media:credit role="author">the Peach Open Movie Project</media:credit>
  			<media:content url="http://playertest.longtailvideo.com/bunny.jpg" duration="10"></media:content>
			</media:group>
		</item>
 
		<item>
			<title>Youtube video with start</title>
			<link />http://www.bigbuckbunny.org/
			<description>Big Buck Bunny is a short animated film by the Blender Institute, part of the Blender Foundation.</description>
			<pubdate>Sat, 07 Sep 2002 09:42:31 GMT</pubdate>
			<media:group>
				<media:credit role="author">the Peach Open Movie Project</media:credit>
				<media:content url="http://youtube.com/watch?v=IBTE-RoMsvw"></media:content>
			</media:group>
			<jwplayer:start>10</jwplayer:start>
		</item>
 
 
	</channel>
</rss>

Here’s a mRSS example using a wide range of elements from the mRSS specification from the RSS Advisory board. Punch in some video metadata in your plugin, and google will index it with your video and all your enemies will be jealous of your high search engine results of your video:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"
  xmlns:georss="http://www.georss.org/georss"
  xmlns:gml="http://www.opengis.net/gml">
 
  <channel>
    <title>Song Site</title>
    <description>Media RSS example with new fields added in v1.5.0</description>
    <item>
      <link />http://www.foo.com
      <pubdate>Mon, 27 Aug 2001 16:08:56 PST</pubdate>
      <media:content url="http://www.foo.com/video.mov" fileSize="2000" bitrate="128" type="video/quicktime" expression="full"></media:content>
      <media:community>
        <media:starrating average="3.5" count="20" min="1" max="10"></media:starrating>
        <media:statistics views="5" favorites="5"></media:statistics>
        <media:tags>news: 5, abc:3</media:tags>
      </media:community>
      <media:comments>
        <media:comment>comment1</media:comment>
        <media:comment>comment2</media:comment>
      </media:comments>
      <media:embed url="http://www.foo.com/player.swf" width="512" height="323">
        <media:param name="type">application/x-shockwave-flash</media:param>
        <media:param name="width">512</media:param>
        <media:param name="height">323</media:param>
        <media:param name="allowFullScreen">true</media:param>
        <media:param name="flashVars">
          id=12345&amp;vid=678912i&amp;lang=en-us&amp;intl=us&amp;thumbUrl=http://
        </media:param>
      </media:embed>
      <media:responses>
        <media:response>http://gravlab.com</media:response>
        <media:response>http://gravlab.com</media:response>
      </media:responses>
      <media:backlinks>
        <media:backlink>http://www.backlink1.com</media:backlink>
        <media:backlink>http://www.backlink2.com</media:backlink>
      </media:backlinks>
      <media:status state="active"></media:status>
      <media:price type="rent" price="19.99" currency="EUR"></media:price>
      <media:license type="text/html" href="http://www.licensehost.com/license"> Sample license for a video</media:license>
      <media:subtitle type="application/smil" lang="en-us" href="http://www.foo.org/subtitle.smil"></media:subtitle>
      <media:peerlink type="application/x-bittorrent " href="http://www.foo.org/sampleFile.torrent"></media:peerlink>
      <media:location description="My house" start="00:01" end="01:00">
        <georss:where>
          <gml:point>
          <gml:pos>35.669998 139.770004</gml:pos>
          </gml:point>
        </georss:where>
      </media:location>
      <media:restriction type="sharing" relationship="deny"></media:restriction>
      <media:scenes>
        <media:scene>
          <scenetitle>sceneTitle1</scenetitle>
          <scenedescription>sceneDesc1</scenedescription>
          <scenestarttime>00:15</scenestarttime>
          <sceneendtime>00:45</sceneendtime>
        </media:scene>
      </media:scenes>
    </item>
  </channel>
</rss>
2 karma points