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
Comments
Comment #1
profix898 commentedThanks 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 ;)
Comment #2
jmarkantes commentedNo 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
Comment #3
profix898 commentedJust 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 ...
Comment #4
profix898 commentedComment #5
profix898 commentedI 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_initwith_video_init.Thanks in advance.
Comment #6
profix898 commentedI just committed video.tags to Drupal-5 branch. It will be part of the upcoming reptag release. Thanks for the idea and the code.
Comment #7
(not verified) commented