Revision: 4275
Author: seba.wagner
Date: Sat Sep 24 02:29:38 2011
Log: Fixes Video Drag and Drop from File-Explorer to whiteboard
http://code.google.com/p/openmeetings/source/detail?r=4275
Modified:
/tags/1_8/WebContent/openmeetings/plugins/fileexplorer/dragItemFileExplorer.lzx
/tags/1_8/WebContent/openmeetings/plugins/fileexplorer/treeitems/baseFileExplorerItem.lzx
/tags/1_8/WebContent/openmeetings/plugins/fileexplorer/treeitems/videoFileExplorerItem.lzx
=======================================
---
/tags/1_8/WebContent/openmeetings/plugins/fileexplorer/dragItemFileExplorer.lzx
Sun Sep 4 07:44:47 2011
+++
/tags/1_8/WebContent/openmeetings/plugins/fileexplorer/dragItemFileExplorer.lzx
Sat Sep 24 02:29:38 2011
@@ -100,7 +100,9 @@
this.moveFile();
} else {
if ($debug) Debug.warn("Drag to whiteboard !!! ");
- if (this.refObj.isPresentation) {
+ if (this.refObj.isVideo) {
+ this.refObj.playVideo();
+ } else if (this.refObj.isPresentation) {
this.refObj.loadDocumentToWhiteboard();
} else if (this.refObj.isImage) {
this.refObj.loadImageToWhiteboard();
=======================================
---
/tags/1_8/WebContent/openmeetings/plugins/fileexplorer/treeitems/baseFileExplorerItem.lzx
Sun Sep 4 07:44:47 2011
+++
/tags/1_8/WebContent/openmeetings/plugins/fileexplorer/treeitems/baseFileExplorerItem.lzx
Sat Sep 24 02:29:38 2011
@@ -17,6 +17,7 @@
<attribute name="isFolder" value="true" type="boolean" />
<attribute name="isImage" value="false" type="boolean" />
<attribute name="isPresentation" value="false" type="boolean" />
+ <attribute name="isVideo" value="false" type="boolean" />
<attribute name="fileName" value="" type="string" />
<attribute name="fileHash" value="" type="string" />
=======================================
---
/tags/1_8/WebContent/openmeetings/plugins/fileexplorer/treeitems/videoFileExplorerItem.lzx
Fri Jun 24 08:51:46 2011
+++
/tags/1_8/WebContent/openmeetings/plugins/fileexplorer/treeitems/videoFileExplorerItem.lzx
Sat Sep 24 02:29:38 2011
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<library>
-<class name="videoFileExplorerItem" extends="baseFileExplorerItem"
isFolder="true">
+<class name="videoFileExplorerItem" extends="baseFileExplorerItem"
isFolder="true" isVideo="true">
<method name="generateFileLink">
<![CDATA[
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.