usecases.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Ai_Anchor_Usecases</title>
  8. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"
  9. integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
  10. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp"
  11. crossorigin="anonymous">
  12. <link rel="stylesheet" href="./style.css">
  13. </head>
  14. <body>
  15. <div class="card border-0">
  16. <div class="row px-0 mx-0">
  17. <div class="col-lg-2 px-0">
  18. <div class="card border-0">
  19. <img style="width:14vw;" src="./img/about/home_六角.png" alt="...">
  20. <div class="card-img-overlay d-flex justify-content-center align-items-center">
  21. <div>
  22. <a href="./index.html">
  23. <img class="home-btn"
  24. style="width: 70px; position: relative; right:1.5vw; bottom:20px;"
  25. src="./img/about/home_黑.png" alt="">
  26. </a>
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. <div class="col-lg-9 px-0">
  32. <div class="card border-0">
  33. <img style="position: relative; right:20px;" class="img-fluid" src="./img/about/Bar.png"
  34. alt="">
  35. <div class="card-img-overlay">
  36. <div class="mt-3 me-2">
  37. <h1 style="font-size:3rem;" class="fw-bold mb-0 text-white" set-lan="html:index-usecases">應用情境</h1>
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. <div class="col-lg-1 px-0">
  43. <!-- <nav style="margin-top: 40px;" class="navbar"> -->
  44. <div style="margin-top: 40px;">
  45. <ul style="float: left;" class="navbar-nav mb-2 mb-lg-0 me-3">
  46. <li class="nav-item dropdown">
  47. <a class="nav-link dropdown-toggle" style="font-size: 18px;" href="#"
  48. id="navbarDropdown" role="button" data-bs-toggle="dropdown"
  49. aria-expanded="false">
  50. 中/En
  51. </a>
  52. <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
  53. <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:en"
  54. onclick="changeLan(this);window.location.reload();"
  55. value="en">English</button>
  56. </li>
  57. <li><button class="nav-link lan-switch" aria-current="page" set-lan="html:zh"
  58. onclick="changeLan(this);window.location.reload();"
  59. value="zh">中文</button></li>
  60. </ul>
  61. </li>
  62. </ul>
  63. <div style="float: left;" class="me-auto mt-2">
  64. <a id="expand" onclick="openFullscreen();" style="cursor: pointer;" class="border-0"><i
  65. style="font-size: 18px;" class="fas fa-expand text-dark"></i></a>
  66. <a id="compression" onclick="closeFullscreen();" style="cursor: pointer;"
  67. class="border-0"><i class="fas fa-compress text-dark"></i></a>
  68. </div>
  69. </div>
  70. <!-- </nav> -->
  71. </div>
  72. </div>
  73. <section class="sec-usecase">
  74. <div class="container">
  75. <div class="row my-5">
  76. <div class="col-12 col-md-4 my-5">
  77. <div class="usecase-block card text-center">
  78. <div class="usecase-imgfr" style="background-image: url('img/Usecases/示意_產品介紹.webp');" data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="MplGQ5JUmnY"></div>
  79. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i> <lan set-lan="html:usecase_1">產品介紹</lan></h3>
  80. </div>
  81. </div>
  82. <div class="col-12 col-md-4 my-5">
  83. <div class="usecase-block card text-center">
  84. <div class="usecase-imgfr" style="background-image: url('img/Usecases/示意_教育培訓.webp');" data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="gFjSwMEoXNg"></div>
  85. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i> <lan set-lan="html:usecase_2">教育培訓</lan></h3>
  86. </div>
  87. </div>
  88. <div class="col-12 col-md-4 my-5">
  89. <div class="usecase-block card text-center">
  90. <div class="usecase-imgfr" style="background-image: url('img/Usecases/示意_氣象.webp');" data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="83uE8kVIWsM"></div>
  91. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i> <lan set-lan="html:usecase_3">氣象播報</lan></h3>
  92. </div>
  93. </div>
  94. <div class="col-12 col-md-4 my-5">
  95. <div class="usecase-block card text-center">
  96. <div class="usecase-imgfr" style="background-image: url('img/Usecases/示意_新聞.webp');" data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="XfTQ2uIWWbA"></div>
  97. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i> <lan set-lan="html:usecase_4">新聞播報</lan></h3>
  98. </div>
  99. </div>
  100. <div class="col-12 col-md-4 my-5">
  101. <div class="usecase-block card text-center">
  102. <div class="usecase-imgfr" style="background-image: url('img/Usecases/示意_內容創作.webp');" data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="6JVBDIM7zac"></div>
  103. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i> <lan set-lan="html:usecase_5">個人內容創作</lan></h3>
  104. </div>
  105. </div>
  106. <div class="col-12 col-md-4 my-5">
  107. <div class="usecase-block card text-center">
  108. <div class="usecase-imgfr" style="background-image: url('img/Usecases/示意_觀光導覽.webp');" data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="nTbMKWMYvnc"></div>
  109. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i> <lan set-lan="html:usecase_6">觀光導覽</lan></h3>
  110. </div>
  111. </div>
  112. <div class="col-12 col-md-4 my-5">
  113. <div class="usecase-block card text-center">
  114. <div class="usecase-imgfr" style="background-image: url('img/Usecases/示意_展覽.webp');" data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="y0dgW_dcgDE"></div>
  115. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i> <lan set-lan="html:usecase_7">展覽導覽</lan></h3>
  116. </div>
  117. </div>
  118. <div class="col-12 col-md-4 my-5">
  119. <div class="usecase-block card text-center">
  120. <div class="usecase-imgfr" style="background-image: url('img/Usecases/示意_商家報導.webp');" data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="E4Dt7eU3WCo"></div>
  121. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i> <lan set-lan="html:usecase_8">廣告行銷</lan></h3>
  122. </div>
  123. </div>
  124. <div class="col-12 col-md-4 my-5">
  125. <div class="usecase-block card text-center">
  126. <div class="usecase-imgfr" style="background-image: url('img/Usecases/示意_機構.webp');" data-bs-toggle="modal" data-bs-target="#exampleModal" data-ytid="6JvZtbv6vNs"></div>
  127. <h3 class="usecase-sub"><i class="fas fa-caret-right"></i> <lan set-lan="html:usecase_9">機構資訊宣導</lan</h3>
  128. </div>
  129. </div>
  130. </div>
  131. </div>
  132. <div class="closeplay modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel2"
  133. aria-hidden="true">
  134. <div class="modal-dialog modal-fullscreen">
  135. <div class="modal-content bg-transparent border-0">
  136. <div class="modal-header border-0">
  137. <h5 class="modal-title" id="exampleModalLabel"></h5>
  138. <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal"
  139. aria-label="Close"><img src="./img/close.svg" alt=""></button>
  140. </div>
  141. <div class="modal-body">
  142. <style>
  143. .embed-container {
  144. position: relative;
  145. padding-bottom: 56.25%;
  146. height: 0;
  147. overflow: hidden;
  148. max-width: 100%;
  149. }
  150. .embed-container iframe,
  151. .embed-container object,
  152. .embed-container embed {
  153. position: absolute;
  154. top: 0;
  155. left: 0;
  156. width: 100%;
  157. height: 100%;
  158. }
  159. </style>
  160. <div class='embed-container'><iframe class='youtube-video' src='https://www.youtube.com/embed//XfTQ2uIWWbA'
  161. frameborder='0' allowfullscreen height="394" allow="autoplay;"></iframe></div>
  162. </div>
  163. </div>
  164. </div>
  165. </div>
  166. </section>
  167. <!-- <img id='gotop' class="btn-gotop" width="50" data-gt-target="#top" data-gt-duration="500" data-gt-offset="0" src="./img/go-up.png"
  168. alt=""> -->
  169. <i style="font-size: 48px; position: fixed; bottom:50px; right:50px; color:#193179; cursor: pointer; z-index: 100;"
  170. data-gt-target="#top" data-gt-duration="500" class="btn-gotop fas fa-chevron-circle-up"></i>
  171. </div>
  172. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
  173. integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
  174. crossorigin="anonymous"></script>
  175. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
  176. integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT"
  177. crossorigin="anonymous"></script>
  178. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  179. <script src="js/lan.js"></script>
  180. <script src="./gotovideo.js"></script>
  181. <script>
  182. $(".usecase-imgfr").click(function () {
  183. let ytid = $(this).data('ytid');
  184. $('.youtube-video').attr('src', `https://www.youtube.com/embed//${ytid}?autoplay=1`);
  185. });
  186. $(".btn-close").click(function () {
  187. $('.youtube-video').attr('src', ``);
  188. });
  189. $('#exampleModal').on('hidden.bs.modal', function () {
  190. $('.youtube-video').attr('src', ``);
  191. });
  192. $('.btn-gotop').click(function () {
  193. $('html, body').animate({
  194. scrollTop: 0
  195. }, 500)
  196. });
  197. // openFullscreen();
  198. var expandbtn = document.getElementById("expand");
  199. var compressionbtn = document.getElementById("compression");
  200. // Using JavaScript to open the page in fullscreen mode
  201. var elem = document.documentElement;
  202. function openFullscreen() {
  203. if (elem.requestFullscreen) {
  204. elem.requestFullscreen();
  205. compressionbtn.style.display = 'inline';
  206. // alert('hi')
  207. } else if (elem.webkitRequestFullscreen) { /* Safari */
  208. elem.webkitRequestFullscreen();
  209. } else if (elem.msRequestFullscreen) { /* IE11 */
  210. elem.msRequestFullscreen();
  211. }
  212. }
  213. function closeFullscreen() {
  214. if (document.exitFullscreen) {
  215. document.exitFullscreen();
  216. compressionbtn.style.display = 'none';
  217. } else if (document.webkitExitFullscreen) { /* Safari */
  218. document.webkitExitFullscreen();
  219. } else if (document.msExitFullscreen) { /* IE11 */
  220. document.msExitFullscreen();
  221. }
  222. }
  223. </script>
  224. </body>
  225. </html>