JS
-
Hi again π
Trying out the plugin, hoping to use it in a new site … but getting an error in web inspector on
<div id="ytWebTv_player"></div><script>var ytWebTv_channel=1;ytWebTv_playlist = JSON.parse('Array');</script>I am not a JS person … so a little lost … but putting it into JSBin to test I got the following messages
Line 1: <script>var ytWebTv_channel=1;ytWebTv_playlist = JSON.parse(‘Array’);</script> — Expected an identifier and instead saw ‘<‘.
Line 1: <script>var ytWebTv_channel=1;ytWebTv_playlist = JSON.parse(‘Array’);</script> — Expected an assignment or function call and instead saw an expression.
Line 1: <script>var ytWebTv_channel=1;ytWebTv_playlist = JSON.parse(‘Array’);</script> — Missing semicolon.
Line 1: <script>var ytWebTv_channel=1;ytWebTv_playlist = JSON.parse(‘Array’);</script> — Expected an identifier and instead saw ‘var’.Would love to be able to use your plugin … hope its an easy solution
Many thanks in advance
The topic ‘JS’ is closed to new replies.