• : Function ereg() is deprecated in /home/dhuha/public_html/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/dhuha/public_html/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/dhuha/public_html/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/dhuha/public_html/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/dhuha/public_html/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/dhuha/public_html/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/dhuha/public_html/includes/file.inc on line 646.
  • : Function ereg() is deprecated in /home/dhuha/public_html/includes/file.inc on line 646.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.
  • : Function split() is deprecated in /home/dhuha/public_html/modules/filter/filter.module on line 1206.

Watching Youtube Video on Drupal 5 Site

drupal YouTube is the most popular video sharing site on the web. If you have a drupal site and you want to embed video content on your site so people can watch directly from your site, what can you do?

In drupal 5 you can use some methods to embed youtube video in your content. I found this article here, not detailed but I think it may be useful.


  1. Embed code within nodes. By far the easiest and most flexible way to integrate YouTube videos on your site. Just copy and paste the embed codes provided for each video player into the node body. Make sure that your input format is set to 'Full HTML' or the player will not appear when the post is saved.
  2. The asset module. The asset module can connect to your YouTube account via the YouTube API. This allows you to access lists of uploaded videos and favorites which you can then insert into posts directly from the Drupal administration interface.
  3. The embedded media field module. Embedded media field is a multi-purpose embedding module that supports images, video and audio. The video part supports YouTube and a wide variety of other video sites.This module allows you to create a field using CCK that will accept the link to a YouTube video and automatically convert that link to an embedded video player in the node.

Embed code within nodes

I start using this method few months ago and it not working for me. It could be problems with WYSIWYG editor when handling input format. But you can try it because it would be the easiest.

Using asset module

I think its not what I am looking for so I am not trying this method.

Using Embedded Media Field Module

I try this method and it works.

Follow this steps to install and configure the module:

1. Download Embedded Media Field Module

2. Upload to your hosting directory /public_html/modules/

3. Configure and enabled this module in your drupal site: /administer/site building/modules/

4. To put this module works go to : /administer/content management/content types/

     Choose specific content type that you desire to add field (Blog entry/story/page) then click Edit -- Manage Fields -- add field

5. Then add a group name( can be anything like- Video)

6. Once add group then add the actual field by selecting "add field" option

7. After this process is complete, go to create content and select "blog entry" or the content type that you added the field and you  will see the new fields added "Video" for instance.

8. Copy and paste the embedded code from youtube site.

View this test page

Reply

The content of this field is kept private and will not be shown publicly.
If you have a Gravatar account, used to display your avatar.
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
Jawab pertanyaan ini untuk membedakan apakah anda pengunjung atau spam.
3 + 10 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.