ltk_webkit

Function set_blocked_video_codecs

Source
pub fn set_blocked_video_codecs(blocked: &[VideoCodec])
Expand description

Pages are told that the blocked codecs cannot be played, which sites such as YouTube answer by streaming another one. An empty list lifts the block. A later call replaces what an earlier one injected; pages already loaded keep what they have until their next load.