Fullscreen and Plugin command

So, i was wondering if this scenario was possible. in my game i want the player to be able to play the game normally in the resolution 816x624. But there is one part where i want to trigger a plugin i have to turn on and play a movie where it will be full screen then stay full screen having the plugin being turned on even after the movie plays.

Here is the plugin code i am using from a Youtube tutorial:
//=============================================================================
// Fullscreen.js
//=============================================================================

/*:
* @plugindesc Starts the game in fullscreen
* @Author Christian Schicho
*
* @Help
*/

;(function() {
function extend(obj, name, func) {
var orig = obj.prototype[name]
obj.prototype[name] = function() {
orig.call(this)
func.call(this)
}
}

extend(Scene_Boot, 'start', function() {
Graphics._switchFullScreen();
})

})()

Or is there just simple script to use to turn on full screen mode through an event?

any ideas would be much appreciated 🙂
you never start with semi colon ";" and there are 2 plugins that can do full screen.
one is for SRD (options to turn on or off), and 1 other I came across, but that require 2 plugins.
cant tell that its working, but I dont know if you can do that with that small part unless you
force the player to go full screen (which I dont want).
(Note that Plugin Commands are essentially just script calls with fancy formatting.)

Have you tried this in a Script command?
JavaScript:
Graphics._switchFullScreen();
Like ShadowDragon suggests, I think it'd be better to have something that adds a fullscreen/windowed setting to the options menu, rather than forcing fullscreen every time the game launches.

Incidentally, by default you can press F4 during play to toggle full-screen, and F3 to toggle stretch/bordered mode. 🙂
(Note that Plugin Commands are essentially just script calls with fancy formatting.)

Have you tried this in a Script command?
JavaScript:
Graphics._switchFullScreen();
Like ShadowDragon suggests, I think it'd be better to have something that adds a fullscreen/windowed setting to the options menu, rather than forcing fullscreen every time the game launches.

Incidentally, by default you can press F4 during play to toggle full-screen, and F3 to toggle stretch/bordered mode. 🙂
Yea, I've been playing around with this problem for hours now and ive just come to the conclusion that imma just use the plugin SRDude made to toggle fullscreen. But i appreciate @ShadowDragon and you for helping me out.

Original thread: https://forums.rpgmakerweb.com/threads/fullscreen-and-plugin-command.122843/