You are here

public function video_transcoder::get_original_path_by_converted_path in Video 6.5

Helper method for video_file_download()

Returns the path to the original video file based on the path of the converted video file.

Parameters

$filepath: The path to the converted file, this path must have been processed by file_create_path().

Return value

Path to the original video, NULL if not found.

2 methods override video_transcoder::get_original_path_by_converted_path()
video_localcommand::get_original_path_by_converted_path in transcoders/video_localcommand.inc
Implementation of get_original_path_by_converted_path().
video_zencoder::get_original_path_by_converted_path in plugins/video_zencoder/transcoders/video_zencoder.inc
Implementation of get_original_path_by_converted_path().

File

./video.lib.inc, line 105
File containing Video module interfaces and classes

Class

video_transcoder

Code

public function get_original_path_by_converted_path($filepath);