How To embed a video in drupal 7 ?

  0 comments
Share

There are many ways to add video in Drupal, but If you want to add YouTube or Vimeo videos to your content types then use the Video Embed Field module which provide the simplest way to do it. It simply stores a URL and prepares it into embed code.

This modules creates a field type called 'Video Embed' where we can add video's url from Youtube or Vimeo.

Let us see how 'Video Embed' field work with any content type:--

  1. Install and enable the Video Embed Field module.
  2. Go to Structure ? Content types ? Your content type ? Manage field
  3. Add a Video Embed field to your content type:

    add_video_field

  4. Go to Add content and add any youtube or Vimeo videos URL's in that field.

    add_video_url

  5. Save the content and check your video:

    Video_output

  6. You can setting the video style from admin/config/media/vef_video_styles. You can adjust the video player attribute like width, height, Autoplay fuctions and many more for both Youtube or Vimeo videos.

    adjust_player_attributes

Add new comment