mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
fullscreen video rendering
This commit is contained in:
parent
d50bd666e8
commit
17d0e5b076
@ -68,8 +68,13 @@ function playGameMode() {
|
||||
$("#main-content").children().not("#listener").hide();
|
||||
$("#main-content").addClass("fullscreen");
|
||||
$("#listener").addClass("fullscreen");
|
||||
console.log("abdallah is fucking awesome");
|
||||
fullscreenNaclModule();
|
||||
}
|
||||
|
||||
function fullscreenNaclModule() {
|
||||
var body = document.getElementById("nacl_module");
|
||||
body.width=window.innerWidth;
|
||||
body.height=window.innerHeight;
|
||||
}
|
||||
|
||||
// user pushed the stop button. we should stop.
|
||||
|
Loading…
x
Reference in New Issue
Block a user