private final void init() {
    if (null != m_video) {
      MediaError status = m_video.getError();

      if (status != null) {
        setErrorCode(status.getCode());
      } else {
        if (isShowPoster()) {
          final String url = m_video.getPoster();

          if (null != url) {
            new ImageLoader(url) {
              @Override
              public void onImageElementLoad(final ImageElement elem) {
                m_postr = elem;
              }

              @Override
              public void onImageElementError(String message) {
                LienzoCore.get().error("ERROR: Getting video poster url[" + url + "] " + message);
              }
            };
          }
        }
      }
    } else {
      m_error = MessageConstants.MESSAGES.movieNotSupportedInThisBrowser();
    }
    m_inits = false;
  }
 private final void setErrorCode(int code) {
   switch (code) {
     case MediaError.MEDIA_ERR_ABORTED:
       m_error = MessageConstants.MESSAGES.moviePlaybackWasAborted();
       break;
     case MediaError.MEDIA_ERR_NETWORK:
       m_error = MessageConstants.MESSAGES.movieNetworkError();
       break;
     case MediaError.MEDIA_ERR_DECODE:
       m_error = MessageConstants.MESSAGES.movieErrorInDecoding();
       break;
     case MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED:
       m_error = MessageConstants.MESSAGES.movieFormatNotSupported();
       break;
   }
 }