mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 04:14:41 +00:00
BREAKING CHANGE Module paths moved to `github.com/HugoBlox/kit` with new names: - core `blox-tailwind` → `blox` - analytics → `analytics` - netlify → `integrations/netlify` - slides (reveal) → `slides` Update go.mod, module.yaml/params, scripts, tests, and v0.11 migration guide accordingly.
8 lines
439 B
HTML
8 lines
439 B
HTML
{{- $video_id := cond .IsNamedParams (.Get `id`) (.Get 0) -}}
|
|
{{- $video_page := (cond .IsNamedParams (.Get `p`) (.Get 1)) | default 1 -}}
|
|
<div class="w-full h-auto aspect-video relative">
|
|
<iframe src="//player.bilibili.com/player.html?bvid={{ $video_id }}&page={{ $video_page }}&autoplay=0"
|
|
allow="accelerometer; clipboard-write; encrypted-media; gyroscope; fullscreen; picture-in-picture;"
|
|
class="w-full h-full"
|
|
></iframe>
|
|
</div> |