AnsweredAssumed Answered

Strange ogv file play in browser

Question asked by unknown-user on Feb 17, 2011
Latest reply on Jun 20, 2011 by mrwho
I have to put the problem here to ask for help:

Upload a ogv file to alfresco, the alfresco url is http://127.0.0.1:8080/alfresco/d/d/workspace/SpacesStore/849f6451-fceb-402c-ac3c-05b4c8ffa8cc/out.ogv, if i open the link directly, it will prompt download both in firefox and chrome.
but if I copy this ogv file to same tomcat webapps/test/,  http://127.0.0.1:8080/test/out.ogv will play normally.
I aslo test avi file, the alfresco url can play normally.

If the html 5 video tag use the above alfresco url,
    <video width="640" height="264" controls="controls" preload="auto" >
   <source src="http://127.0.0.1:8080/alfresco/d/d/workspace/SpacesStore/849f6451-fceb-402c-ac3c-05b4c8ffa8cc/out.ogv?guest=true" type='video/ogg; codecs="theora, vorbis"' />
    </video>
the firefox can't play, but chrome can play;
if the source src is http://127.0.0.1:8080/test/out.ogv, then firefox can play again !

So my question is:
How can I open alresco ogv file directly in browser, no prompt download.
why use alfresco url for video tag can't play?

Environment: firefox 3.6.8, chrome 5.0, Ubuntu 9.1.

:shock:
Thanks in advance.

Outcomes