Hello,
I see a few requests for a full screen button in the video-element when you upload your own video (so not using Youtube or Vimeo etc.).
But all the requests have a solution to alter the avia.js file but I don’t want to do that because on every update I have to check for changes within that file.
Last but not least; a lot of people are asking for implementing the option of a full screen button in the basis settings. Can you please add this to the standard theme? It would really help a lot of people with a small change in the basis code.
Greetings Jeen
Hey Groeier!,
Thank you for the inquiry.
You can actually override the original script by creating a copy of it in your child theme. Just follow the instructions that we provided in the following thread.
// https://kriesi.at/support/topic/play-video-in-fullscreen/#post-1239084
Best regards,
Ismael
Hello Ismael,
I am aware of this solution, but then I have to alter the .js file.
With every change I have to check of the file is still working.
So I’m looking for a solution that I don’t have to alter any files…
Is there a function for the functions.php in my child theme or can you add this function as a standard functionality?
Greetings Jeen
Hi,
Unfortunately, you cannot override the script with a filter or hooks. You may need to reinitialize the media scripts and override the first, but this will require significant amount of modification, which we will not be able to provide here. You may need to hire a freelance developer or contact our partner, Codeable.
Best regards,
Ismael