Here's a .tags file for embedding video easily from Google, Youtube, or Myspace. Embedding videos within different content types gives a good amount of flexibility, compared to a single video content type. It also allows several videos to be embedded within a single body, and gives some other layout options.

Right now it defaults to the usual video servers' height and width. The next step with this .tags file will be to allow different height and widths.

Use it with these tags:
{GOOGLEVIDEO docid}
{YOUTUBEVIDEO vid}
{MYSPACEVIDEO videoid}
replacing the id's with the respective values.

Hope this helps someone. Feel free to let me know of any requests or changes.
Thanks,
Jason

CommentFileSizeAuthor
#5 video.tags_.txt3.71 KBprofix898
video.tags1.64 KBjmarkantes

Comments

profix898’s picture

Thanks jmarkantes, I will try your video.tags and comment on it then. But actually I need to fix some bugs in RepTags for Drupal 5 first ... so it may take a few days ;)

jmarkantes’s picture

Title: Here's a video .tags file » No rush!

No rush at all on the video.tags file. Concentrate on drupal 5! :) Open to suggestions, or feel free to make any changes you see fit before re-distributing. We're currently using it on Next Adventure's site.

The one feature that would be nice is the option to specify the height and width. Currently it's hardcoded to each video site's typical sizes. I started messing with it but haven't had a chance to follow through with that yet.

Jason

profix898’s picture

Just read about this (http://cvs.drupal.org/viewcvs/drupal/contributions/modules/googtube/goog...) on the devlist. Its a filter module to embed youtube and google video. Maybe the codes can learn from each other ...

profix898’s picture

Title: No rush! » Here's a video .tags file
profix898’s picture

StatusFileSize
new3.71 KB

I have just updated the video.tags module and added some new features, e.g. you can now specify dimensions and provide an optional title for google video. It would be really nice if you could test it before I commit it officially. The file is designed for the latest Drupal-5 version of reptag. To make it work with older versions you must replace reptag_video_init with _video_init.
Thanks in advance.

profix898’s picture

Status: Needs review » Fixed

I just committed video.tags to Drupal-5 branch. It will be part of the upcoming reptag release. Thanks for the idea and the code.

Anonymous’s picture

Status: Fixed » Closed (fixed)