ソースを参照

Tweaks

customisations
alemart 6ヶ月前
コミット
7b269dd89f
2個のファイルの変更9行の追加6行の削除
  1. 3
    3
      docs/addons/ar-video-player.md
  2. 6
    3
      docs/addons/index.md

+ 3
- 3
docs/addons/ar-video-player.md ファイルの表示

@@ -6,9 +6,9 @@ An A-Frame component and primitive for playing videos in AR. `<ar-video-player>`
6 6
 
7 7
     The Video Player Add-On includes a working demo that you can easily modify. This page documents it in depth and is meant to be used as a reference.
8 8
 
9
-<div style="text-align: center">
10
-<iframe width="560" height="315" src="https://www.youtube.com/embed/sz4Fmf3zyho?si=e4Ry5jcYAvxPfAKe" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
11
-</div>
9
+<link rel="stylesheet" href="../../style/lite-yt-embed.css">
10
+<script src="../../js/lite-yt-embed.js"></script>
11
+<lite-youtube videoid="sz4Fmf3zyho"></lite-youtube>
12 12
 
13 13
 ## Properties
14 14
 

+ 6
- 3
docs/addons/index.md ファイルの表示

@@ -10,18 +10,21 @@ Add-Ons provide an enriched experience with additional features that enhance the
10 10
 .addon-container:nth-child(2n) > div:nth-child(2) { min-width: 426px; margin-right: 32px; order: -1; }
11 11
 </style>
12 12
 
13
+<link rel="stylesheet" href="../style/lite-yt-embed.css">
14
+<script src="../js/lite-yt-embed.js"></script>
15
+
13 16
 <div class="addon-container" markdown>
14 17
   <div markdown>
15 18
 
16 19
 ## Video Player
17 20
 
18
-Enchant your audience with this [easy-to-use and customizable](./ar-video-player.md) Video Player! Videos in AR are suitable for: product marketing, AR business cards, educational materials, interactive art, entertainment, and more!
21
+Enchant your audience using this [easy-to-use &amp; customizable](./ar-video-player.md) Video Player! Videos in AR are suitable for: product marketing, AR business cards, educational materials, interactive art, and more!
19 22
 
20 23
 [I want this!](https://ko-fi.com/s/697a184728){ .md-button ._blank }
21 24
 
22 25
   </div>
23 26
   <div>
24
-    <iframe width="426" height="240" src="https://www.youtube.com/embed/sz4Fmf3zyho?si=1aI6_Odv2iebIjbL" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
27
+    <lite-youtube videoid="sz4Fmf3zyho"></lite-youtube>
25 28
   </div>
26 29
 </div>
27 30
 
@@ -47,7 +50,7 @@ Add interactivity to your scenes with easy-to-use buttons for AR! You can [custo
47 50
 
48 51
 ## AR Clickables
49 52
 
50
-Turn 3D and 2D objects into "clickables" that respond to touch or mouse input. AR Clickables are the building blocks of AR Buttons and are included with them.
53
+Turn 3D and 2D objects into "clickables" that respond to touch or mouse input. AR Clickables are based on the [Pointer Tracker](../api/pointer-tracker.md). They are the building blocks of AR Buttons and are included with them.
51 54
 
52 55
 [I want this!](https://ko-fi.com/s/697a184728){ .md-button ._blank }
53 56
 

読み込み中…
キャンセル
保存