{"id":1666,"date":"2025-06-06T08:21:02","date_gmt":"2025-06-06T08:21:02","guid":{"rendered":"https:\/\/www.portalsunited.com:443\/?post_type=docs&#038;p=1666"},"modified":"2025-06-06T08:21:03","modified_gmt":"2025-06-06T08:21:03","password":"","slug":"launching-the-portal-hopper-with-parameters","status":"publish","type":"docs","link":"https:\/\/www.portalsunited.com:443\/docs\/launching-the-portal-hopper-with-parameters\/","title":{"rendered":"Launching the Portal Hopper with Parameters"},"content":{"rendered":"\n<p>The Portal Hopper can be called either directly by clicking on its app icon or indirectly by displaying a link on a website or inside a document by adding a link which starts with &#8220;hopper:&#8221;.<\/p>\n\n\n\n<p>Example:<br>&#8220;hopper:https:\/\/vrweb.somedomain.com\/index.vrml&#8221; will start the Hopper and load and execute the index.vrml file.<\/p>\n\n\n\n<p>The Portal Hopper can <strong>Install and display an avatar <\/strong>by passing these parameters to the hopper:<br>-al pass asset bundle name of an avatar to the Hopper<br>-an pass avatar name in bundle to the Hopper (may be left out and the Hopper will use the bundle name as avatar name)<\/p>\n\n\n\n<p>For testing, the hopper can <strong>map all links to a different domain<\/strong>.<br>-map &lt;local path><br>This can be used to test a project locally. If left off, the mapping goes to &#8220;http:\/\/localhost&#8221;. The domain name is then mapped to a folder name<\/p>\n\n\n\n<p>Example:<br>-map http:\/\/localhost maps the link &#8220;https:\/\/vrweb.mydomain.com\/myProject\/location1.vrml&#8221; to &#8220;http:\/\/localhost\/vrweb.mydomain.com\/myProject\/location1.vrml&#8221;<\/p>\n\n\n\n<p>This can be very useful in conjunction with XAMPP or MAMP servers which provide you with a local HTTP server (localhost). For the above example using -map, the referenced files need to be located in &lt;MAMP or XAMPP install folder>\/htdocs\/vrweb.mydomain.com\/myProject<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Portal Hopper can be called either directly by clicking on its app icon or indirectly by displaying a link on a website or inside a document by adding a link which starts with &#8220;hopper:&#8221;. Example:&#8220;hopper:https:\/\/vrweb.somedomain.com\/index.vrml&#8221; will start the Hopper and load and execute the index.vrml file. The Portal Hopper can Install and display an&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"doc_category":[8],"doc_tag":[],"class_list":["post-1666","docs","type-docs","status-publish","hentry","doc_category-hopper-getting-started"],"year_month":"2025-08","word_count":218,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"robert.malzan","author_nicename":"robert-malzan","author_url":"https:\/\/www.portalsunited.com:443\/author\/robert-malzan\/"},"doc_category_info":[{"term_name":"Portal Hopper - Getting Started","term_url":"https:\/\/www.portalsunited.com:443\/docs-category\/hopper-getting-started\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.portalsunited.com:443\/wp-json\/wp\/v2\/docs\/1666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.portalsunited.com:443\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.portalsunited.com:443\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.portalsunited.com:443\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.portalsunited.com:443\/wp-json\/wp\/v2\/comments?post=1666"}],"version-history":[{"count":1,"href":"https:\/\/www.portalsunited.com:443\/wp-json\/wp\/v2\/docs\/1666\/revisions"}],"predecessor-version":[{"id":1667,"href":"https:\/\/www.portalsunited.com:443\/wp-json\/wp\/v2\/docs\/1666\/revisions\/1667"}],"wp:attachment":[{"href":"https:\/\/www.portalsunited.com:443\/wp-json\/wp\/v2\/media?parent=1666"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.portalsunited.com:443\/wp-json\/wp\/v2\/doc_category?post=1666"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.portalsunited.com:443\/wp-json\/wp\/v2\/doc_tag?post=1666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}