10 February, 2023 seen 25,309Recently, I faced a challenge while trying to display image galleries on a Drupal-powered website. While there are a few modules that you can use to build your gallery view, such as the Views Slideshow Gallery module, I recently discovered some Drupal-powered sites using the Flex Slider library. Excited by this new discovery, I tried to create a gallery…
Recently I started a new topic series - documentaries, where I publish documentaries I have watched and recommend to watch others. I write a brief description of what each documentary is, and then I embed a YouTube link to show a video on my blog.
But lately I started to think of creating my own Screen-casts, and the idea of embedding a video on content didn't satisfy me anymore.
What I wanted - to populate a video in the field, so later by using views I can display video on top of content, not in the content:
To achieve this, I just needed to add one small module and create a new view.
- Download YouTube module
- Extract it to sites/all/modules
- Enable it from modules page
- Add a new YouTube field to your Content type field
I will not write this time how to create a view containing your video, it's too straightforward if you are familiar with views, if not, please leave a comment below, and I'll guide you through in some of my next posts.