How to Embed Facebook Videos with the Drupal Media Module

Since the start of lockdown in March, you’ve probably seen way more live streams on social media than you ever had before. These are taking places on platforms like YouTube, Instagram, and Facebook Live.

We recently got a question at a training from an attendee whose organization has been doing more live streams on Facebook. They also use Drupal’s built-in Media module and were wondering how they could embed their recorded live streams from Facebook onto their Drupal site. In today's tutorial, I outline two different methods for pulling this off.

Lire la suite about How to Embed Facebook Videos with the Drupal Media Module

Perfect Your Facebook Link Previews with the Drupal Metatag Module

In a previous blog post and video, we looked at the code that controls the display of link previews on Facebook. This is outlined by Facebook's Open Graph protocol, where we modify the <meta> tags within the <head> of our HTML web page to say what the title, description, image, and other info should appear in our preview.  

Lire la suite about Perfect Your Facebook Link Previews with the Drupal Metatag Module

How to Test Your Drupal Site’s Accessibility

It's a lot easier to design an accessible website if you consider accessibility from the get-go, but we don't always have that luxury. You’re far more likely to have an existing site on your hands, and, if you're reading this, you're probably wondering how to determine how accessible it is currently so you can get a better idea of what needs to be done.

Here’s a simple guide to testing your Drupal site for accessibility. (Most of these apply to non-Drupal sites, too). We've divided it into 3 sections.

Jump to:

Lire la suite about How to Test Your Drupal Site’s Accessibility

What's Next for Drupal 9?

Drupal 9.0 was launched earlier this month as a continuation of Drupal 8. This time around, the core update was more about updating the technology underlying Drupal's codebase and eliminating dependencies than introducing brand-new features, but fear not: we'll be getting some of those soon enough.

Drupal releases features on a semi-annual basis, and version 9.1 is expected to be rolled out around December this year.

Lire la suite about What's Next for Drupal 9?

Drupal 8 vs. Drupal 9: More Features for Content Editors  

The recent official launch of Drupal 9.0 represents 4 and a half years of improvements (and more than 4,500 individual contributors) to the open source CMS designed to support the most ambitious digital experiences. The official party line, so to speak, is that "the big deal about Drupal 9 is that it's not a big deal."

Lire la suite about Drupal 8 vs. Drupal 9: More Features for Content Editors  

Building Accordions With the HTML5 Details Tag (No JavaScript Needed)

Use the web for a short amount of time and you'll no doubt bump into an accordion, one of those collapsible elements that, when you click on its title, opens up to reveal more information. Click the title again, and it closes back up.  

If you're a web developer, you've also probably had to code one of these, myself included. There are a few different ways you could build this, but I recently learned that there's a way built right into HTML5! But first, let's take a look at the ways I (and probably you) have done this before.  

Lire la suite about Building Accordions With the HTML5 Details Tag (No JavaScript Needed)