You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Tobias Soloschenko <to...@googlemail.com> on 2015/10/26 06:39:25 UTC
Generic resource reference for video / audio playback
Hi guys,
as I wrote in the confluence page about new Wicket 8 features, I wanted
to ask you what you think about a generic resource reference to handle
with media files located at the file system of the server or at least
are reachable by java streams. This would it make easier to point to a
media server and get the content from there.
What do you think?
kind regards
Tobias
Fwd: Generic resource reference for video / audio playback
Posted by Tobias Soloschenko <to...@googlemail.com>.
I am going to write a number of examples for this reference, soon.
kind regards
Tobias
Anfang der weitergeleiteten E‑Mail:
> Von: Maxim Solodovnik <so...@gmail.com>
> Datum: 26. Oktober 2015 um 10:24:07 MEZ
> An: "dev@wicket.apache.org" <de...@wicket.apache.org>
> Betreff: Re: Generic resource reference for video / audio playback
> Antwort an: dev@wicket.apache.org
>
> I like the idea, these new resources will be useful for our project
>
> On Mon, Oct 26, 2015 at 3:21 PM, Tobias Soloschenko <
> tobiassoloschenko@googlemail.com> wrote:
>
>> Hi again,
>>
>> I just implemented an example based on the java.nio API:
>>
>>
>> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/markup/html/media/FileSystemResourceReference.java
>>
>> Example:
>>
>>
>> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/markup/html/media/FileSystemExamplePage.java
>>
>> Benefits:
>> * FileSystem independend API - also other protocols then "file" / "http"
>> can be used
>> * Mime-Type detection can be implemented with the default Java NIO way
>> (java.nio.file.spi.FileTypeDetector)
>> * Supports content ranges
>>
>> kind regards
>>
>> Tobias
>>
>> -------- Weitergeleitete Nachricht --------
>> Betreff: Generic resource reference for video / audio playback
>> Datum: Mon, 26 Oct 2015 06:39:25 +0100
>> Von: Tobias Soloschenko <to...@gmail.com>
>> An: dev@wicket.apache.org
>>
>>
>>
>>
>> Hi guys,
>>
>> as I wrote in the confluence page about new Wicket 8 features, I wanted
>> to ask you what you think about a generic resource reference to handle
>> with media files located at the file system of the server or at least
>> are reachable by java streams. This would it make easier to point to a
>> media server and get the content from there.
>>
>> What do you think?
>>
>> kind regards
>>
>> Tobias
>
>
> --
> WBR
> Maxim aka solomax
Re: Generic resource reference for video / audio playback
Posted by Tobias Soloschenko <to...@googlemail.com>.
Hi,
just saw the implementation of apache vfs:
https://commons.apache.org/proper/commons-vfs/filesystems.html
This can be used with the new FileSystemResourceReference
kind regards
Tobias
> Am 26.10.2015 um 10:24 schrieb Maxim Solodovnik <so...@gmail.com>:
>
> I like the idea, these new resources will be useful for our project
>
> On Mon, Oct 26, 2015 at 3:21 PM, Tobias Soloschenko <
> tobiassoloschenko@googlemail.com> wrote:
>
>> Hi again,
>>
>> I just implemented an example based on the java.nio API:
>>
>>
>> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/markup/html/media/FileSystemResourceReference.java
>>
>> Example:
>>
>>
>> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/markup/html/media/FileSystemExamplePage.java
>>
>> Benefits:
>> * FileSystem independend API - also other protocols then "file" / "http"
>> can be used
>> * Mime-Type detection can be implemented with the default Java NIO way
>> (java.nio.file.spi.FileTypeDetector)
>> * Supports content ranges
>>
>> kind regards
>>
>> Tobias
>>
>> -------- Weitergeleitete Nachricht --------
>> Betreff: Generic resource reference for video / audio playback
>> Datum: Mon, 26 Oct 2015 06:39:25 +0100
>> Von: Tobias Soloschenko <to...@gmail.com>
>> An: dev@wicket.apache.org
>>
>>
>>
>>
>> Hi guys,
>>
>> as I wrote in the confluence page about new Wicket 8 features, I wanted
>> to ask you what you think about a generic resource reference to handle
>> with media files located at the file system of the server or at least
>> are reachable by java streams. This would it make easier to point to a
>> media server and get the content from there.
>>
>> What do you think?
>>
>> kind regards
>>
>> Tobias
>
>
> --
> WBR
> Maxim aka solomax
Re: Generic resource reference for video / audio playback
Posted by Tobias Soloschenko <to...@googlemail.com>.
Hi Maxim,
thanks for the fast response. If you have further suggestions please let
me know - also for the API.
kind regards
Tobias
Am 26.10.15 um 10:24 schrieb Maxim Solodovnik:
> I like the idea, these new resources will be useful for our project
>
> On Mon, Oct 26, 2015 at 3:21 PM, Tobias Soloschenko <
> tobiassoloschenko@googlemail.com> wrote:
>
>> Hi again,
>>
>> I just implemented an example based on the java.nio API:
>>
>>
>> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/markup/html/media/FileSystemResourceReference.java
>>
>> Example:
>>
>>
>> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/markup/html/media/FileSystemExamplePage.java
>>
>> Benefits:
>> * FileSystem independend API - also other protocols then "file" / "http"
>> can be used
>> * Mime-Type detection can be implemented with the default Java NIO way
>> (java.nio.file.spi.FileTypeDetector)
>> * Supports content ranges
>>
>> kind regards
>>
>> Tobias
>>
>> -------- Weitergeleitete Nachricht --------
>> Betreff: Generic resource reference for video / audio playback
>> Datum: Mon, 26 Oct 2015 06:39:25 +0100
>> Von: Tobias Soloschenko <to...@gmail.com>
>> An: dev@wicket.apache.org
>>
>>
>>
>>
>> Hi guys,
>>
>> as I wrote in the confluence page about new Wicket 8 features, I wanted
>> to ask you what you think about a generic resource reference to handle
>> with media files located at the file system of the server or at least
>> are reachable by java streams. This would it make easier to point to a
>> media server and get the content from there.
>>
>> What do you think?
>>
>> kind regards
>>
>> Tobias
>>
>>
>>
>>
>
Re: Generic resource reference for video / audio playback
Posted by Maxim Solodovnik <so...@gmail.com>.
I like the idea, these new resources will be useful for our project
On Mon, Oct 26, 2015 at 3:21 PM, Tobias Soloschenko <
tobiassoloschenko@googlemail.com> wrote:
> Hi again,
>
> I just implemented an example based on the java.nio API:
>
>
> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/markup/html/media/FileSystemResourceReference.java
>
> Example:
>
>
> https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/markup/html/media/FileSystemExamplePage.java
>
> Benefits:
> * FileSystem independend API - also other protocols then "file" / "http"
> can be used
> * Mime-Type detection can be implemented with the default Java NIO way
> (java.nio.file.spi.FileTypeDetector)
> * Supports content ranges
>
> kind regards
>
> Tobias
>
> -------- Weitergeleitete Nachricht --------
> Betreff: Generic resource reference for video / audio playback
> Datum: Mon, 26 Oct 2015 06:39:25 +0100
> Von: Tobias Soloschenko <to...@gmail.com>
> An: dev@wicket.apache.org
>
>
>
>
> Hi guys,
>
> as I wrote in the confluence page about new Wicket 8 features, I wanted
> to ask you what you think about a generic resource reference to handle
> with media files located at the file system of the server or at least
> are reachable by java streams. This would it make easier to point to a
> media server and get the content from there.
>
> What do you think?
>
> kind regards
>
> Tobias
>
>
>
>
--
WBR
Maxim aka solomax
Fwd: Generic resource reference for video / audio playback
Posted by Tobias Soloschenko <to...@googlemail.com>.
Hi again,
I just implemented an example based on the java.nio API:
https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/markup/html/media/FileSystemResourceReference.java
Example:
https://github.com/klopfdreh/wicket-components-playground/blob/master/wicket-components-playground/src/main/java/org/apache/wicket/markup/html/media/FileSystemExamplePage.java
Benefits:
* FileSystem independend API - also other protocols then "file" / "http"
can be used
* Mime-Type detection can be implemented with the default Java NIO way
(java.nio.file.spi.FileTypeDetector)
* Supports content ranges
kind regards
Tobias
-------- Weitergeleitete Nachricht --------
Betreff: Generic resource reference for video / audio playback
Datum: Mon, 26 Oct 2015 06:39:25 +0100
Von: Tobias Soloschenko <to...@gmail.com>
An: dev@wicket.apache.org
Hi guys,
as I wrote in the confluence page about new Wicket 8 features, I wanted
to ask you what you think about a generic resource reference to handle
with media files located at the file system of the server or at least
are reachable by java streams. This would it make easier to point to a
media server and get the content from there.
What do you think?
kind regards
Tobias