0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
Page type for 360° videos based on Google Vrview.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.12, < 3
>= 14, < 18
~> 12.0
~> 1.0

Runtime

>= 12.0, < 18
 Project Readme

Pageflow VR

Gem Version Build Status

Page type to display 360° videos.

Installation

Add this line to your application's Gemfile:

# Gemfile
gem 'pageflow-vr'

Register the plugin:

# config/initializers/pageflow.rb
Pageflow.configure do |config|
  config.plugin(Pageflow::Vr.plugin)
end

Include javascripts and stylesheets:

# app/assets/javascripts/components.js
//= require "pageflow/vr/components"

# app/assets/javascripts/pageflow/application.js
//= require "pageflow/vr"

# app/assets/javascripts/pageflow/editor.js
//= require pageflow/vr/editor

# app/assets/stylesheets/pageflow/themes/default.scss
@import "pageflow/vr/themes/default";

Install the routes:

# config/routes.rb
MyPageflow::Application.routes.draw do
  Pageflow::Vr.routes(self)
end

Execute bundle install and restart the application server.

Now you can enable the page type in your feature settings.

Troubleshooting

If you run into problems while installing the page type, please also refer to the Troubleshooting wiki page in the Pageflow repository. If that doesn't help, consider filing an issue.

Contributing Locales

Edit the translations directly on the pageflow-vr locale project.