[309606, 361105] Script Editor, Add setCurrentPosition to INodeExVideo
diff --git a/plugins/org.eclipse.actf.examples.scripteditor/src/org/eclipse/actf/ai/internal/ui/scripteditor/PreviewPanel.java b/plugins/org.eclipse.actf.examples.scripteditor/src/org/eclipse/actf/ai/internal/ui/scripteditor/PreviewPanel.java
index 3d9ca2a..72f8929 100644
--- a/plugins/org.eclipse.actf.examples.scripteditor/src/org/eclipse/actf/ai/internal/ui/scripteditor/PreviewPanel.java
+++ b/plugins/org.eclipse.actf.examples.scripteditor/src/org/eclipse/actf/ai/internal/ui/scripteditor/PreviewPanel.java
@@ -581,6 +581,9 @@
 				instParentView.reqSetTrackCurrentTimeLine(currentLocation);
 				// Synchronize all TimeLine
 				instParentView.synchronizeAllTimeLine(currentLocation);
+				
+				WebBrowserFactory.getInstance()
+						.setCurrentPosition(currentLocation);					
 			}
 		}
 	}
diff --git a/plugins/org.eclipse.actf.examples.scripteditor/src/org/eclipse/actf/ai/internal/ui/scripteditor/TimeLineCanvas.java b/plugins/org.eclipse.actf.examples.scripteditor/src/org/eclipse/actf/ai/internal/ui/scripteditor/TimeLineCanvas.java
index 67db5e5..d2e9ea3 100644
--- a/plugins/org.eclipse.actf.examples.scripteditor/src/org/eclipse/actf/ai/internal/ui/scripteditor/TimeLineCanvas.java
+++ b/plugins/org.eclipse.actf.examples.scripteditor/src/org/eclipse/actf/ai/internal/ui/scripteditor/TimeLineCanvas.java
@@ -10,6 +10,7 @@
  *******************************************************************************/
 package org.eclipse.actf.ai.internal.ui.scripteditor;
 
+import org.eclipse.actf.ai.scripteditor.util.WebBrowserFactory;
 import org.eclipse.actf.ai.ui.scripteditor.views.IUNIT;
 import org.eclipse.actf.ai.ui.scripteditor.views.TimeLineView;
 import org.eclipse.actf.examples.scripteditor.Activator;
@@ -543,6 +544,9 @@
 		instParentView.reqSetTrackCurrentTimeLine(nowTime);
 		// Synchronize all TimeLine
 		instParentView.synchronizeAllTimeLine(nowTime);
+		
+		WebBrowserFactory.getInstance().setCurrentPosition(nowTime);
+
 	}
 
 	/**
diff --git a/plugins/org.eclipse.actf.examples.scripteditor/src/org/eclipse/actf/ai/scripteditor/util/WebBrowserFactory.java b/plugins/org.eclipse.actf.examples.scripteditor/src/org/eclipse/actf/ai/scripteditor/util/WebBrowserFactory.java
index 6084c76..1f967eb 100644
--- a/plugins/org.eclipse.actf.examples.scripteditor/src/org/eclipse/actf/ai/scripteditor/util/WebBrowserFactory.java
+++ b/plugins/org.eclipse.actf.examples.scripteditor/src/org/eclipse/actf/ai/scripteditor/util/WebBrowserFactory.java
@@ -230,6 +230,19 @@
 		}
 	}
 
+	public boolean setCurrentPosition(int pos) {
+		checkVideo();// TODO cache
+		if (videos.length > 0) {
+			double readTime = pos / SEC2MSEC;
+			for (int i = 0; i < videos.length; i++) {
+				boolean result = videos[i].setCurrentPosition(readTime);
+			}
+			return true;
+		} else {
+			return false;
+		}
+	}
+
 	public int getTotalLength() {
 
 		/**