You are here

function theme_video_ffmpeg_helper_encoding_failed in Video 6.2

Same name and namespace in other branches
  1. 5 plugins/video_ffmpeg_helper/video_ffmpeg_helper.module \theme_video_ffmpeg_helper_encoding_failed()
  2. 6 plugins/video_ffmpeg_helper/video_ffmpeg_helper.module \theme_video_ffmpeg_helper_encoding_failed()

Display an "encoding failed" message"

1 theme call to theme_video_ffmpeg_helper_encoding_failed()
video_ffmpeg_helper_nodeapi in plugins/video_ffmpeg_helper/video_ffmpeg_helper.module
Implementation of hook_nodeapi()

File

plugins/video_ffmpeg_helper/video_ffmpeg_helper.module, line 521
Provide some api for use ffmpeg. Simplify video nodes creation.

Code

function theme_video_ffmpeg_helper_encoding_failed($node) {
  return '<div class="video-ffmpeg-helper-encoding-failed">' . t('The video conversion process has failed. You might want to submit a simpler video format like <em>mpeg</em> or <em>divx avi</em>.<br />If the problem persists please contact website administrators.') . '</div>';
}