sparkweb
Forum Replies Created
-
Forum: Plugins
In reply to: [Hide YouTube Related Videos] Plugin isn't WorkingI’ve loaded that page a few times and I never see a video. That aside, I don’t think that it being loaded in the slider means that it’s using oembed. If you are loading a video from the_content(); it will be oembed, otherwise it’s just using another plugin to a straight iframe to create the embed and my plugin never gets a chance to interact with it.
Sorry!
Forum: Plugins
In reply to: [Hide YouTube Related Videos] Plugin isn't WorkingAre you sure that you are using oembed? Can you please send me the link to the actual page that has the video?
Forum: Plugins
In reply to: [Hide YouTube Related Videos] Plugin not workingI don’t know of any other solutions off the top of my head. You might look into the Magnific plugin mentioned above, but I don’t think it supports
rel=0. I know that Colorbox has a video overlay feature too so you might look into some of those plugins as well.Good luck!
Forum: Plugins
In reply to: [Hide YouTube Related Videos] Plugin not workingNo, that’s not what my plugin does. My plugin intercepts WordPress’s oembed functionality and adds the
rel=0bit to the url. If you make a link, this isn’t doing oembed, thus my functionality won’t take effect.Forum: Plugins
In reply to: [Hide YouTube Related Videos] Plugin not working@eyefeelit that’s fine. You can definitely do this, but you won’t be using WordPress’ oembed method this way and thus my plugin won’t be able to work.
Forum: Plugins
In reply to: [Hide YouTube Related Videos] Plugin not workingJust set it on a line by itself like this:
https://www.evernote.com/l/AAQsdvmqgG1Il4twwsg91Bz0TId38ocfDlgB/image.png
Then WordPress Oembed takes over and makes the embed for you. Then my plugin will kick in.
Forum: Plugins
In reply to: [Hide YouTube Related Videos] Plugin not working@pako69: So the main issue here is that the Magnific Popup isn’t using oembed at all. The only thing this plugin does is that it hooks into the oembed code that WordPress gets back from YouTube and puts
&rel=0into the url. Magnific does a different process where it creates the url itself and then makes a popup using javascript. Because this is something that Magnific does, my plugin never has access to any of this code. I don’t see how it could possibly have been working before.@eyefeelit: It looks like in your case you are using a YouTube embed plugin instead of WordPress’s oembed.
Forum: Plugins
In reply to: [Hide YouTube Related Videos] Plugin not workingI’m sorry for the problem here. I have recently made some changes to the plugin and this must have inadvertently caused this. Can each of you please share with me the YouTube line that you have on the post?
Forum: Plugins
In reply to: [Hide YouTube Related Videos] Works fine if no ?start applied to URLI did push out version 1.4.1 today which supports this change. Thanks!
Forum: Plugins
In reply to: [Hide YouTube Related Videos] Works fine if no ?start applied to URLI took a look at this and see that it doesn’t quite work. I loosened up the parameters that the plugin checks for and was able to get it working. I can’t release a new version until next week, but for now, you can update version 1.4 with this code:
//Regular oembed if (strpos($data, "feature=oembed") !== false) { $data = str_replace('feature=oembed', $str_to_add . '&feature=oembed', $data); //Playlist } elseif (strpos($data, "list=") !== false) { $data = str_replace('list=', $str_to_add . '&list=', $data); }Here’s the test link I used and had success with:
http://www.youtube.com/watch?v=xB5ceAruYrI&t=0m50sForum: Plugins
In reply to: [Hide YouTube Related Videos] Not working for playlistsWe connected via email, but this has been fixed in the version 1.4 of the plugin. Thanks for the head’s up about this.
Forum: Plugins
In reply to: [Custom Field Bulk Editor] How do I use this plugin?This app would work to change the custom field across a lot of pages at once, but a much better solution would be to save the custom field at the options level so you just have to change it once. There’s a plugin that makes this very easy called http://www.advancedcustomfields.com/resources/options-page/ that I use all the time to do things like this. I’d make a site-wide options page where I could set the season, and then reference that site-wide option on my internal pages.
Hope that helps,
Forum: Plugins
In reply to: [Hide YouTube Related Videos] Does Not Work for Mobile ViewingHi Derek,
I think this has to do with how the phone browser interprets the request and what service it sends it to. I tested this with Safari on my phone and it didn’t show the related videos.
I don’t think there’s anything we can do except ask YouTube not to show them. It’s up to their service what to do.
David
PS – Don’t forget to turn your permalinks back on.
Forum: Plugins
In reply to: [Custom Field Bulk Editor] ACF compatibility?You might want to look in the db. I think it’s just the ACF field name. Each field actually has two post meta fields, but the second one with the _[numbers] at the end is the maintenance field.
Forum: Plugins
In reply to: [Custom Field Bulk Editor] ACF compatibility?Yes, you can edit the ACF fields, you just have to identify what they are called.