Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

A-Frame

5 sites Security covered
View on drupal.org

This module integrates Drupal with A-Frame, a framework for building web-based virtual reality experiences. It allows you to create VR scenes using Drupal's rendering system, Views, and Display Suite, and can format image and file fields as VR elements.

This module provides integration with A-Frame.

A-Frame is a framework for creating virtual reality web experiences that work across desktop, mobile, and the Oculus Rift.

Source: https://aframe.io

Features

Drupal 8:

Drupal 7:

  • A-Frame library.

Requirements

D7: None.

D8: You have to download one of the aframe builds as a library. The easiest way to do it is to add an entree in your composer.json. You can find an example in the README file. For more details, see the original issue #2943185

Installation

Install the module as per standard Drupal instructions.

Usage

Drupal 8:

There are multiple ways to use this module:

  • Build an A-Frame scene as a Drupal render array.
  • Render multiple entities as an A-Frame scene using the Views Style plugin and the Field Formatters.
  • Render an entity type as A-Frame scenes using the Display Suite layout and the Field Formatters.

Enable the A-Frame Example module to see more details.

Drupal 7:

To start an A-Frame scene, we import the A-Frame JavaScript file, this module do that for you for every page.

The second thing that wee need to do is add an <a-scene> element. This module add the a-scene tag inside of every element with ".vr-scene" class, you can add that class to the <body> to a <div>, etc (you can use a module as Context to do that).

Inside of any scene you can add any object, for example: <a-cube></a-cube>. See the full list of objects and components that you can use in the official documentation: https://aframe.io/docs/guide/

Credits

  • A-Frame for Drupal 7 is developed by Eleo Basili (Spinetta Limited).
  • A-Frame for Drupal 8 is developed by Stuart Clark (Deciphered).
  • A-Frame is developed by Mozilla.

Activity

Total releases
1
First release
Oct 2025
Latest release
9 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
2.0.0-alpha1 Pre-release Oct 6, 2025