Documentation ¶
Index ¶
- Constants
- type Track
- type Video
- func (v *Video) Height() (int, error)
- func (v *Video) Reload() *Video
- func (v *Video) SetAltText() *Video
- func (v *Video) SetAutoplay() *Video
- func (v *Video) SetControl() *Video
- func (v *Video) SetHeight(height int) *Video
- func (v *Video) SetMuted() *Video
- func (v *Video) SetSource(source *VideoSource) *Video
- func (v *Video) SetWidth(width int) *Video
- func (v *Video) Width() (int, error)
- type VideoSource
Constants ¶
View Source
const ( MP4 = "video/mp4" OGG = "video/ogg" WEBM = "video/webm" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Video ¶
func NewVideoParams ¶
func NewVideoParams( width, height int, autoplay, muted, controls bool, sources ...*VideoSource, ) *Video
func (*Video) SetAltText ¶
func (*Video) SetAutoplay ¶
func (*Video) SetControl ¶
func (*Video) SetSource ¶
func (v *Video) SetSource(source *VideoSource) *Video
type VideoSource ¶
Click to show internal directories.
Click to hide internal directories.