Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-06-20 Thread Sara Amato
I tried to modify the Content-Type header with mod-headers, but it appears that can't be done, even when I tried it in 'early' mode: http://httpd.apache.org/docs/current/mod/mod_headers.html: ... it is possible to set and/or override most headers, except for those headers added by the HTTP

Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-06-19 Thread helix84
On Tue, Jun 18, 2013 at 7:31 PM, Sara Amato sam...@willamette.edu wrote: I notice in the VTech example, following the link http://vtechworks.lib.vt.edu/bitstream/handle/10919/18426/S11L1U0024h_qtp.mp4?sequence=3 actually plays the video. $ wget --server-response

Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-06-19 Thread Keith Gilbertson
Sara, We're still running DSpace 1.8.2 here. We're going to the DSpace 3 update sometime this year. We'll need to update and fix our code, and I think that the intern we have here now will take more meticulous notes about how this customization works. He's good about that. I do remember that

Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-06-19 Thread Sara Amato
I should have mentioned that I am trying this on a test server, behind a firewall so could not provide a direct example. Here's what wget says: dspace:~ wget --server-response http://libtest-1.willamette.edu/xmlui/bitstream/handle/10177/62/Knopf.mp4?sequence=1 --2013-06-19 10:27:16--

Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-06-19 Thread helix84
On Wed, Jun 19, 2013 at 7:32 PM, Sara Amato sam...@willamette.edu wrote: Content-Type: video/mp4;charset=ISO-8859-1 Because this seems to be the problem, removing ;charset=ISO-8859-1 using mod_headers [1] could if not solve the problem, at least confirm that this is the only thing that causes

Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-06-18 Thread Sara Amato
I'm trying to get this working in xmlui, and find that while I can get the proper looking code on the page, e.g. video src=/xmlui/bitstream/handle/10177/62/Knopf.mp4?sequence=1 width=320 height=240 controls= autobuffer= / the video does not play. If I go to the link directly, it downloads

Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-05-31 Thread Jonathan Freesbay
Hi, It looks like it only works in Firefox. In IE I get Invalid source. The same file works in other static web servers. Looking at the content type, I got video/mp4;charset=ISO-8859-1. This should be just video/mp4. How can I change this? Thanks,

Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-03-21 Thread Jonathan Freesbay
Hi, Just uncomment partial download code in org.dspace.app.xmlui.cocoon.BitstreamReader under generate(). It's disabled because some browser integrated PDF readers crash (says documentation code). Regards, 2013/2/27 Jonathan Freesbay j.frees...@gmail.com Hi Keith, Impressive! When do you

Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-02-26 Thread Keith Gilbertson
Jonathan - I'm not sure if you're using xmlui or jspui. I know that in xmlui, the servlet didn't implement content range. You have to uncomment some code in BitstreamReader, and then fix a couple of bugs in it to get things working. Sample: http://vtechworks.lib.vt.edu/handle/10919/18426 I've

Re: [Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-02-26 Thread Jonathan Freesbay
Hi Keith, Impressive! When do you plan to contribute the code? Regards, 2013/2/27 Keith Gilbertson keith.gilbert...@gmail.com Jonathan - I'm not sure if you're using xmlui or jspui. I know that in xmlui, the servlet didn't implement content range. You have to uncomment some code in

[Dspace-tech] Psuedo video streaming with item attachment and seeking enabled

2013-02-25 Thread Jonathan Freesbay
Hi, I added a html 5 video tag to play the video's I uploaded to dspace. The video can be played, but I cannot seek to parts which aren't downloaded. The command curl -H Range:bytes=16- -I localhost:8080 gives Accept-Ranges: bytes back, so tomcat understands content-range. Does this mean that