Suggestions regarding the image path

This code works successfully showing a thumbnail and playing a video on a page in the php script I’m using. So, I added the code to replace the flv player, in the SiteAdmin section of the script, and it plays the video successfully, but no thumbnail appears. Any ideas how I can get the thumbnail for the video to appear? Currently it’s a black screen until the play button shows the video.

<video id="_1200k.mp4" class="video-js vjs-default-skin"
preload="none" width="265" height="160" controls
poster="[var.thumb_file]" data-setup='{techOrder: [‘flash’,’html5’}'>

<source src="[var.base_url]/uploads/[var.video_play]" type='video/mp4' />

<object class="vjs-flash-fallback" width="265" height="160" type="application/x-shockwave-flash" data="https://releases.flowplayer.org/swf/flowplayer-3.2.1.swf">
<param name="movie" value="/flowplayer/flowplayer-3.2.16.swf" />
<param name="allowfullscreen" value="false" />
<param name="flashvars" value='config={"playlist":["/[var.thumb_file]", {"url": "    [var.base_url]/uploads/[var.video_play]","autoPlay":false,"autoBuffering":true}]}' />
<!-- Image Fallback. Typically the same as the poster image. -->
<img src="[var.thumb_file]" width="265" height="160" alt="Poster Image"    title="No video playback capabilities." />
</object>
</video>

FYI, the convertor file, that creates the thumbnail (upon video upload), shows these lines (under “Create Thumbnail Image”):

$output_file = $base_path.'/uploads/thumbs/'.$file_name_no_extension.'.jpg';
$player_output_file =     $base_path.'/uploads/player_thumbs/'.$file_name_no_extension.'.jpg';

Any help will be appreciated.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.