Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.21 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.21 KB

ReplayWeb.page Player

Adds a field formatter to play web archive files using ReplayWeb.page.

Setup and Usage

Requirements

  • Drupal core media module
  • Website should use HTTPS (required for the service worker)

Installation

Download and enable module using file upload, Drush, or Composer

Configuration

  1. Set the File field display of Web Archive media type to ReplayWebPage formatter on Structure › Media Types › Web Archive › Manage display
  2. Add or modify a media field in a content type and enable Web Archive as a reference type

Usage

  1. Add media at Content › Media
  2. Upload web archive file and set Base URL if applicable
  3. Attach to content

Private Filesytem and PHP-fpm Configuration

  • If the module is setup in Drupal's private filesystem and Apache's php-fpm. the SetEnv ap_trust_cgilike_cl need to be added in .htaccess. Read more on this at here.

Acknowledgements

Some of the code in this repository is modified code based on Strawberry Field's implementation of a similar player.