enable_video
enable_video($enable=true,$refresh=true); - allow or prohibit downloading and playing videos in the browser (when the video is disabled, the transition to the page is accelerated).
To check whether video playback is allowed or prohibited in the browser, you can use this function is_enable_video.
the input Function accepts parameters:
$enable – allow (true) or deny (false)$refresh – whether to refresh (true) or not (false) the page after this command
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed