@Invelop - You're the one who is giving me ideas! I've never even tried this before!
So while we're on the topic of being a clever clogs - this is the bit of code that parses URLs.
The bit of logic here in in the code.
If the URL has '#tn=' in it, then it's a link to a pano, so take the provided URL (all characters after the first 4).
Otherwise ... if the URL contains 'matterport.com/show' then open up the tour that you've linked to with autoplay -- and it's handled differently if this is clicked on directly in a model or in a link iframe - which I guess is two different ways MatterTags could be rendered.
var i, n = t[1], r = t[2];
return 0 === r.indexOf( "#tn=" ) ? ( i = "pano", r = r.substr(4) ) : ( i = -1 !== r.indexOf( "matterport.com/show" ) || -1 !== r.indexOf( window.location.hostname ) ? "model" : "link", "model" === i && ( r += "&play=1" ), -1 === r.indexOf( "http" ) && ( r = "http://" + r )), this.description = this.description.substring( 0, t.index ) + this.description.substring( t.index + t[0].length, this.description.length ), {
index: t.index,
label: n,
URL: r,
type: i
}
--
Those are the only two options. I'm curious to see if I can stuff anything different next to #tn= and if it will work without launching a spooky guided tour.