Skip to content

Commit

Permalink
docs: add ssr instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
Songkeys committed Jul 8, 2022
1 parent 851e609 commit c5ef85e
Show file tree
Hide file tree
Showing 19 changed files with 1,388 additions and 366 deletions.
12 changes: 11 additions & 1 deletion dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8" />
<title>&lt;uni-media> Demo</title>
<script src="../node_modules/lit/polyfill-support.js"></script>
<script type="module" src="../dist/uni-media.global.js"></script>
<script type="module" src="../dist/index.global.js"></script>
</head>
<body>
<script>
Expand All @@ -28,6 +28,7 @@ <h3>Video</h3>
src="ipfs://bafybeigg55zmqvfouox64ljpiqrt4lscacgcf77chmz4evgqlmicfk2rni/BigBuckBunny.mp4"
width="500"
height="350"
ipfs-gateway="https://cloudflare-ipfs.com/ipfs/"
></uni-media>

<h3>Audio</h3>
Expand All @@ -45,6 +46,15 @@ <h3>GLB model</h3>
style="height: 300px; width: 300px"
onclick="console.log('clicked')"
></uni-media>
<uni-media
src="ipfs://bafybeia6ntyml7fbcozqurtvxsbysppfrwp7ao7rd4ijulu64g2obudnmi/rss3-whitepaper-no-3.glb"
camera-controls
enable-pan
poster="ipfs://bafybeihxofiebkx3kux2fn2aczhv6myevndduyotmwec2uqbzej5ea5syy/rss3-whitepaper-no-3.png"
seamless-poster
style="height: 300px; width: 300px"
ipfs-gateway="https://ipfs.infura.io/ipfs/"
></uni-media>

<h3>PDF</h3>
<uni-media
Expand Down
18 changes: 18 additions & 0 deletions dist/chunk-UVW3ASPF.mjs

Large diffs are not rendered by default.

18 changes: 0 additions & 18 deletions dist/chunk-WLKZLBWH.mjs

This file was deleted.

1 comment on commit c5ef85e

@vercel
Copy link

@vercel vercel bot commented on c5ef85e Jul 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

uni-media – ./

uni-media-songkeys.vercel.app
uni-media-git-main-songkeys.vercel.app
uni-media.vercel.app

Please sign in to comment.