We are using REST-API. It's an request/response based interface (not a
visual interface) that has been fully implemented on DSpace 5. (Dspace
4 only accepts GET requests.).
For more information: [1] and [2]

We chose it because we want something very customizable, for example
commentaries for each item, but we still want to use DSpace for its
features, like SOLR Statistics, Access Control for each object, item
integrity check, ...
So we started to study other interfaces besides XMLUI/JSPUI, and we
learned about REST-API that offer us everything we need.

We build a RUBY Gem [3] to deal especially with these requests, and
now we are implementing the app itself. We already have a basic
structure on which we can navigate through Communities, Collections
and Items, create new items, and on item page we can watch the videos
and download other files that belongs to the item. We even used the
login/logout feature from DSpace REST-API (we're still tweaking it to
be able to control user access inside our app).

But if what you need is just a video-player for the cases of items
that have video files, i think there is no problem on using
XMLUI/JSPUI interface. However, even if you use one of them you will
still have to face the streaming problems that i've mentioned, because
the way that each file is served is the same, and that's exactly the
questions that we haven't been able to solve yet.

[1] https://wiki.duraspace.org/display/DSDOC5x/REST+API
[2] https://github.com/BrunoNZ/dspace-rest-requests
[3] https://gitlab.c3sl.ufpr.br/bnzanette/dspace-rest-client

2015-02-06 7:38 GMT-02:00 Massimiliano Cilurzo <mcilu...@unisa.it>:
> Dear Bruno,
> Thank you for your help.
> Let me know your progress.
> Now we are at the begin and we are choosing which route is the best for us.
> Are you using Jspui or Xmlui?
> Best regards
> Massimiliano
>
>
>
>
> -----Messaggio originale-----
> Da: Bruno Zanette [mailto:brunonzane...@gmail.com]
> Inviato: giovedì 5 febbraio 2015 18:29
> A: Massimiliano Cilurzo
> Cc: dspace-tech@lists.sourceforge.net
> Oggetto: Re: [Dspace-tech] Bookreader (openlibrary) and videoplayer
>
>>Massimiliano,
>
>>I don't know anything about the bookreader plugin so i can't help you with 
>>this one.
>>
>>But i do know some things about playing videos from Dspace. Actually i'm 
>>working on a project to use Dspace and its rest-api to build a video portal 
>>to our University.
>>>
>>First of all, it has already been discussed to make of this a Dspace's native 
>>feature but i don't know much about because i didn't participate of it. The 
>>link to this discussion is:
>>https://wiki.duraspace.org/pages/viewpage.action?pageId=45548591
>>
>>By my experience....
>
>>The videoplayer itself is the easiest part, since you can use HTML5 video tag 
>>to do the job, depending on what kind of video format you have. It shouldn't 
>>be hard to add it to the item page. Without >mentioning many other custom 
>>solutions that you can find.
>>E.g.:
>>http://mediaelementjs.com/
>>https://github.com/clappr/clappr>
>
>>It starts to become a hard task when we talk about converting the video 
>>directly on Dspace, using media filter feature. My team decided to abandon 
>>this task for now and do this conversion outside >DSpace.
>>Also we didn't find anything already done. It has a lot of details involved 
>>and requires a great knowledge of Dspace's internal code that makes it a 
>>quite complicated task.>
>
>>The last thing is the video streaming itself. The way that Dspace serves 
>>files is not proper to do streaming. It servers the files in a 
>>sequential-only way which makes impossible to seek through time. You >can 
>>only Play/Pause. Take a look at this post, especially on 3º item of the list.
>>http://stackoverflow.com/questions/10328401/html5-how-to-stream-large-mp4-files
>
>>There are some java implementations of this byte-range serving feature, but i 
>>didn't try to add it to Dspace yet.
>>E.g.:
>>http://balusc.blogspot.com.br/2009/02/fileservlet-supporting-resume-and.html
>>https://gist.github.com/fehmicansaglam/1781977
>
>>Another solution is to store only the original file into Dspace and the other 
>>converted files, that will be used to stream, into a Tomcat folder. We're 
>>thinking to follow this idea.
>
>>If you have any other ideas or experiences, please share, because it will be 
>>of great value for us!
>
> 2015-02-05 7:08 GMT-02:00 Massimiliano Cilurzo <mcilu...@unisa.it>:
>> Dear all,
>>
>>      We would like to use bookreader from OpenLibrary and a
>> videoplayer for our DSPACE.
>>
>> There is someone who used it and could help us? Or there is some
>> plugin to add this features?
>>
>> Thanks
>>
>> Best regards
>>
>> Massimiliano
>>
>>
>>
>>
>> ----------------------------------------------------------------------
>> -------- Dive into the World of Parallel Programming. The Go Parallel
>> Website, sponsored by Intel and developed in partnership with Slashdot
>> Media, is your hub for all things parallel software development, from
>> weekly thought leadership blogs to news, videos, case studies,
>> tutorials and more. Take a look and join the conversation now.
>> http://goparallel.sourceforge.net/
>> _______________________________________________
>> 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
>
>
>
> --
> Bruno Nocera Zanette
> +55 41 9992-2508
>



-- 
Bruno Nocera Zanette
+55 41 9992-2508

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
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