Cover by Dylan James

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Adding video to a content type

In this recipe we will see how to create a Video content type that has a field for embedding videos. Creating a content type, which can deal specifically with embedded content, is far more powerful than simply pasting a video embed code into the Body field. By having a specific Video field, you can have complete control over the display and positioning of the video, and a greater deal of control over its content and format.

The resulting video display of this recipe is as follows:

Adding video to a content type

Getting ready

For this recipe you will need to install the most recent recommended releases of the following modules:

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required