Skip to content

Commit

Permalink
動画のサイズを指定&微修正
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeKato committed Aug 31, 2024
1 parent 484fbd0 commit 5eec10b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions markdown/2024/0823.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,10 @@ p-jet やべともこさんのXアカウント
皆様もよろしければぜひ応援してあげてください。
れもんも喜んでくれると思います。
それでは、また。

## 次回の日記
2024年8月31日の日記です。

https://yusukekato.jp/html/2024/0831.html

セキセイインコ「れもん」の日記10 : 生後100日のれもん、ついに喋る
2 changes: 1 addition & 1 deletion scripts/md2html.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
image_path = read_lines[i][24:]
image_path = image_path[:-38]
write_lines.append('<video controls>\n')
write_lines.append('<source src="https://yusukekato.jp/images/' + image_path + '.mp4' + '" alt="' + read_lines[i+2] + '" type="video/mp4" />\n')
write_lines.append('<source src="https://yusukekato.jp/images/' + image_path + '.mp4' + '" alt="' + read_lines[i+2] + '" type="video/mp4" width="400" />\n')
write_lines.append('</video>\n')
write_lines.append('</div>\n')
i += 2
Expand Down

0 comments on commit 5eec10b

Please sign in to comment.