Example usage for org.apache.wicket.markup.html.media.video Video setOutputMarkupId

List of usage examples for org.apache.wicket.markup.html.media.video Video setOutputMarkupId

Introduction

In this page you can find the example usage for org.apache.wicket.markup.html.media.video Video setOutputMarkupId.

Prototype

public final Component setOutputMarkupId(final boolean output) 

Source Link

Document

Sets whether or not component will output id attribute into the markup.

Usage

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  w  w  .  jav a  2 s .  com
 * 
 * @return the configured video
 */
private Video configureVideo() {
    Video localVideo = getLocalVideo();
    localVideo.setOutputMarkupId(true);
    localVideo.setPoster(getNoVideoResourceReference());
    return localVideo;
}