Chris
Forum Replies Created
-
Forum: Plugins
In reply to: [Related YouTube Videos] The video is repeated several times in one postYou can use (and increase) the “offset” parameter to skip videos.
Eg
[relatedYouTubeVideos … max=”1″]
then later in the same post
[relatedYouTubeVideos … max=”1″ offset=”1″]
and even later in the same post
[relatedYouTubeVideos … max=”1″ offset=”2″]If you want to display multiple videos each time you have to do some simple maths:
Eg
[relatedYouTubeVideos … max=”4″]
then later in the same post
[relatedYouTubeVideos … max=”4″ offset=”4″]
and even later in the same post
[relatedYouTubeVideos … max=”4″ offset=”8″]Forum: Plugins
In reply to: [Related YouTube Videos] Related Youtube Videos Feature ImagesHey Jeffrey,
it that working for you?
https://downloads.meomundo.com/h45uc83oa0ft973hdk20/video-thumbnails-addon-rytv-1.1.0.zipForum: Plugins
In reply to: [Related YouTube Videos] Watch Video as LinkGood catch, actually, thanks. I’m on it. Though I myself think it would be better to place a (css) play-button-triangle over the video image instead of text. This way, no translation would be needed.
Forum: Plugins
In reply to: [Related YouTube Videos] My RYV is not working, i don′t know whyI mean there are basically 3 steps to check if you -unexpectedly- get 0 results:
1. Do you have a -valid/browser- Youtube API key?
2. Is at least one PHP method enabled to make HTTP requests (to the YT API)?
3. Do you get more/other/any results when you search for the same terms manually on YouTube.com?Since (2) seems to be alright, I would check the other points as well.
Forum: Plugins
In reply to: [Related YouTube Videos] My RYV is not working, i don′t know whyHi,
have you tested if your youtube key works?Via Google Console: Make sure it’s a (or create a new) “browser”(!) key. Those are the least restrictive ones while the referrer/server ip seem to cause trouble sometimes.
Forum: Plugins
In reply to: [Related YouTube Videos] Related Youtube Videos Feature ImagesYou’re welcome and no problem at all.
Chris
Forum: Plugins
In reply to: [Related YouTube Videos] Related Youtube Videos Feature ImagesNo, mine is not adding or storing any post meta data. The YT results are cached in a JSON format. Still…can you try this additional plugin?
video-thumbnails-addon-rytv-1.0.0.zip
It should act as a bridge between both. Respectively, the Video Thumbnails plugin should now also scan for videos coming via the Related Youtube Videos plugin.
There’s a little error though which might pop up depending on how your PHP error levels are set. I had to define a constant before the Video Thumbnails plugin is doing it. So you might get an error/notice “constant already defined” or “cannot be redeclared” or something like that.
But if this addon works I will contact the other developer and maybe he’s willing to apply a little tweak that I have in mind.
Forum: Plugins
In reply to: [Related YouTube Videos] Related Youtube Videos Feature ImagesHi,
interesting use case, yet I don’t think I will integrate such a function into my plugin. But the “Video Thumbnails” plugin seems to be extendable. So I will see if I can squeeze the both of them together. Just give me a day or so to get a better at the code.Forum: Plugins
In reply to: [Related YouTube Videos] Can you fix this conflict to my post contentYou can enter a comma separated list of post/page IDs (numbers) on the widget setting “Hide On”, or with the shortcode attribute [… exclude=”1,2,3″]
You should enter the page IDs for the “about”, “contact us” page and all the others that won’t deliver a useful Youtube video title.If you wonder what videos show up for a certain post title and/or think it doesn’t match, you can manually check the results coming from Youtube on:
https://developers.google.com/youtube/v3/docs/search/listThere should be a web form either on the side or the bottom of the page. Just enter the word “snippet” in the “part” field, and your title (aka search term) into the “q” field.
Forum: Plugins
In reply to: [Related YouTube Videos] Can you fix this conflict to my post contentJust saying: I haven’t forgotten about this but I’m on the road at the moment. I will look at it over the weekend
Forum: Plugins
In reply to: [Related YouTube Videos] Can you fix this conflict to my post contentHi,
I’m not quite sure I understand the problem correctly. Do you mean the plugin is breaking your posts (eg the DOM) or is it just showing inappropriate videos?The latter is due to WordPress not offering a useful post title, like on the search results page (which you’ve mentioned). Though the issue of “garbage videos” is not limited to that but also occurs, for example, on the “contact” page, the “about us” page etc. Basically every page/post title Youtube can easily misunderstand.
I’m not sure if there’s a better way but since you seem to be using the widget you could prevent it from showing up at all on certain pages by using another plugin called “widget logic” or something alike.
If you want me to look into something specific feel free to shoot me an email.
Forum: Plugins
In reply to: [Related YouTube Videos] NofollowSorry, you can’t. At least it’s not that easy.
You would have to use the direct PHP approach (https://www.ads-software.com/plugins/related-youtube-videos/other_notes/) and, for example, code this directly into your tempalte file(s).
In version 2 [which, if I’m honest, don’t know when it’s coming out. Maybe earlier next year?] you will be able to create your own HTML templates.
Forum: Reviews
In reply to: [Related YouTube Videos] Does a decent job, but . . .Hi and thanks for the feedback.
Unfortunately I’m not getting any notification about ratings…1. ’10’ has been the hard limit for the old YT API. So I’ve removed that entirely from the plugin code with v1.9.3. Now it’s all up to Youtube to cap to whatever they seem fit. Good catch, btw, I totally overlooked that one ??
2. The full screen issue is known but it’s up to Youtube, respectively the actual video player they offer you – more or less accoding to how good they can detect your system. You (also in the sense of ‘this plugin’) cannot enable or disable features like that programmatically.
I know your comment is quite old by now. But maybe this still clears up some things (or gets a conversation rolling)
Forum: Plugins
In reply to: [Related YouTube Videos] Disable on some postsThere’s been a bug in my code which hopefully is now fixed with version 1.9.3
You now can exclude post IDs like this (this is taken and tweaked from the code example in the plugin documentation):
$data = $RytvAPI->validateConfiguration( array( 'relation' => 'keywords', 'keywords' => 'monthy mython', 'max' => '1', 'width' => 150, 'height' => 150, 'lang' => 'en', 'region' => 'de', 'class' => 'left center inline bg-black', 'preview' => true, 'exclude' => '1,2,3' // list of post IDs where no video should show up ) );
Forum: Plugins
In reply to: [Related YouTube Videos] Related Youtube PlaylistAh, okay, my mistake.
You can build your own (HTML) template after retrieving your list of videos via this plugin. The “playlist” can/must then be created via Javascript and CSS.
So if you happen to have a jQuery plugin or so that can create such a playlist I can help you patching it together with the RYTV plugin.