cancel
Showing results for 
Search instead for 
Did you mean: 

Can you play videos with Alfresco?

zebra
Champ in-the-making
Champ in-the-making
Hello everyone,

I discover now Alfresco and I wonder if it is possible to play streaming videos from the interface of Alfresco share.

Thank you in advance for your answers.
33 REPLIES 33

sselvan
Champ in-the-making
Champ in-the-making
Hi Zebra,

Were you able to complete this task, after the above?
If so, please post your solution/implementation here - so that it will be very helpful…

Appreciate your help!

thank you

stevegreenbaum
Champ in-the-making
Champ in-the-making
I created a Google Code project that enables FlowPlayer video previews in Share -http://code.google.com/p/alfrescoshareflowplayer/  Thank you zebra for posting your solution.

efestione
Champ in-the-making
Champ in-the-making
hi Steve,
thank you for this project.
Just a little correction is needed in web-preview.get.head.ftl

replace

<@script type="text/javascript" src="${page.url.context}/components/preview/flowplayer-3.2.2.js"></@script>


with

<@script type="text/javascript" src="${page.url.context}/components/preview/flowplayer-3.2.2.min.js"></@script>


Thankyou for sharing
Ale

mikeh
Star Contributor
Star Contributor
Just a little correction is needed in web-preview.get.head.ftl
replace

<@script type="text/javascript" src="${page.url.context}/components/preview/flowplayer-3.2.2.js"></@script>


with

<@script type="text/javascript" src="${page.url.context}/components/preview/flowplayer-3.2.2.min.js"></@script>
Well technically, the first is correct *if* there's a flowplayer-3.2.2.js AND a flowplayer-3.2.2-min.js.

If there's no debug version, then simply use a <script> tag instead of the <@script> macro.

Thanks,
Mike

stevegreenbaum
Champ in-the-making
Champ in-the-making
There is no debug version provided when you download FlowPlayer, so I will make that modification.

Note that the FlowPlayer Javascript file when downloaded from their site is named flowplayer-3.2.2.min.js – they use .min instead of –min in the file name.  I couldn't get the player to work using the .min, but when I removed the .min everything was good and I left it at that.  I’ll add a note to the installation instructions to rename the file to –min. 

Thanks.

efestione
Champ in-the-making
Champ in-the-making
Is it possible to play .wmv files?

thanks
Ale

stevegreenbaum
Champ in-the-making
Champ in-the-making
No wmv support is provided.  See http://flowplayer.org for supported video types.

Not ideal, but video files can be converted from wmv to flv using FFmpeg.

flopez
Champ in-the-making
Champ in-the-making
Hi, i've been trying out the video streaming solutions posted and I have 2 questions:

1. Is it possible to use another http server's pseudostreaming capabilities (ie: lighttpd) for streamig the files already stored on the alfresco server?

2. Is an upcoming version of Alfresco planning to incorporate video streaming support?

Any advice or opinion on these matters would be greatly appreciated

stevegreenbaum
Champ in-the-making
Champ in-the-making
Hi, i've been trying out the video streaming solutions posted and I have 2 questions:

1. Is it possible to use another http server's pseudostreaming capabilities (ie: lighttpd) for streamig the files already stored on the alfresco server?

2. Is an upcoming version of Alfresco planning to incorporate video streaming support?

Any advice or opinion on these matters would be greatly appreciated

Regarding 1, I haven't tried incorporating lightpd, but would also be interested in hearing if someone else has tried this.  As I understand it, lightpd would be a replacement for Tomcat in this scenario.  I just don't know if this is supported by Alfresco.

2.  Haven't heard anything else regarding native video preview support in Alfresco, except to say that it is on the roadmap.

flopez
Champ in-the-making
Champ in-the-making
Thanks for the quick reply Steve! i've been actually tryin' to use lighttpd for pseudo-streaming but indeed it seems it would have to be Alresco's main server too, out of the box flowplayer-lighttpd working examples and some attempts on redirecting files have't work within alfresco, I wanted to hear an opinion about it because exactly I'm not sure if even with the correct configuration Alfresco would support it… still I'm interested in finding a way to do it since it isn't considered to be included as part o the upcoming versions in the short term, if any news on this matter, i'll be posting here. thanks