{"id":3171,"date":"2022-04-21T12:17:19","date_gmt":"2022-04-21T12:17:19","guid":{"rendered":"https:\/\/simlab-soft.com\/blog\/?p=3171"},"modified":"2024-04-02T10:07:34","modified_gmt":"2024-04-02T10:07:34","slug":"embed-vr-gallery-technology-in-your-website","status":"publish","type":"post","link":"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/","title":{"rendered":"Embed VR Gallery technology in your website"},"content":{"rendered":"\n<p>In this blog, we are going to learn how to create and run a VR package experience. We use it on many pages, such as <a href=\"https:\/\/www.simlab-soft.com\/SimlabArt\/gallery\/vr-gallery\/\">VR Gallery<\/a> or <a href=\"https:\/\/www.simlab-soft.com\/3d-products\/vr-studio.aspx\">VR Studio<\/a>, to implement a way to open the VR Viewer Software  by clicking on a button or an image.<\/p>\n\n\n\n<p class=\"has-luminous-vivid-orange-color has-text-color\"><strong>The mechanism:<\/strong><\/p>\n\n\n\n<p>If the VR Viewer is downloaded on the user&#8217;s machine, it will be opened; if not, it will give the user a popup message indicating that the user must download the VR viewer in order to play the VR experience. Now let&#8217;s discuss how to enable others to have this technology on their own websites.<\/p>\n\n\n\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\">\n<p>There are two steps in this technology:<\/p>\n\n\n\n<ol><li>Add Scripts block, and we have two scripts, one for the jQuery library and the second for the protocol that controls the way the browser interacts with the user behavior.<\/li><li>Modify HTML Elements whether it is an image or button or even a paragraph to open VR Viewer when it is clicked<\/li><\/ol>\n<\/div>\n<\/div>\n\n\n\n<p class=\"has-vivid-green-cyan-color has-text-color\" style=\"font-size:18px\"><strong> STEP 1: Scripts <\/strong><\/p>\n\n\n\n<p>There are two main scripts to add here, the user has the choice to add them to the header or footer sections of the page:<\/p>\n\n\n\n<ol><li>&lt;script src=&#8221;https:\/\/www.simlab-soft.com\/assets\/plugins\/jquery-3.6.0.min.js&#8221;&gt;&lt;\/script&gt;<\/li><li>&lt;script src=&#8221;https:\/\/www.simlab-soft.com\/vrPack\/test_files\/vrCatalog.js&#8221;&gt;&lt;\/script&gt;<\/li><\/ol>\n\n\n\n<p class=\"has-text-color\" style=\"color:#e885f1;font-size:18px\"> <strong>STEP 2: CSS File<\/strong><\/p>\n\n\n\n<p>There is CSS to be add, in the header of the page:<\/p>\n\n\n\n<p> &lt;link rel=&#8221;stylesheet&#8221; href=&#8221;https:\/\/www.simlab-soft.com\/vrPack\/test_files\/vrCatalog.css&#8221; media=&#8221;all&#8221;> <\/p>\n\n\n\n<p class=\"has-vivid-cyan-blue-color has-text-color\" style=\"font-size:18px\"> <strong>STEP 3: HTML Elements<\/strong> <\/p>\n\n\n\n<p class=\"has-text-align-center has-black-color has-pale-cyan-blue-background-color has-text-color has-background\"><strong> onclick=&#8221;openSimLabURL(&#8216;simlabvr:\/\/name.vrpackage&#8217;)&#8221; <\/strong><\/p>\n\n\n\n<p>Will the type of HTML element is not important whether it is a button, link, paragraph.. the person who is implementing this method should follow these steps:<\/p>\n\n\n\n<ul><li>Get the URL of the VR package uploaded on your website for example: &#8220;<strong>https:\/\/name-website\/sub-folder\/package-name.vrpackage<\/strong>&#8220;<\/li><li>Then add the URL to the code in the blue background instead of &#8220;name.vrpackage&#8221; to look like this <strong>onclick=&#8221;openSimLabURL(&#8216;simlabvr:\/\/https:\/\/name-website\/sub-folder\/package-name.vrpackage&#8217;)&#8221; <\/strong> <\/li><li>Then add it to the main elements that should be clicked to implement this technology for example:<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code bg-transparent\"><code>&lt;button onclick=\"openSimLabURL('simlabvr:\/\/name.vrpackage')\"&gt;&lt;img src=\"image-name.png\"&gt;&lt;\/button&gt;<\/code><\/pre>\n\n\n\n<p class=\"has-text-align-center\">Extra Technical Note: \u201csimlabvr\u201d is the name of the VR Viewer protocol we use.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center\">\n<div class=\"wp-block-button has-custom-font-size\" style=\"font-size:18px\"><a class=\"wp-block-button__link has-white-color has-vivid-cyan-blue-background-color has-text-color has-background\" href=\"https:\/\/www.simlab-soft.com\/vrPack\/test_files\/example.aspx\" style=\"border-radius:5px\"><strong>Ready Example To Test<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\"><\/div>\n<\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/simlab-soft.com\/blog\/wp-content\/uploads\/2022\/04\/MainSeperator.svg\" alt=\"\" class=\"wp-image-3181\"\/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, we are going to learn how to create and run a VR package experience. We use it on many pages, such as VR Gallery or VR Studio, to implement a way to open the VR Viewer Software by clicking on a button or an image. The mechanism: If the VR Viewer is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3216,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[89,9],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Embed VR Gallery technology in your website &bull; SimLab Soft Blog<\/title>\n<meta name=\"description\" content=\"In this blog, we are going to learn how to create a Run VR package button, Which we use in our VR Gallery.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Embed VR Gallery technology in your website &bull; SimLab Soft Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog, we are going to learn how to create a Run VR package button, Which we use in our VR Gallery.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/\" \/>\n<meta property=\"og:site_name\" content=\"SimLab Soft Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pages\/SimLab-Soft\/154245504646447\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-21T12:17:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-02T10:07:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/simlab-soft.com\/blog\/wp-content\/uploads\/2022\/04\/Artboard-106.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1204\" \/>\n\t<meta property=\"og:image:height\" content=\"790\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"SimLab\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@SimLabSoft\" \/>\n<meta name=\"twitter:site\" content=\"@SimLabSoft\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"SimLab\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/simlab-soft.com\/blog\/#organization\",\"name\":\"SimLab Soft\",\"url\":\"https:\/\/simlab-soft.com\/blog\/\",\"sameAs\":[\"https:\/\/www.instagram.com\/simlabsoft\",\"https:\/\/www.linkedin.com\/company\/simlab-soft\",\"https:\/\/www.youtube.com\/user\/SimLabSoft\",\"https:\/\/www.facebook.com\/pages\/SimLab-Soft\/154245504646447\",\"https:\/\/twitter.com\/SimLabSoft\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/simlab-soft.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/vrforcad.com\/wp-content\/uploads\/2019\/09\/Artboard-2.png\",\"contentUrl\":\"https:\/\/vrforcad.com\/wp-content\/uploads\/2019\/09\/Artboard-2.png\",\"width\":107,\"height\":110,\"caption\":\"SimLab Soft\"},\"image\":{\"@id\":\"https:\/\/simlab-soft.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/simlab-soft.com\/blog\/#website\",\"url\":\"https:\/\/simlab-soft.com\/blog\/\",\"name\":\"3D CAD VR\",\"description\":\"Lets do more with 3D Models\",\"publisher\":{\"@id\":\"https:\/\/simlab-soft.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/simlab-soft.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/\",\"url\":\"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/\",\"name\":\"Embed VR Gallery technology in your website &bull; SimLab Soft Blog\",\"isPartOf\":{\"@id\":\"https:\/\/simlab-soft.com\/blog\/#website\"},\"datePublished\":\"2022-04-21T12:17:19+00:00\",\"dateModified\":\"2024-04-02T10:07:34+00:00\",\"description\":\"In this blog, we are going to learn how to create a Run VR package button, Which we use in our VR Gallery.\",\"breadcrumb\":{\"@id\":\"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/simlab-soft.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Embed VR Gallery technology in your website\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/\"},\"author\":{\"name\":\"SimLab\",\"@id\":\"https:\/\/simlab-soft.com\/blog\/#\/schema\/person\/412e620e81f9007a4ab1f16fe164ee06\"},\"headline\":\"Embed VR Gallery technology in your website\",\"datePublished\":\"2022-04-21T12:17:19+00:00\",\"dateModified\":\"2024-04-02T10:07:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/\"},\"wordCount\":376,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/simlab-soft.com\/blog\/#organization\"},\"articleSection\":[\"Education\",\"VR\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/simlab-soft.com\/blog\/#\/schema\/person\/412e620e81f9007a4ab1f16fe164ee06\",\"name\":\"SimLab\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/simlab-soft.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1d268a773e70eb115fb77bdbbb8de1cf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1d268a773e70eb115fb77bdbbb8de1cf?s=96&d=mm&r=g\",\"caption\":\"SimLab\"},\"url\":\"https:\/\/simlab-soft.com\/blog\/author\/simlab\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Embed VR Gallery technology in your website &bull; SimLab Soft Blog","description":"In this blog, we are going to learn how to create a Run VR package button, Which we use in our VR Gallery.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/","og_locale":"en_US","og_type":"article","og_title":"Embed VR Gallery technology in your website &bull; SimLab Soft Blog","og_description":"In this blog, we are going to learn how to create a Run VR package button, Which we use in our VR Gallery.","og_url":"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/","og_site_name":"SimLab Soft Blog","article_publisher":"https:\/\/www.facebook.com\/pages\/SimLab-Soft\/154245504646447","article_published_time":"2022-04-21T12:17:19+00:00","article_modified_time":"2024-04-02T10:07:34+00:00","og_image":[{"width":1204,"height":790,"url":"https:\/\/simlab-soft.com\/blog\/wp-content\/uploads\/2022\/04\/Artboard-106.png","type":"image\/png"}],"author":"SimLab","twitter_card":"summary_large_image","twitter_creator":"@SimLabSoft","twitter_site":"@SimLabSoft","twitter_misc":{"Written by":"SimLab","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/simlab-soft.com\/blog\/#organization","name":"SimLab Soft","url":"https:\/\/simlab-soft.com\/blog\/","sameAs":["https:\/\/www.instagram.com\/simlabsoft","https:\/\/www.linkedin.com\/company\/simlab-soft","https:\/\/www.youtube.com\/user\/SimLabSoft","https:\/\/www.facebook.com\/pages\/SimLab-Soft\/154245504646447","https:\/\/twitter.com\/SimLabSoft"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/simlab-soft.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/vrforcad.com\/wp-content\/uploads\/2019\/09\/Artboard-2.png","contentUrl":"https:\/\/vrforcad.com\/wp-content\/uploads\/2019\/09\/Artboard-2.png","width":107,"height":110,"caption":"SimLab Soft"},"image":{"@id":"https:\/\/simlab-soft.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/simlab-soft.com\/blog\/#website","url":"https:\/\/simlab-soft.com\/blog\/","name":"3D CAD VR","description":"Lets do more with 3D Models","publisher":{"@id":"https:\/\/simlab-soft.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/simlab-soft.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/","url":"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/","name":"Embed VR Gallery technology in your website &bull; SimLab Soft Blog","isPartOf":{"@id":"https:\/\/simlab-soft.com\/blog\/#website"},"datePublished":"2022-04-21T12:17:19+00:00","dateModified":"2024-04-02T10:07:34+00:00","description":"In this blog, we are going to learn how to create a Run VR package button, Which we use in our VR Gallery.","breadcrumb":{"@id":"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/simlab-soft.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Embed VR Gallery technology in your website"}]},{"@type":"Article","@id":"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/#article","isPartOf":{"@id":"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/"},"author":{"name":"SimLab","@id":"https:\/\/simlab-soft.com\/blog\/#\/schema\/person\/412e620e81f9007a4ab1f16fe164ee06"},"headline":"Embed VR Gallery technology in your website","datePublished":"2022-04-21T12:17:19+00:00","dateModified":"2024-04-02T10:07:34+00:00","mainEntityOfPage":{"@id":"https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/"},"wordCount":376,"commentCount":0,"publisher":{"@id":"https:\/\/simlab-soft.com\/blog\/#organization"},"articleSection":["Education","VR"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/simlab-soft.com\/blog\/embed-vr-gallery-technology-in-your-website\/#respond"]}]},{"@type":"Person","@id":"https:\/\/simlab-soft.com\/blog\/#\/schema\/person\/412e620e81f9007a4ab1f16fe164ee06","name":"SimLab","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/simlab-soft.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1d268a773e70eb115fb77bdbbb8de1cf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1d268a773e70eb115fb77bdbbb8de1cf?s=96&d=mm&r=g","caption":"SimLab"},"url":"https:\/\/simlab-soft.com\/blog\/author\/simlab\/"}]}},"_links":{"self":[{"href":"https:\/\/simlab-soft.com\/blog\/wp-json\/wp\/v2\/posts\/3171"}],"collection":[{"href":"https:\/\/simlab-soft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/simlab-soft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/simlab-soft.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/simlab-soft.com\/blog\/wp-json\/wp\/v2\/comments?post=3171"}],"version-history":[{"count":26,"href":"https:\/\/simlab-soft.com\/blog\/wp-json\/wp\/v2\/posts\/3171\/revisions"}],"predecessor-version":[{"id":3679,"href":"https:\/\/simlab-soft.com\/blog\/wp-json\/wp\/v2\/posts\/3171\/revisions\/3679"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/simlab-soft.com\/blog\/wp-json\/wp\/v2\/media\/3216"}],"wp:attachment":[{"href":"https:\/\/simlab-soft.com\/blog\/wp-json\/wp\/v2\/media?parent=3171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/simlab-soft.com\/blog\/wp-json\/wp\/v2\/categories?post=3171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/simlab-soft.com\/blog\/wp-json\/wp\/v2\/tags?post=3171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}