Foliovision › Forums › FV Player › Troubleshooting › A message will be displayed in “Check Template”
-
A message will be displayed in “Check Template”. I will share the screenshot below. https://snipboard.io/Nlxv8O.jpg
An error message is displayed for a moment on the playback screen of FVplayer.
But the video plays smoothly without any problems.
I changed to the standard wordpress theme. And I also disabled all the plugins. But that is not resolved.
Can I hide the momentary warning text on the FVplayer?
-
-
Hi Yoshida,
Do you get the Admin JavaScript warning?
Could you please try to open your browser developer console (here’s how https://foliovision.com/player/troubleshooting/javascript-browser-console), then load the page with your video and check if you see any errors on the console? They might appear right on page load or after you play the video.
Let us know about the results or you can send us a screenshot again.
Thanks,
ChiaraHi Chiara,
A message was displayed during video playback.
I will send you a screenshot. Thank you.The admin video checker shows nothing.
A warning message is displayed for a moment when the page loads.
We will send you a video and a screenshot of the warning message.
Hello Yoshida,
if your page takes too long to load this error message appears if you are logged in as admin. It serves the purpose of identifying issues with JavaScript on the website. If the script is broken, it stays there to let you know about the issue.
Thank you for the video, but looking at it I’m not certain how long does it take to appear. If it appears too quickly, then something might be overriding the CSS.
We built this feature quite a long time ago, I wonder if there is no better way of doing this in 2021 – like catch JavaScript errors with some inline script in HTML head section.
Thanks,
MartinThank you for your reply.
1, If it indicate that the script is broken on our site, please show us a solution.
2, Is this display related to the following message?
https://snipboard.io/Nlxv8O.jpgThank you.
I’m sorry to bother you many times.
does that error appear right away? Yes, it does.
Or only when the page is loading for more than 5 seconds? No, it isn’t.
Does the notice disappear automatically once the page finishes loading?Yes, it does.This is the last question. Is it safe to ignore this error message?
Hello Yoshida,
it appears something is breaking the CSS animation which we use to only show that error 5 seconds after the page has loaded. We need to come up with a better solution then.
You can ignore that error. You can also just get rid of it using a CSS like this:
.fvfp_admin_error { display: none; }
That way it will stop bugging you.
Thanks,
MartinHello.
I have a similar issue.
http://e.pc.cd/ocjotalK
I use a child theme, but copied both files footer.php and header.php tp the child directory. both footer.php and header.php contain wp_ commands as required.
all videos work properly.Regards.
Hello Dimitrii,
do you also get the Admin JavaScript warning? https://foliovision.com/player/basic-setup/installation#fixing-broken-javascript
Or is it just that message when you hit Check template button?
Are you preventing public access to the website in any way?
Thanks,
MartinHi Martin,
Probably, I had to create a new topic, because it is not quite the same issue.
I see Admin JavaScript warning message only when I add a player with Elementor as a text underneath, but not always. The resulting player does not show such message, so I assume it is fine.
The web-site itself has a maintenance plugin switched on, i.e. only registered users and admins are able to login and see it’s content.
The message screenshot I posted http://e.pc.cd/ocjotalK and concerns only Check template button.