Dozent LMS developer documentation

  • Go To DozentLMS.com
Skip to content
Filter by type:
Search
Browse: Home / Classes / VideoStream / VideoStream::__construct()

VideoStream::__construct( $filePath )


Source

File: classes/VideoStream.php

	function __construct( $filePath ) {
		$this->videoFormats = apply_filters( 'dozent_video_types', [
			"mp4"  => "video/mp4",
			"webm" => "video/webm",
			"ogg"  => "video/ogg"
		] );

		$this->path = $filePath;
	}

Expand full source code Collapse full source code


Related

Used By

Used By
Used By Description
classes/Template.php: Template::stream_video()
© 2023, Dozent LMS