Closed hasanmisbah closed 7 years ago
@hasanmisbah You don’t need to add those filters to your functions.php
unless you want to modify the output.
Can you double-check that you have an API key and channel ID set in the YouTube Live Settings page?
Yeah, I've checked API settings page. more time. and it has no problem.
i also removed code from functions.php file. now the output is
Notice: Undefined index: isAjax in /home/............./public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 80 Notice: Undefined index: isAjax in /home/............./public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 81 Notice: Undefined index: isAjax in /home/............./public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 82 Notice: Undefined index: isAjax in /home/............./public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 126
I've added fallback video it works. showing this notice on the frontend.
after removing code from functions.php file now channel links work correctly.
Try updating to the latest version of the plugin.
Andrew Minion | Web Developer andrew@andrewrminion.com | 704-769-0625
On Aug 12, 2017, 04:51 -0400, Hasan Misbah notifications@github.com, wrote:
Yeah, I've checked API settings page. more time. and it has no problem. i also removed code from functions.php file. now the output is Notice: Undefined index: isAjax in /home/............./public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 80 Notice: Undefined index: isAjax in /home/............./public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 81 Notice: Undefined index: isAjax in /home/............./public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 82 Notice: Undefined index: isAjax in /home/............./public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 126 I've added fallback video it works. showing this notice on the frontend. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I've cloned latest version from this repo.
Since yesterday afternoon?
Andrew Minion | Web Developer andrew@andrewrminion.com | 704-769-0625
On Aug 12, 2017, 07:37 -0400, Hasan Misbah notifications@github.com, wrote:
I've cloned latest version from this repo. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
yeah i've updated now and got new error
Notice: Undefined property: stdClass::$error in /home/......................./public_html/tv/wp-content/plugins/wp-youtube-live/inc/EmbedYoutubeLiveStreaming.php on line 162
@hasanmisbah Can you download and try this minor update?
yeah, i updated. and the problem is now solved. thanks for your faster response and update.
Great; thanks!
it showing error on frontend value
Notice: Undefined index: isAjax in /home/.........../public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 126 Notice: Undefined index: isAjax in /home/.........../public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 80 Notice: Undefined index: isAjax in /home/.........../public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 81 Notice: Undefined index: isAjax in /home/.........../public_html/tv/wp-content/plugins/wp-youtube-live/wp-youtube-live.php on line 82 Notice: Undefined variable: youtube_options in /home/.........../public_html/tv/wp-content/themes/my_themes_name/functions.php on line 10
Channel URL doesn't include the channel URL. it showing
https://youtube.com/channel/
I've added this filter in my theme functions php file `add_filter( 'wp_youtube_live_no_stream_available', 'my_ytl_custom_message' ); function my_ytl_custom_message( $message ) { $message = '
Please check back later or subscribe to our YouTube channel.
'; return $message; }` and `add_filter( 'wp_youtube_live_transient_timeout', 'my_ytl_custom_timeout' ); function my_ytl_custom_timeout( $message ) { return '15'; }`