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 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 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 been intending to put these code changes back into the DSpace
>> project, but since the hack was a bit rushed I wanted to wait and see
>> if anything broke. Also, I think it would be better if the
>> content-range was configurable to be enabled/disabled.
>> --keith
>>
>>
>> On Mon, Feb 25, 2013 at 4:38 AM, Jonathan Freesbay <j.frees...@gmail.com>
>> wrote:
>> > 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 the servlet handling the file downloads doesn't implement
>> > content-range? What other options do I have within dspace to do this or
>> will
>> > it be difficult to implement content-range on servlet level?
>> >
>> > Regards,
>> >
>> > (This is my second post for the same question, as the first was sent to
>> > dspace-gene...@lists.sourceforge.net, as the question should be sent
>> to this
>> > mailing list.)
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Everyone hates slow websites. So do we.
>> > Make your web apps faster with AppDynamics
>> > Download AppDynamics Lite for free today:
>> > http://p.sf.net/sfu/appdyn_d2d_feb
>> > _______________________________________________
>> > DSpace-tech mailing list
>> > DSpace-tech@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> > List Etiquette:
>> > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to