Index: /trunk/ova.flowplayer/src/org/openvideoads/plugin/flowplayer/streamer/OpenAdStreamer.as
===================================================================
--- /trunk/ova.flowplayer/src/org/openvideoads/plugin/flowplayer/streamer/OpenAdStreamer.as	(revision 344)
+++ /trunk/ova.flowplayer/src/org/openvideoads/plugin/flowplayer/streamer/OpenAdStreamer.as	(revision 345)
@@ -71,5 +71,5 @@
      
         protected static var CONTROLBAR_HEIGHT:int = 29;   
-        public static var OAS_VERSION:String = "v0.6.0 (build 29)";
+        public static var OAS_VERSION:String = "v0.6.0 (build 31)";
         
         protected static var STREAMING_PROVIDERS:Object = {
Index: /trunk/ova.jwplayer.4x/scripts/publish/templates/pages/ad-servers/adform/example01.html
===================================================================
--- /trunk/ova.jwplayer.4x/scripts/publish/templates/pages/ad-servers/adform/example01.html	(revision 345)
+++ /trunk/ova.jwplayer.4x/scripts/publish/templates/pages/ad-servers/adform/example01.html	(revision 345)
@@ -0,0 +1,67 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+<title>Example 1 - A VAST 2.0 pre-roll ad only</title>
+</head>
+<body>
+<script type="text/javascript" src="OVA_DIST_JS_3ova-examples.js"></script>
+<style type="text/css">
+<!--
+  @import url(OVA_DIST_CSS_3global.css);
+-->
+</style>
+<script type="text/javascript">var OVA_CONFIG='ad-servers/adform/ova01.xml';</script>
+<h2>Example 1 - A VAST 2.0 pre-roll ad only</h2>
+<p class="example"></p>
+<script type="text/javascript">document.write(writePlayerEmbedCode(OVA_CONFIG, 3, 450, 300));</script>
+<p>
+The configuration for this example is:
+</p>
+<div class="codebox">
+<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap !important; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">
+<code>
+<script type="text/javascript">document.write(htmlEncode(writePlayerEmbedCode(OVA_CONFIG, 3, 450, 300)));</script>
+</code>
+</pre>
+</div>
+<p>
+"<script type="text/javascript">document.write(OVA_CONFIG)</script>" is defined as:
+</p>
+<div class="codebox">
+<pre>
+<code class="xml">
+&lt;config&gt;
+   &lt;ova.title&gt;
+       Example 1 - A VAST 1.0 pre-roll ad only
+   &lt;/ova.title&gt;
+   &lt;ova.json&gt;
+       {
+            "debug": {
+                "debugger": "firebug",
+                "levels": "OVA_DEBUG"
+            },
+
+            "ads": {
+                "pauseOnClickThrough": true,
+                "servers": [
+                   {
+                      "type": "Adform",
+                      "apiAddress": "http://track.adform.net/serving/videoad"
+                   }
+                ],
+                "schedule": [
+                    {
+                      "zone": "453599",
+                      "position": "pre-roll"
+                    }
+                ]
+            }
+       }
+   &lt;/ova.json&gt;
+&lt;/config&gt;
+</code>
+</pre>
+</div>
+</body>
+</html>
Index: /trunk/ova.jwplayer.4x/scripts/publish/templates/pages/ad-servers/index.html
===================================================================
--- /trunk/ova.jwplayer.4x/scripts/publish/templates/pages/ad-servers/index.html	(revision 341)
+++ /trunk/ova.jwplayer.4x/scripts/publish/templates/pages/ad-servers/index.html	(revision 345)
@@ -19,4 +19,8 @@
 <li><a href="247-real-media/example01.html">VAST 1.0 Delivering a Linear video (pre-roll) ad</a></li>
 <li><a href="247-real-media/example02.html">VAST 1.0 Delivering a Non-Linear (overlay) ad with a video pre-roll</a></li>
+</ul>
+<li><b>Adform</b></li>
+<ul>
+<li><a href="adform/example01.html">VAST 2.0 Delivering a linear (pre-roll) ad</a></li>
 </ul>
 <li><b>Adify</b></li>
Index: /trunk/ova.jwplayer.4x/scripts/publish/templates/config/ad-servers/adform/ova01.xml
===================================================================
--- /trunk/ova.jwplayer.4x/scripts/publish/templates/config/ad-servers/adform/ova01.xml	(revision 345)
+++ /trunk/ova.jwplayer.4x/scripts/publish/templates/config/ad-servers/adform/ova01.xml	(revision 345)
@@ -0,0 +1,29 @@
+<config>
+   <ova.title>
+       A VAST 2.0 pre-roll ad only
+   </ova.title>
+   <ova.json>
+       {
+            "debug": {
+                "debugger": "firebug",
+                "levels": "OVA_DEBUG"
+            },
+
+            "ads": {
+                "pauseOnClickThrough": true,
+                "servers": [
+                   {
+                      "type": "Adform",
+                      "apiAddress": "http://track.adform.net/serving/videoad"
+                   }
+                ],
+                "schedule": [
+                   {
+                      "zone": "453599",
+                      "position": "pre-roll"
+                   }
+                ]
+            }
+       }
+   </ova.json>
+</config>
Index: /trunk/ova.jwplayer.4x/examples/pages/ad-servers/adform/example01.html
===================================================================
--- /trunk/ova.jwplayer.4x/examples/pages/ad-servers/adform/example01.html	(revision 345)
+++ /trunk/ova.jwplayer.4x/examples/pages/ad-servers/adform/example01.html	(revision 345)
@@ -0,0 +1,67 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+<title>Example 1 - A VAST 2.0 pre-roll ad only</title>
+</head>
+<body>
+<script type="text/javascript" src="../../../../dist/js/ova-examples.js"></script>
+<style type="text/css">
+<!--
+  @import url(../../../../dist/css/global.css);
+-->
+</style>
+<script type="text/javascript">var OVA_CONFIG='ad-servers/adform/ova01.xml';</script>
+<h2>Example 1 - A VAST 2.0 pre-roll ad only</h2>
+<p class="example"></p>
+<script type="text/javascript">document.write(writePlayerEmbedCode(OVA_CONFIG, 3, 450, 300));</script>
+<p>
+The configuration for this example is:
+</p>
+<div class="codebox">
+<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap !important; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">
+<code>
+<script type="text/javascript">document.write(htmlEncode(writePlayerEmbedCode(OVA_CONFIG, 3, 450, 300)));</script>
+</code>
+</pre>
+</div>
+<p>
+"<script type="text/javascript">document.write(OVA_CONFIG)</script>" is defined as:
+</p>
+<div class="codebox">
+<pre>
+<code class="xml">
+&lt;config&gt;
+   &lt;ova.title&gt;
+       Example 1 - A VAST 1.0 pre-roll ad only
+   &lt;/ova.title&gt;
+   &lt;ova.json&gt;
+       {
+            "debug": {
+                "debugger": "firebug",
+                "levels": "fatal, config, vast_template"
+            },
+
+            "ads": {
+                "pauseOnClickThrough": true,
+                "servers": [
+                   {
+                      "type": "Adform",
+                      "apiAddress": "http://track.adform.net/serving/videoad"
+                   }
+                ],
+                "schedule": [
+                    {
+                      "zone": "453599",
+                      "position": "pre-roll"
+                    }
+                ]
+            }
+       }
+   &lt;/ova.json&gt;
+&lt;/config&gt;
+</code>
+</pre>
+</div>
+</body>
+</html>
Index: /trunk/ova.jwplayer.4x/examples/pages/ad-servers/index.html
===================================================================
--- /trunk/ova.jwplayer.4x/examples/pages/ad-servers/index.html	(revision 341)
+++ /trunk/ova.jwplayer.4x/examples/pages/ad-servers/index.html	(revision 345)
@@ -19,4 +19,8 @@
 <li><a href="247-real-media/example01.html">VAST 1.0 Delivering a Linear video (pre-roll) ad</a></li>
 <li><a href="247-real-media/example02.html">VAST 1.0 Delivering a Non-Linear (overlay) ad with a video pre-roll</a></li>
+</ul>
+<li><b>Adform</b></li>
+<ul>
+<li><a href="adform/example01.html">VAST 2.0 Delivering a linear (pre-roll) ad</a></li>
 </ul>
 <li><b>Adify</b></li>
Index: /trunk/ova.jwplayer.4x/examples/config/ad-servers/adform/ova01.xml
===================================================================
--- /trunk/ova.jwplayer.4x/examples/config/ad-servers/adform/ova01.xml	(revision 345)
+++ /trunk/ova.jwplayer.4x/examples/config/ad-servers/adform/ova01.xml	(revision 345)
@@ -0,0 +1,29 @@
+<config>
+   <ova.title>
+       A VAST 2.0 pre-roll ad only
+   </ova.title>
+   <ova.json>
+       {
+            "debug": {
+                "debugger": "firebug",
+                "levels": "fatal, config, vast_template"
+            },
+
+            "ads": {
+                "pauseOnClickThrough": true,
+                "servers": [
+                   {
+                      "type": "Adform",
+                      "apiAddress": "http://track.adform.net/serving/videoad"
+                   }
+                ],
+                "schedule": [
+                   {
+                      "zone": "453599",
+                      "position": "pre-roll"
+                   }
+                ]
+            }
+       }
+   </ova.json>
+</config>
Index: /trunk/ova.jwplayer.5x/scripts/publish/templates/pages/ad-servers/adform/example01.html
===================================================================
--- /trunk/ova.jwplayer.5x/scripts/publish/templates/pages/ad-servers/adform/example01.html	(revision 345)
+++ /trunk/ova.jwplayer.5x/scripts/publish/templates/pages/ad-servers/adform/example01.html	(revision 345)
@@ -0,0 +1,67 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+<title>Example 1 - A VAST 2.0 pre-roll ad only</title>
+</head>
+<body>
+<script type="text/javascript" src="OVA_DIST_JS_3ova-examples.js"></script>
+<style type="text/css">
+<!--
+  @import url(OVA_DIST_CSS_3global.css);
+-->
+</style>
+<script type="text/javascript">var OVA_CONFIG='ad-servers/adform/ova01.xml';</script>
+<h2>Example 1 - A VAST 2.0 pre-roll ad only</h2>
+<p class="example"></p>
+<script type="text/javascript">document.write(writePlayerEmbedCode(OVA_CONFIG, 3, 450, 300));</script>
+<p>
+The configuration for this example is:
+</p>
+<div class="codebox">
+<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap !important; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">
+<code>
+<script type="text/javascript">document.write(htmlEncode(writePlayerEmbedCode(OVA_CONFIG, 3, 450, 300)));</script>
+</code>
+</pre>
+</div>
+<p>
+"<script type="text/javascript">document.write(OVA_CONFIG)</script>" is defined as:
+</p>
+<div class="codebox">
+<pre>
+<code class="xml">
+&lt;config&gt;
+   &lt;ova.title&gt;
+       Example 1 - A VAST 1.0 pre-roll ad only
+   &lt;/ova.title&gt;
+   &lt;ova.json&gt;
+       {
+            "debug": {
+                "debugger": "firebug",
+                "levels": "OVA_DEBUG"
+            },
+
+            "ads": {
+                "pauseOnClickThrough": true,
+                "servers": [
+                   {
+                      "type": "Adform",
+                      "apiAddress": "http://track.adform.net/serving/videoad"
+                   }
+                ],
+                "schedule": [
+                    {
+                      "zone": "453599",
+                      "position": "pre-roll"
+                    }
+                ]
+            }
+       }
+   &lt;/ova.json&gt;
+&lt;/config&gt;
+</code>
+</pre>
+</div>
+</body>
+</html>
Index: /trunk/ova.jwplayer.5x/scripts/publish/templates/pages/ad-servers/index.html
===================================================================
--- /trunk/ova.jwplayer.5x/scripts/publish/templates/pages/ad-servers/index.html	(revision 322)
+++ /trunk/ova.jwplayer.5x/scripts/publish/templates/pages/ad-servers/index.html	(revision 345)
@@ -19,4 +19,8 @@
 <li><a href="247-real-media/example01.html">VAST 1.0 Delivering a Linear video (pre-roll) ad</a></li>
 <li><a href="247-real-media/example02.html">VAST 1.0 Delivering a Non-Linear (overlay) ad with a video pre-roll</a></li>
+</ul>
+<li><b>Adform</b></li>
+<ul>
+<li><a href="adform/example01.html">VAST 2.0 Delivering a linear (pre-roll) ad</a></li>
 </ul>
 <li><b>Adify</b></li>
Index: /trunk/ova.jwplayer.5x/scripts/publish/templates/config/ad-servers/adform/ova01.xml
===================================================================
--- /trunk/ova.jwplayer.5x/scripts/publish/templates/config/ad-servers/adform/ova01.xml	(revision 345)
+++ /trunk/ova.jwplayer.5x/scripts/publish/templates/config/ad-servers/adform/ova01.xml	(revision 345)
@@ -0,0 +1,29 @@
+<config>
+   <ova.title>
+       A VAST 2.0 pre-roll ad only
+   </ova.title>
+   <ova.json>
+       {
+            "debug": {
+                "debugger": "firebug",
+                "levels": "OVA_DEBUG"
+            },
+
+            "ads": {
+                "pauseOnClickThrough": true,
+                "servers": [
+                   {
+                      "type": "Adform",
+                      "apiAddress": "http://track.adform.net/serving/videoad"
+                   }
+                ],
+                "schedule": [
+                   {
+                      "zone": "453599",
+                      "position": "pre-roll"
+                   }
+                ]
+            }
+       }
+   </ova.json>
+</config>
Index: /trunk/ova.jwplayer.5x/examples/pages/ad-servers/adform/example01.html
===================================================================
--- /trunk/ova.jwplayer.5x/examples/pages/ad-servers/adform/example01.html	(revision 345)
+++ /trunk/ova.jwplayer.5x/examples/pages/ad-servers/adform/example01.html	(revision 345)
@@ -0,0 +1,67 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+<title>Example 1 - A VAST 2.0 pre-roll ad only</title>
+</head>
+<body>
+<script type="text/javascript" src="../../../../dist/js/ova-examples.js"></script>
+<style type="text/css">
+<!--
+  @import url(../../../../dist/css/global.css);
+-->
+</style>
+<script type="text/javascript">var OVA_CONFIG='ad-servers/adform/ova01.xml';</script>
+<h2>Example 1 - A VAST 2.0 pre-roll ad only</h2>
+<p class="example"></p>
+<script type="text/javascript">document.write(writePlayerEmbedCode(OVA_CONFIG, 3, 450, 300));</script>
+<p>
+The configuration for this example is:
+</p>
+<div class="codebox">
+<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap !important; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">
+<code>
+<script type="text/javascript">document.write(htmlEncode(writePlayerEmbedCode(OVA_CONFIG, 3, 450, 300)));</script>
+</code>
+</pre>
+</div>
+<p>
+"<script type="text/javascript">document.write(OVA_CONFIG)</script>" is defined as:
+</p>
+<div class="codebox">
+<pre>
+<code class="xml">
+&lt;config&gt;
+   &lt;ova.title&gt;
+       Example 1 - A VAST 1.0 pre-roll ad only
+   &lt;/ova.title&gt;
+   &lt;ova.json&gt;
+       {
+            "debug": {
+                "debugger": "firebug",
+                "levels": "fatal, config, vast_template"
+            },
+
+            "ads": {
+                "pauseOnClickThrough": true,
+                "servers": [
+                   {
+                      "type": "Adform",
+                      "apiAddress": "http://track.adform.net/serving/videoad"
+                   }
+                ],
+                "schedule": [
+                    {
+                      "zone": "453599",
+                      "position": "pre-roll"
+                    }
+                ]
+            }
+       }
+   &lt;/ova.json&gt;
+&lt;/config&gt;
+</code>
+</pre>
+</div>
+</body>
+</html>
Index: /trunk/ova.jwplayer.5x/examples/pages/ad-servers/index.html
===================================================================
--- /trunk/ova.jwplayer.5x/examples/pages/ad-servers/index.html	(revision 326)
+++ /trunk/ova.jwplayer.5x/examples/pages/ad-servers/index.html	(revision 345)
@@ -19,4 +19,8 @@
 <li><a href="247-real-media/example01.html">VAST 1.0 Delivering a Linear video (pre-roll) ad</a></li>
 <li><a href="247-real-media/example02.html">VAST 1.0 Delivering a Non-Linear (overlay) ad with a video pre-roll</a></li>
+</ul>
+<li><b>Adform</b></li>
+<ul>
+<li><a href="adform/example01.html">VAST 2.0 Delivering a linear (pre-roll) ad</a></li>
 </ul>
 <li><b>Adify</b></li>
Index: /trunk/ova.jwplayer.5x/examples/config/ad-servers/adform/ova01.xml
===================================================================
--- /trunk/ova.jwplayer.5x/examples/config/ad-servers/adform/ova01.xml	(revision 345)
+++ /trunk/ova.jwplayer.5x/examples/config/ad-servers/adform/ova01.xml	(revision 345)
@@ -0,0 +1,29 @@
+<config>
+   <ova.title>
+       A VAST 2.0 pre-roll ad only
+   </ova.title>
+   <ova.json>
+       {
+            "debug": {
+                "debugger": "firebug",
+                "levels": "fatal, config, vast_template"
+            },
+
+            "ads": {
+                "pauseOnClickThrough": true,
+                "servers": [
+                   {
+                      "type": "Adform",
+                      "apiAddress": "http://track.adform.net/serving/videoad"
+                   }
+                ],
+                "schedule": [
+                   {
+                      "zone": "453599",
+                      "position": "pre-roll"
+                   }
+                ]
+            }
+       }
+   </ova.json>
+</config>
