1
mirror of https://github.com/jlelse/GoBlog synced 2024-07-15 12:22:58 +00:00
GoBlog/externalVideo.go

13 lines
212 B
Go

package main
import "embed"
const videoPlaylistParam = "videoplaylist"
//go:embed hlsjs/*
var hlsjsFiles embed.FS
func (p *post) hasVideoPlaylist() bool {
return p.firstParameter(videoPlaylistParam) != ""
}