macbookandrew
Forum Replies Created
-
Forum: Plugins
In reply to: [WP YouTube Live] Invalid argument supplied error@navindesigns It looks like part of the error message is missing.
Based on that line of code, I’m guessing that you have the fallback method set to “upcoming videos” and perhaps there are no upcoming videos scheduled.
Forum: Plugins
In reply to: [WP YouTube Live] YouTube EventsI’m assuming you mean scheduled events, rather than the “Stream Now” behavior? If that’s the case, I don’t think it will have any impact.
Depending on how you have Restream set up, particularly with scheduling future YouTube events, you may want to take a look at the “Show scheduled live videos”?fallback method to see if it fits your needs.
Forum: Plugins
In reply to: [WP YouTube Live] Unknown error@evelyn1 Try removing the referee restriction from your API key.
Forum: Plugins
In reply to: [WP YouTube Live] Error Message@navindesigns That error suggests to me that you have the fallback behavior set to display upcoming videos, but you don’t have any upcoming videos scheduled.
To resolve it, I would either change your fallback method, or schedule some public videos.
Forum: Plugins
In reply to: [WP YouTube Live] Request youtube quota increase help@navindesigns I would send them a screenshot of the plugin settings page showing the Terms of Service and Privacy Policy links; that should satisfy the first two points.
On the third point: the plugin is caching data for approximately 15 minutes, not for three months.
Forum: Plugins
In reply to: [WP YouTube Live] Thumbnail ResolutionThat’s out of the control of this plugin. You’ll want to look at your theme settings or use the oembed_min_max_width filter to modify the default embed sizes.
Forum: Plugins
In reply to: [WP YouTube Live] Variable cache timingHi @jmvandeel,
I didn’t test your code, but that looks like exactly the approach I would recommend.
Forum: Plugins
In reply to: [WP YouTube Live] Live stream does not show upPlease read this thread for info on how to enable and find debugging information.
Forum: Plugins
In reply to: [WP YouTube Live] Live stream does not show upWhat do you see in the debugging output?
Forum: Plugins
In reply to: [WP YouTube Live] Live NotificationI’ll look at adding a
[youtube_live_indicator]
shortcode you could place in a menu or widget to show an indicator as described—that seems generally useful to a lot of people.Forum: Plugins
In reply to: [WP YouTube Live] No Live Stream on my WordPress website pageApparently YouTube has changed their maximum quota drastically from what it was a couple years ago when I originally wrote this plugin.
Please see https://www.ads-software.com/plugins/wp-youtube-live/#quota%20units for the latest information, and update the plugin on your site to avoid going over the daily quota in the future.
Note that it can take up to 900 seconds (15 minutes) now for live videos to appear on your site, though you can tweak that setting on the plugin settings screen.
Forum: Plugins
In reply to: [WP YouTube Live] Motivo: quotaExceededNote that it can take up to 900 seconds (15 minutes) now for live videos to appear on your site, though you can tweak that setting on the plugin settings screen.
Forum: Plugins
In reply to: [WP YouTube Live] Motivo: quotaExceededApparently YouTube has changed their maximum quota drastically from what it was a couple years ago when I originally wrote this plugin.
Please see https://www.ads-software.com/plugins/wp-youtube-live/#quota%20units for the latest information, and update the plugin on your site to avoid going over the daily quota in the future.
Forum: Plugins
In reply to: [WP YouTube Live] Live NotificationIt depends on your theme or widget. If I were to build it, I would:
- Add this to your theme’s javascript file
- Add a menu item or widget with two
<span>
s or<div>
s, one for “offline” and one for “live” - On pageload, hide the “live” one
- The snippet above will run when a video starts, so in that snippet, hide the “offline” and display the “live” one
Sorry, it’s not particularly user-friendly if you’re not comfortable with a bit of coding.
Forum: Plugins
In reply to: [WP YouTube Live] Live NotificationYes, but it would take a bit of custom code.
When a live stream is loaded, the
wpYouTubeLiveStarted
event is fired; you can use this javascript code to create custom front-end features on your site by adding an event listener:window.addEventListener('wpYouTubeLiveStarted', function() { /* your code here */ console.log('stream started'); /* your code here */ });
You’d have to include the
[youtube_live fallback_behavior="no_message"]
shortcode in a widget or footer so it would be running on every page.- This reply was modified 4 years, 11 months ago by macbookandrew. Reason: tweak code formatting