Stop hard-coding the video file extension.

This commit is contained in:
Roel van Uden
2015-01-22 20:44:55 +01:00
parent d735259a6d
commit f15d1e77e9
2 changed files with 1 additions and 2 deletions

View File

@@ -132,6 +132,6 @@ function _video(config, page, player, filePath, done) {
player.video.host,
player.video.file,
page.swf,
filePath + '.mp4',
filePath + '.' + path.extname(player.video.file),
done);
}