Title: JS
Last modified: August 22, 2016

---

# JS

 *  [projectmunton](https://wordpress.org/support/users/projectmunton/)
 * (@projectmunton)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/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
 * [https://wordpress.org/plugins/youtube-webtv/](https://wordpress.org/plugins/youtube-webtv/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Hallyunoona](https://wordpress.org/support/users/hallyunoona/)
 * (@hallyunoona)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/js/#post-5348785)
 * Not sure what the problem might be for you as I didn’t have this problem myself
   but we had problems running this plug in ourselves and have had to tweak quite
   a bit but it is now working, would you like a copy of our code to try?
 * If you want to pop an E-mail to [admin@hallyunoona.com](https://wordpress.org/support/topic/js/admin@hallyunoona.com?output_format=md)
   and i’ll ping it over to you?
 * Cant guarantee it will help you, but it definitely works at our end!
 *  Thread Starter [projectmunton](https://wordpress.org/support/users/projectmunton/)
 * (@projectmunton)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/js/#post-5348837)
 * Hey Hallyunoona,
 * Sorry I know it was a while ago but I missed your response to my post a few months
   ago …. just checking in on the plugin to see if there were any updates.
 * Do you still have that updated version available? how has it been working for
   you over these past few months?
 * Many thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘JS’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/youtube-webtv.svg)
 * [Youtube WebTv](https://wordpress.org/plugins/youtube-webtv/)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-webtv/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-webtv/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-webtv/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-webtv/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [projectmunton](https://wordpress.org/support/users/projectmunton/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/js/#post-5348837)
 * Status: not resolved