On Fri, May 17, 2013 at 2:04 PM, Maxim Solodovnik <solomax...@gmail.com>wrote:
> Unfortunately Html5Video seems to be not available to work with > ResourceStreams, only static urls :( > > I'll try to ask more generic wicket question: > I would like to implement following: > > <video width="100%" controls wicket:id="player"> > <source wicket:id="mp4" type="video/mp4"/> > </video> > > > in java I have: > WebMarkupContainer player = new WebMarkupContainer("player"); > WebMarkupContainer srcMp4 = new WebMarkupContainer("player"); > add(player.add(srcMp4).setOutputMarkupId(true).setVisible(false)); > > You should use setOutputMarkupPlaceholderTag(true) here instead. > in some Ajax handler: > srcMp4.add(AttributeModifier.replace("src", Model.of("" + > mp4download.getCallbackUrl()))); > target.add(player.setVisible(true)); > > Is it possible to add *AjaxBehavior* mp4download able to act as source for > video? > > > > On Fri, May 17, 2013 at 5:00 PM, Maxim Solodovnik <solomax...@gmail.com > >wrote: > > > Thanks! > > was looking at > http://repo1.maven.org/maven2/org/wicketstuff/wicket-html5/ > > :( > > Sorry > > > > > > On Fri, May 17, 2013 at 4:40 PM, Martin Grigorov <mgrigo...@apache.org > >wrote: > > > >> http://repo1.maven.org/maven2/org/wicketstuff/wicketstuff-html5/6.7.0/ > >> > >> > >> On Fri, May 17, 2013 at 12:29 PM, Maxim Solodovnik < > solomax...@gmail.com > >> >wrote: > >> > >> > The latest version available in maven is > >> > 1.5-rc2.1/< > >> > http://repo1.maven.org/maven2/org/wicketstuff/wicket-html5/1.5-rc2.1/ > > > >> > 26-Mar-2011 17:31 > >> > > >> > Is it compatible with Wicket 6? > >> > > >> > > >> > On Fri, May 17, 2013 at 4:27 PM, Maxim Solodovnik < > solomax...@gmail.com > >> > >wrote: > >> > > >> > > Thanks a lot! > >> > > > >> > > > >> > > On Fri, May 17, 2013 at 4:20 PM, Martin Grigorov < > >> mgrigo...@apache.org > >> > >wrote: > >> > > > >> > >> Hi Maxim, > >> > >> > >> > >> WicketStuff-Html5 project is ASL2, so you can use it. > >> > >> > >> > >> > >> > >> On Fri, May 17, 2013 at 12:14 PM, Maxim Solodovnik < > >> > solomax...@gmail.com > >> > >> >wrote: > >> > >> > >> > >> > Hello All, > >> > >> > > >> > >> > According to wicketstuff rules if component does not declaring > own > >> > >> license > >> > >> > - it is AL. > >> > >> > I was unable to find license for wicket-html5, but on the old > >> project > >> > >> root > >> > >> > at code.google.com/p/wickethtml5 the project is declared as > GPLv2. > >> > >> > > >> > >> > If it is GPLv2 can anybody help me to create callback can be used > >> as > >> > src > >> > >> > attribute for videotag? > >> > >> > I'm trying to write code similar to > >> > >> > > >> > >> > > >> > >> > >> > > >> > https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html > >> > >> > > >> > >> > It is downloadable if clicked in the browser, but video is not > >> > playing. > >> > >> > > >> > >> > The only idea I have to implement this is to extend Image class > and > >> > >> make it > >> > >> > Video :) > >> > >> > > >> > >> > I'm using wicket 6.7.0 > >> > >> > > >> > >> > Thanks in advance > >> > >> > > >> > >> > -- > >> > >> > WBR > >> > >> > Maxim aka solomax > >> > >> > > >> > >> > >> > >> > >> > >> > >> > >> -- > >> > >> Martin Grigorov > >> > >> Wicket Training & Consulting > >> > >> http://jWeekend.com <http://jweekend.com/> > >> > >> > >> > > > >> > > > >> > > > >> > > -- > >> > > WBR > >> > > Maxim aka solomax > >> > > > >> > > >> > > >> > > >> > -- > >> > WBR > >> > Maxim aka solomax > >> > > >> > >> > >> > >> -- > >> Martin Grigorov > >> Wicket Training & Consulting > >> http://jWeekend.com <http://jweekend.com/> > >> > > > > > > > > -- > > WBR > > Maxim aka solomax > > > > > > -- > WBR > Maxim aka solomax > -- Martin Grigorov Wicket Training & Consulting http://jWeekend.com <http://jweekend.com/>