Many thanks for all of you.
I have just solved the problem.
I have converted the file type from mpeg to rm then I
have tried playing file and it was working.
I do not know why the mpeg mime-type could not be
played although I have checked the web.xml in the conf
directory of tomcat and it was
Hi all,
I have got a simple question:
Is this the right way to play video files within
cocoon environment:
Inside the XML file:
doc
...
...
a href=vidmsani.mpegplay video/a
...
/doc
For the sitemap:
...
...
map:match pattern=*.mpeg
map:read mime-type=video/mpeg
src=prototype/{1}.mpeg/
Hello Fadi,
playing videos has not much to do with Cocoon. What you are doing is
only delivering static content to the client. Whether it is a video or
an image makes no difference for Cocoon.
In general your sitemap snippet looks ok. But it's difficult to say as
we don't know any directory
Hello,
Many thanks for the reply.
The XML file that I provided is the resource that
contains text and Images that are transformed into
HTML formats using XSLT file.
It was just yesterday I wanted to add a link leads to
open a video inside the XML file.
As you said it is only a static content
:
Subject: Re: How to play video
files?
04/04/2006 06:28