mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
hls, webrtc: Add disablepictureinpicture param (#4883)
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/video#disablepictureinpicture
This commit is contained in:
parent
9ab48ea480
commit
fa6a20a5f9
2 changed files with 2 additions and 0 deletions
|
|
@ -187,6 +187,7 @@ const loadAttributesFromQuery = () => {
|
||||||
video.muted = parseBoolString(params.get('muted'), true);
|
video.muted = parseBoolString(params.get('muted'), true);
|
||||||
video.autoplay = parseBoolString(params.get('autoplay'), true);
|
video.autoplay = parseBoolString(params.get('autoplay'), true);
|
||||||
video.playsInline = parseBoolString(params.get('playsinline'), true);
|
video.playsInline = parseBoolString(params.get('playsinline'), true);
|
||||||
|
video.disablepictureinpicture = parseBoolString(params.get('disablepictureinpicture'), false);
|
||||||
defaultControls = video.controls;
|
defaultControls = video.controls;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,7 @@ const loadAttributesFromQuery = () => {
|
||||||
video.muted = parseBoolString(params.get('muted'), true);
|
video.muted = parseBoolString(params.get('muted'), true);
|
||||||
video.autoplay = parseBoolString(params.get('autoplay'), true);
|
video.autoplay = parseBoolString(params.get('autoplay'), true);
|
||||||
video.playsInline = parseBoolString(params.get('playsinline'), true);
|
video.playsInline = parseBoolString(params.get('playsinline'), true);
|
||||||
|
video.disablepictureinpicture = parseBoolString(params.get('disablepictureinpicture'), false);
|
||||||
defaultControls = video.controls;
|
defaultControls = video.controls;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue