Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PLAT-4007] Updating Demo Stream Key #69

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/guides/install-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ defineCustomElements(window).then(() => main());
async function main() {
const viewer = document.querySelector('vertex-viewer');
await viewer.load(
'urn:vertex:stream-key:hfmI8VBsIiMmO7THqdZdWO5Fhjqp_VDaee9e'
'urn:vertex:stream-key:AH7v0jg5aN5_thkhU-XTzB_29aqW89EjyOH8'
);
console.log('Loaded!');
}
Expand Down
8 changes: 4 additions & 4 deletions docs/guides/render-your-first-scene.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Save the following HTML to a file on your computer and open it in your browser.

## Render the scene

To render a scene, you'll need a stream key. Stream keys grant the Viewer component access to a specific scene. This is explained in more detail later, but for now, use our test key, `hfmI8VBsIiMmO7THqdZdWO5Fhjqp_VDaee9e`. Copy the following into the empty `<script>` tag.
To render a scene, you'll need a stream key. Stream keys grant the Viewer component access to a specific scene. This is explained in more detail later, but for now, use our test key, `AH7v0jg5aN5_thkhU-XTzB_29aqW89EjyOH8`. Copy the following into the empty `<script>` tag.

```js
import { defineCustomElements } from 'https://unpkg.com/@vertexvis/viewer@0.17.x/dist/esm/loader.js';
Expand All @@ -79,7 +79,7 @@ async function main() {

const viewer = document.querySelector('vertex-viewer');
await viewer.load(
`urn:vertex:stream-key:hfmI8VBsIiMmO7THqdZdWO5Fhjqp_VDaee9e`
`urn:vertex:stream-key:AH7v0jg5aN5_thkhU-XTzB_29aqW89EjyOH8`
);
}

Expand All @@ -105,7 +105,7 @@ async function main() {

const viewer = document.querySelector('vertex-viewer');
await viewer.load(
`urn:vertex:stream-key:hfmI8VBsIiMmO7THqdZdWO5Fhjqp_VDaee9e`
`urn:vertex:stream-key:AH7v0jg5aN5_thkhU-XTzB_29aqW89EjyOH8`
);

viewer.addEventListener('tap', async (event) => {
Expand Down Expand Up @@ -138,7 +138,7 @@ async function main() {

const viewer = document.querySelector('vertex-viewer');
await viewer.load(
`urn:vertex:stream-key:hfmI8VBsIiMmO7THqdZdWO5Fhjqp_VDaee9e`
`urn:vertex:stream-key:AH7v0jg5aN5_thkhU-XTzB_29aqW89EjyOH8`
);
let selectedItemId;

Expand Down
2 changes: 1 addition & 1 deletion static/examples/change-material/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
const viewer = document.querySelector('vertex-viewer');
const input = document.querySelector('#color-input');
await viewer.load(
`urn:vertex:stream-key:hfmI8VBsIiMmO7THqdZdWO5Fhjqp_VDaee9e`
`urn:vertex:stream-key:AH7v0jg5aN5_thkhU-XTzB_29aqW89EjyOH8`
);

viewer.addEventListener('tap', async (event) => {
Expand Down
2 changes: 1 addition & 1 deletion static/examples/change-phantom/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
const viewer = document.querySelector('vertex-viewer');
const input = document.querySelector('#opacity-input');
await viewer.load(
`urn:vertex:stream-key:hfmI8VBsIiMmO7THqdZdWO5Fhjqp_VDaee9e`
`urn:vertex:stream-key:AH7v0jg5aN5_thkhU-XTzB_29aqW89EjyOH8`
);

viewer.addEventListener('tap', async (event) => {
Expand Down
2 changes: 1 addition & 1 deletion static/examples/first-scene/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

const viewer = document.querySelector('vertex-viewer');
await viewer.load(
`urn:vertex:stream-key:hfmI8VBsIiMmO7THqdZdWO5Fhjqp_VDaee9e`
`urn:vertex:stream-key:AH7v0jg5aN5_thkhU-XTzB_29aqW89EjyOH8`
);
let selectedItemId;

Expand Down
2 changes: 1 addition & 1 deletion static/examples/loading-model/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
async function main() {
const viewer = document.querySelector('vertex-viewer');
await viewer.load(
`urn:vertex:stream-key:hfmI8VBsIiMmO7THqdZdWO5Fhjqp_VDaee9e`
`urn:vertex:stream-key:AH7v0jg5aN5_thkhU-XTzB_29aqW89EjyOH8`
);
}
</script>
Expand Down
Loading