Forum Replies Created
-
AuthorReplies
-
joejacobson
MemberThanks, Jason.
joejacobson
MemberOkay, I deactivated the Jetpack’s shortcode and the video now resizes. However, at the end of the video are shown “rel” videos. Here’s what I tried to add, but it doesn’t work: [embed]http://www.youtube.com/watch?v=oyw2ueVYL3o rel=”0″[/embed] Also tried it this way: [embed]http://www.youtube.com/watch?v=oyw2ueVYL3o&rel=0[/embed] and also simply by adding it this way: http://www.youtube.com/watch?v=oyw2ueVYL3o&rel=0
Is there a reference you can point me to for the correct parameter syntax? I went to WordPress, but they give the info assuming you’re using Jetpack’s shortcode.
Thanks.
joejacobson
MemberForgot to give you my URL: http://globalwrapgirls.com/
joejacobson
MemberNone of my videos are responsive. I have one in a tabs shortcode and the rest in the main content area. I have tried your [embed] shortcode above, and also suggestions from WordPress using their shortcode [youtube=http://www.youtube.com/watch?v=JaNH56Vpg-A&w=640&h=385].
I am using Jetpack.
Any further suggestions?
joejacobson
MemberOkay, thanks. So I can take out the [raw] part?
joejacobson
MemberI have several installs of the Alyeska (paid by my clients) on different domains installed, so I am getting pretty familiar with the files and process. This is the only one that doesn’t have the icon in the editing screen. I guess I can re-install it?
The only difference is that I’m running this one on a subdomain (part of a multi-site). Everything else seems to be working fine (the Builder and Sliders, etc.). It’s just that I need the shortcode access.
joejacobson
MemberI will try again when I have some time. I know you can probably figure it out in 2 minutes, but it might take me 10x longer. I just need more practice.
Thanks, Joe.
By the way, I do like your theme. That’s why I have referred it at least to 6 of my clients who are using it.
joejacobson
MemberOkay, thanks for the vote of confidence. Believe me, I am trying. I know your time is valuable and limited. I did go up and down the tree. I’ll try again.
February 12, 2013 at 11:08 pm in reply to: How to disable related videos on YouTube videos in sliders #4011joejacobson
MemberThanks for tweeting the author.
February 11, 2013 at 10:29 pm in reply to: How to disable related videos on YouTube videos in sliders #3949joejacobson
MemberI just tried this plugin, but apparently, it doesn’t work now with youtube. See below comments from plugin page:
—————————————————————————3.5 isn’t the issue… the plugin simply doesn’t work, because Youtube changed their system.
You need to replace the ampersands with question marks and remove “?feature=oembed” entirely. I’m not sure if there’s a downside to doing this… all I know is that it works.
Here’s the bad code on line 33:
return str_replace(‘&feature=oembed’, ‘&feature=oembed&rel=0’, $data);And here’s what it should be:
return str_replace(‘?feature=oembed’, ‘?rel=0’, $data);However, if you’re like me and use other embeds, like Flickr, you’ll want to make this adjustment for Youtube embeds only. So here’s what I changed line 33 to:
$data = preg_replace(‘/(youtube.com.*)(?feature=oembed)(.*)/’, ‘$1?rel=0$3’, $data);
return $data;February 11, 2013 at 10:19 pm in reply to: How to disable related videos on YouTube videos in sliders #3943joejacobson
MemberThanks, I’ll give this a try.
joejacobson
MemberThanks for the clarification, Jason.
joejacobson
MemberHere are three different shots.
http://i49.tinypic.com/anmuq9.png[/IMG] http://i49.tinypic.com/2dl40nr.png http://i49.tinypic.com/2luqmhl.png
joejacobson
MemberThanks, that did the trick.
-
AuthorReplies