SyntaxError on Safari
-
I have a page with several youtube playlist galleries embedded. On Safari, the ‘next’ button to scroll through the videos in the playlist doesn’t work. According to the Web Inspector console, there’s an error in ytprefs.min.js which reads SyntaxError: Unexpected token ‘=’. I took the contents of ytprefs.min.js and plugged it into a syntax validator and got the message ‘Error: Line 199: Unexpected token =’. Line 199 of the file is ‘e ||= d.data(“ep-src”);’
Is this the reason for the next button not working and if so how would i solve it. I’ve tested the page on other browsers and both the next button works and the error isn’t present. The plugin is version 14.1.4.
- The topic ‘SyntaxError on Safari’ is closed to new replies.