Skip to main content
Home
Blog

Main navigation

  • Home
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Knowledge Base
  4. How-To

How to embed video in your Drupal content?

By ongetc , 26 February, 2017

It is not hard but just needs to know the steps. There are 3 steps as follow:

1. Install "video filter" from this URL: http://drupal.org/node/402796
2. Enable "video filter" module from here: admin/build/modules
3. Configure which "input formats" to allow "video filter", in this article I pick "Filtered HTML" which is filter number 1

+ admin/settings/filters/1
. To enable Video Filter check box where it will substitutes [video:URL] with embedded HTML.

+ admin/settings/filters/1/order
. To rearrange Filtered HTML to which filter to be processed first in your content

Once you have done the above then you can use it as the examples below:

Note: extra space to show the code

+ [ video:url ] - This will output one video using the default settings.
+ [ video:url,url,url ] - This will output random video from a list of multiple URL
+ [ video:url width:X height:Y align:left/right autoplay:1/0 ] - This will override the default settings for this video.

Here is an example: [ video:http://www.youtube.com/watch?v=W_T8zGY7PMQ&feature=youtu.be ]

[ video:http://www.youtube.com/watch?v=W_T8zGY7PMQ&feature=youtu.be ]

Forums
How-To

Reseller hosting (free)

Hosting24 (w/ ssh)

A2 Hosting

Monthly archive

  • September 2009 (14)
  • October 2009 (11)
  • January 2010 (2)
  • June 2010 (3)
  • October 2011 (1)
  • March 2012 (1)
  • July 2012 (1)
  • February 2017 (564)
  • March 2017 (5)
  • April 2017 (2)

Pagination

  • 1
  • Next page

Popular content

Last viewed:

  • SPIP
  • PHP Nuke Evolution Xtreme
  • SAPID
  • The Regex Coach
  • How do redirect www using mod_rewrite?
  • LitePublisher
  • Jease
  • phpWebSite
  • How to do normal URL with Zend Framework?
  • b2evolution

User login

  • Reset your password