mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-10-22 08:17:21 +00:00
fullscreen video rendering
This commit is contained in:
1 parent
d50bd666e8
commit
17d0e5b076
1 file changed
+6
-1
+6
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user