Easy fix here. I found this issue while creating video nodes programatically for files that already exist as attachments to different types of nodes. I found that I could link an existing fid to the video node field fine but it would not play. It turns out that the file extension for the file i l was linking was uppercase . When i added strtolower to the extension in video_helper.inc line 35 it played. So the player is mapped to extension but only lower case map.

$video->extension = strtolower(pathinfo($element['#item']['filename'], PATHINFO_EXTENSION));

Thanks for great module. I posted a how to here for adding existing videos and new videos attached to other nodes to your video library. http://drupal.org/node/860590

Comments

hypertext200’s picture

Status: Active » Fixed

Added to the dev

pjsz’s picture

Awesome! Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.