Support for non-video provider links (i.e. just a link to a video file)

pcdonohue - June 11, 2007 - 14:51
Project:Video CCK
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

Hi,

I was wondering if it would be hard to include non video provider links, in other words not YouTube, not Google Video, etc.? Just a video that somebody has posted a link to on the internet (to a wmv, avi, mpeg, etc.).

I have a lot of such videos (that I host or other people host) that I would like to include in the video library on my drupal site using this module and for a variety of reasons don't want to (or cannot) upload those videos to a provider. I found a site that will generate embedding code - http://freevideocoding.com/ - but I'm assuming that a generic provider.inc file would have to be written?

thanks!

#1

pcdonohue - June 11, 2007 - 23:48

Well,

I managed to modify one of the existing provider.inc files to work for one particular site. I changed the regular expression in the code to match the site and then put in the embedding code in one of the functions to display the video(in this case it's a wmv video). It works, kind of. Some of the views get pretty screwy, I imagine because the embed code I'm using might be funky. My regular expressions are real rusty too...

Rather than have to do a separate inc file for every site though, I'd like to figure out an easy way just to tell Video CCK that it's just a hosted video file and then just provided the appropriate embed code based on the video file type. Not sure how hard that would be.

By the way, I realize there are other tools that I can do this with, or even just paste the embed code for a video in a normal node. However, I want to use only one video node type rather than multiple, if that makes any sense.

#2

pcdonohue - June 13, 2007 - 21:41
Status:active» duplicate

I see there's another request for this, specifically for flash video.

http://drupal.org/node/134064

I'll post in that node about this feature.

 
 

Drupal is a registered trademark of Dries Buytaert.