{"action":"created","issue":{"url":"https://api.github.com/repos/macbookandrew/wp-youtube-live/issues/3","repository_url":"https://api.github.com/repos/macbookandrew/wp-youtube-live","labels_url":"https://api.github.com/repos/macbookandrew/wp-youtube-live/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/macbookandrew/wp-youtube-live/issues/3/comments","events_url":"https://api.github.com/repos/macbookandrew/wp-youtube-live/issues/3/events","html_url":"https://github.com/macbookandrew/wp-youtube-live/issues/3","id":249627927,"number":3,"title":"not working properly","user":{"login":"hasanmisbah","id":12391186,"avatar_url":"https://avatars1.githubusercontent.com/u/12391186?v=4","gravatar_id":"","url":"https://api.github.com/users/hasanmisbah","html_url":"https://github.com/hasanmisbah","followers_url":"https://api.github.com/users/hasanmisbah/followers","following_url":"https://api.github.com/users/hasanmisbah/following{/other_user}","gists_url":"https://api.github.com/users/hasanmisbah/gists{/gist_id}","starred_url":"https://api.github.com/users/hasanmisbah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasanmisbah/subscriptions","organizations_url":"https://api.github.com/users/hasanmisbah/orgs","repos_url":"https://api.github.com/users/hasanmisbah/repos","events_url":"https://api.github.com/users/hasanmisbah/events{/privacy}","received_events_url":"https://api.github.com/users/hasanmisbah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-11T12:57:41Z","updated_at":"2017-08-11T13:06:41Z","closed_at":null,"body":"it showing error on frontend value\r\n`Notice: Undefined index: isAjax in /home/.........../public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 126\r\nNotice: Undefined index: isAjax in /home/.........../public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 80\r\nNotice: Undefined index: isAjax in /home/.........../public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 81\r\nNotice: Undefined index: isAjax in /home/.........../public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 82\r\nNotice: Undefined variable: youtube_options in /home/.........../public_html/tv/wp-content/themes/my_themes_name/functions.php on line 10`\r\n\r\nChannel URL doesn't include the channel URL. it showing `https://youtube.com/channel/`\r\n\r\nI've added this filter in my theme functions php file\r\n`add_filter( 'wp_youtube_live_no_stream_available', 'my_ytl_custom_message' );\r\nfunction my_ytl_custom_message( $message ) {\r\n    $message = '<p>Please check back later or subscribe to <a target=\"_blank\" href=\"https://youtube.com/channel/' . $youtube_options['youtube_live_channel_id'] . '\">our YouTube channel</a>.</p>\r\n    <p><button type=\"button\" class=\"button\" id=\"check-again\">Check again</button><span class=\"spinner\" style=\"display:none;\"></span></p>';\r\n    return $message;\r\n}`\r\n\r\nand\r\n`add_filter( 'wp_youtube_live_transient_timeout', 'my_ytl_custom_timeout' );\r\nfunction my_ytl_custom_timeout( $message ) {\r\n    return '15';\r\n}`"},"comment":{"url":"https://api.github.com/repos/macbookandrew/wp-youtube-live/issues/comments/321807254","html_url":"https://github.com/macbookandrew/wp-youtube-live/issues/3#issuecomment-321807254","issue_url":"https://api.github.com/repos/macbookandrew/wp-youtube-live/issues/3","id":321807254,"user":{"login":"macbookandrew","id":784333,"avatar_url":"https://avatars3.githubusercontent.com/u/784333?v=4","gravatar_id":"","url":"https://api.github.com/users/macbookandrew","html_url":"https://github.com/macbookandrew","followers_url":"https://api.github.com/users/macbookandrew/followers","following_url":"https://api.github.com/users/macbookandrew/following{/other_user}","gists_url":"https://api.github.com/users/macbookandrew/gists{/gist_id}","starred_url":"https://api.github.com/users/macbookandrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macbookandrew/subscriptions","organizations_url":"https://api.github.com/users/macbookandrew/orgs","repos_url":"https://api.github.com/users/macbookandrew/repos","events_url":"https://api.github.com/users/macbookandrew/events{/privacy}","received_events_url":"https://api.github.com/users/macbookandrew/received_events","type":"User","site_admin":false},"created_at":"2017-08-11T13:06:41Z","updated_at":"2017-08-11T13:06:41Z","body":"@hasanmisbah You don’t need to add those filters to your `functions.php` unless you want to modify the output.\r\n\r\nCan you double-check that you have an API key and channel ID set in the YouTube Live Settings page?"}}
{"actor":{"display_login":"macbookandrew"}}