List of usage examples for org.apache.wicket.markup.html.media.video Video setPoster
public void setPoster(ResourceReference poster)
From source file:org.wicketstuff.html5.media.webrtc.WebRTC.java
License:Apache License
/** * Configures the given video for web rtc. If the video and mic are rejected for usage a dummy * picture is going to be shown./*from w ww . j a v a 2 s . c o m*/ * * @return the configured video */ private Video configureVideo() { Video localVideo = getLocalVideo(); localVideo.setOutputMarkupId(true); localVideo.setPoster(getNoVideoResourceReference()); return localVideo; }