I want to change default Flash preview tools

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2011 04:35 AM
HI,All
i use the alfresco 3.4.d, it used a flash preview tools name is WebPreviewer.swf, and it has not search function when i preview the document. So i want to use the FlexPaper to replace the WebPreviewer, the FlexPaper on the http://flexpaper.devaldi.com/default.jsp
But i canont know how to replaced, i change the document as below:
\alfresco\tomcat\webapps\share\components\preview\web-preview-min.js and
\alfresco\tomcat\webapps\share\components\preview\web-preview.js
Change the WebPreviewer.swf to FlexPaperViewer.swf, and restart the alfresco server then i can find the flash preview tools is changes, but i know must modify something continues because the FlexPaper cannot show any document now.
So how about to do continue? Pls help me.
Thanks very much!
i use the alfresco 3.4.d, it used a flash preview tools name is WebPreviewer.swf, and it has not search function when i preview the document. So i want to use the FlexPaper to replace the WebPreviewer, the FlexPaper on the http://flexpaper.devaldi.com/default.jsp
But i canont know how to replaced, i change the document as below:
\alfresco\tomcat\webapps\share\components\preview\web-preview-min.js and
\alfresco\tomcat\webapps\share\components\preview\web-preview.js
Change the WebPreviewer.swf to FlexPaperViewer.swf, and restart the alfresco server then i can find the flash preview tools is changes, but i know must modify something continues because the FlexPaper cannot show any document now.
So how about to do continue? Pls help me.
Thanks very much!
Labels:
- Labels:
-
Archive
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2011 09:37 AM
http://code.google.com/p/share-extras/wiki/MediaPreviews
Take a look at this project. You may be able to use it as a template for how to accomplish this.
Take a look at this project. You may be able to use it as a template for how to accomplish this.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2011 09:39 AM
I have the same situation as I want to integrate FlowPlayer with Alfresco so that .swf files can be previewed in Document Library. This post was somewhat helpful http://code.google.com/p/alfrescoshareflowplayer/.
I downloadeded and copied these FlowPlayer files to \Alfresco\tomcat\webapps\share\components\preview:
flowplayer-3.2.7.swf to
flowplayer.controls-3.2.5.swf
flowplayer-3.2.6.min.js
style.css
It appears that I need to make changes to these files but not sure what exactly I need to change:
I downloadeded and copied these FlowPlayer files to \Alfresco\tomcat\webapps\share\components\preview:
flowplayer-3.2.7.swf to
flowplayer.controls-3.2.5.swf
flowplayer-3.2.6.min.js
style.css
It appears that I need to make changes to these files but not sure what exactly I need to change:
\Alfresco\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\form\controls\mimetype.ftl \Alfresco\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\preview\web-preview.get.html.ftl \Alfresco\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\preview\web-preview.get.head.ftl

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2011 04:35 AM
thanks very much!
I follow steps and use flowplayer success. I will study and check how to get the flex.
I follow steps and use flowplayer success. I will study and check how to get the flex.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2011 01:45 AM
now i want to add mp3 support, and follow the flowplayer help, copy flowplayer audio file in the same folder with flowplayer-3.2.7.swf , and modify the file"web-preview.get.html.ftl" as follow:
flowplayer("player", {src: "${page.url.context}/components/preview/flowplayer-3.2.7.swf", wmode: "opaque"},
{
plugins: {
audio: {
url: 'flowplayer.audio.swf'
},
controls: {
url: "${page.url.context}/components/preview/flowplayer.controls-3.2.5.swf",
play: true,
pause: null,
stop: null,
mute: null,
time: null,
volume: null
}},
But the mp3 file canot be play, how can i start the mp3 file support? if need modify any files?
thanks very much!
flowplayer("player", {src: "${page.url.context}/components/preview/flowplayer-3.2.7.swf", wmode: "opaque"},
{
plugins: {
audio: {
url: 'flowplayer.audio.swf'
},
controls: {
url: "${page.url.context}/components/preview/flowplayer.controls-3.2.5.swf",
play: true,
pause: null,
stop: null,
mute: null,
time: null,
volume: null
}},
But the mp3 file canot be play, how can i start the mp3 file support? if need modify any files?
thanks very much!

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2011 10:37 PM
I find the mp3 find is be recognized to MEPG audio, and i modify the mimytype.ftl, add "aduio/mp3" type, also canont be recognized to MP3, then pls help me.
thanks.
thanks.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2011 04:29 AM
who can help me? thanks very much
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2012 02:16 AM
