Αυτό το πρόσθετο δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress. Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας με τις πιο πρόσφατες εκδόσεις του WordPress.

VR Views

Περιγραφή

This plugin provides a [vrview] shortcode that embeds 360′ mono-and-stereoscopic images and videos into your WordPress website using Google’s “VR Views” library. On devices supporting VR (such as Google Cardboard devices), a link appears that will display the content in full-screen VR mode.

As per the VR Views spec:

VR Views allow you to embed 360 degree VR media into websites on desktop and mobile, and native apps on Android and iOS. This technology is designed for developers of traditional apps to enhance them with immersive content. For example, VR Views make it easy for a travel app to provide viewers with an underwater scuba diving tour as they plan vacation or for a home builder to take prospective buyers on virtual walkthrough before the home is built.

VR Views also address a common developer concern, namely the limited availability of VR hardware amongst the general public. Although VR Views support true stereoscopic VR playback through compatibility with Google Cardboard, they default to a simple “magic window” mode that works on everything from desktop browsers to mobile apps without any special hardware.

This plugin allows you to embed VR Views in the recommended way – by self-hosting the vrview.js file. This enables you to embed any content uploaded to your site without needing to perform CORS hackery.

The shortcode syntax follows exactly the parameter spec of VR Views themselves:

  • image or video: {String} URL of image or video to load. (required)
  • is_stereo: {Boolean} true if content is in stacked stereo format. (optional, default false)
  • preview: {String} URL of still preview to load first. (optional, default none)
  • start_yaw: {Number} Initial yaw of viewer, in degrees. (optional, default 0)
  • is_yaw_only: {Boolean} true if motion is restricted to yaw only. (optional, default false)

e.g. [vrview image=”//photovrse.com/examples/coral.jpg” is_stereo=”true”]

The content itself could be captured on any device which supports capturing 360 images or video. My preferred app is the Google Cardboard Camera (Android-only)

You can see the shortcode above in action here: http://goldsounds.com/vrview-test/

For tips on converting Cardboard Camera images, check out these resources:

  • http://vectorcult.com/2015/12/extracting-the-audio-stereo-pair-from-cardboard-camera-3d-panoramic-images/
  • http://edward.io/blog/extracting-google-cardboard-photos.html

Συντελεστές

Virtual Reality Goggles icon by Felisberto Piazza from the Noun Project

Στιγμιότυπα

  • Sample in Android Chrome
  • Sample in Android Chrome with "VR Mode" enabled (Cardboard-compatible)

Εγκατάσταση

  1. Upload vr-views.php to the /wp-content/plugins/ directory
  2. Ενεργοποιήστε το πρόσθετο μέσω του μενού “Πρόσθετα” στο WordPress
  3. Place <?php do_action('vr_views_hook'); ?> in your templates

Κριτικές

28 Μαρτίου 2018
This plugin makes it very easy to embed a VR viewer on a Wordpress site. I would really like to be able to give it 5-stars. However, it is missing one important feature that is a part of Google VRview, upon which this plugin is based. Since Google VRview includes "auto-pan", as "ON" by default, it would not be that difficult to implement "auto-pan" in the plugin. But "auto-pan" doesn't even exist in this plugin. FYI, "auto-pan" is the feature that automatically pans the image about 15 or so degrees, when the image loads. "auto-pan" acts as a visual signal to the visitor that the image is not just a flat image, but a navigable image. If the plugin developer should eventually implement this basic, but important feature, I would then be glad to change my review and give it 5-stars. But without "auto-pan", I'm left looking for a full-featured 360 degree image viewer.
15 Νοεμβρίου 2017
"Not tested" with my current Wordpress install but still works well. Thanks for making my life easier with this plugin. Will donate if/when my ship comes in.
2 Ιουνίου 2017
render: unable to load texture. More there is no instruction how to load a movie.
Ανάγνωση όλων των 3 κριτικών

Συνεισφέροντες & Προγραμματιστές

“VR Views” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Το “VR Views” έχει μεταφραστεί σε 1 γλώσσα. Ευχαριστούμε τους μεταφραστές για τις συνεισφορές τους.

Μεταφράστε το “VR Views” στην γλώσσα σας.

Ενδιαφέρεστε για την ανάπτυξη;

Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .

Σύνοψη αλλαγών

1.0

  • First release