このコミットが含まれているのは:
守矢諏訪子 2023-12-19 15:16:07 +09:00
コミット c2feee5b7f
2個のファイルの変更16行の追加1行の削除

ファイルの表示

@ -6,6 +6,13 @@
<title>動画</title>
<script src="vue.js"></script>
<link rel="stylesheet" type="text/css" href="style.css" />
<noscript>
<style>
#root {
display: none;
}
</style>
</noscript>
</head>
<body>
<div id="root">
@ -22,6 +29,14 @@
</div>
</div>
</div>
<noscript>
<div class="video-container">
<video controls>
<source src="video.ogv" type="video/ogg" />
<source src="video.webm" type="video/webm" />
</video>
</div>
</noscript>
<script src="index.js"></script>
</body>
</html>

ファイルの表示

@ -12,7 +12,7 @@ const player = Vue.createApp({
methods: {
async loadComments() {
try {
const resp = await fetch("comments.json");
const resp = await fetch(this.commentJson);
if (!resp.ok) {
throw new Error(`HTTPエラー: ${resp.status}`);
}