1
mirror of https://github.com/jlelse/GoBlog synced 2024-05-29 08:34:27 +00:00
GoBlog/externalVideo.go

13 lines
212 B
Go
Raw Normal View History

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