With PHP 7.1 this plugin gives warning:
SmartYouTube_Widget has a deprecated constructor in /home/xxxxx/public_html/wp-content/plugins/smart-youtube/smartyoutube.php on line 1418
Please can we have a fix?
If the author does not intend to fix, then please say so.
thank you.
]]>When a video is paused it now shows a strip of “More Videos”. Additionally, it now shows “Recommended Videos” at the end of the video.
Note: I do have “Do not include related videos” checked as On.
]]>Hi all,
from some times I’ ve the following problem highlighted:
Il metodo del costruttore richiamato per WP_Widget in SmartYouTube_Widget è deprecato dalla versione 4.3.0! Utilizzare invece
__construct()
. in /home/mhd-01/www.ferentino.org/htdocs/ferwp/wp-includes/functions.php on line 3894
Is there a way to fix it?
Thank you
Hi,
I have embedded a youtube video with closed captions on it.
How can I get the captions to show up automatically in the video? (it does of course show up if I have clicked on the CC
Thanks in advance!
Crystal
Hi!
Lately control buttons disappeared from youtube player using Smart Youtube.
This is how it looks.
Please, assist.
]]>WP_DEBUG returning the error: “WP_Widget is deprecated since version 4.3.0…”
Any prevision for update?
]]>There is a file in my install called title39.php that is full of $GLOBALS. I don’t see such a file in the plugin package. Is this an invalid/virus file?
]]>I really enjoy this plugin but one of the reason I downloaded it was to get my post with you tube embeds to show up in my RSS feed. All my other posts show up in my RSS feed except the ones with Youtube videos in it. Any help would greatly be appreciated.
my RSS feed
https://universemiami.com/feed/
Latest example of a post not showing up in feed
]]>Dear all
I have a problem on all my videos using 4.3 version. I’m using this type syntax
httpvh://youtu.be/zeZRGSxbByM
You can find a exemple web page here
https://ouiouiphoto.fr/Wp/2015/02/lightroom-mais-encore-23-raw-jpg-episode-ii/
As option i have
Display videos in posts
Do not include related videos
Autoplay videos
Remove Titles & Ratings
Theme is Dark
Show embeds in post excerpts as “Nothing”
Any help will be appreciated. The problem seem to be only on IOS
Have a nice day
]]>Hey
I have a custom post type named movie and notice that I am not getting the video to come up. The same video is seen on the frontend in a regular post.
Have a great day!
]]>I have created a template for displaying videos that are uploaded via a POST. The code simplifies the user experience by checking the content of the post (which is the video URL), substitutes the httpv:// if necessary (ONLY on this particular page, not for the whole site…). Then the filters are applied, and the thumbnail image is replaced to avoid the black bars.
The output is supposed to be a thumbnail linked to the specific post page where the usual embedded iframe is displayed. Instead, we are getting the embedded iframes. I’m not sure how to “force” the use of thumbnails when the filters are applied to the content. This is NOT a home page or archive page.
Any tips? (feel free to tell me where my code may be wrong – I’m a little new to WP templates…)
Here’s the code:
$videos = get_posts($video_posts);
$videos->is_home = true;
echo '<div class="video-list">';
echo '<ul class="block-grid three-up">';
foreach($videos as $video) {
$titleAttribute = esc_attr(strip_tags($video->post_title));
echo '<li>';
echo '<article id="post-'. $video->ID .'" role="article">';
echo '<header class="article-header"><div class="titlewrap clearfix">';
echo '<h1 class="post-title entry-title"><a href="'. $video->guid .'" rel="bookmark" title="'. $titleAttribute .'">'. $video->post_title .'</a></h1>';
echo '</div></header>'; // end item header
echo '<section class="entry-content clearfix">';
echo '<div class="videothbwrapper">';
echo '<a href="'. get_the_permalink() .'" rel="bookmark" title="'. $titleAttribute.'">';
// We will retrieve the image URL and get it set up for use with the
// Smart Youtube plugin, and replace the thumbnail image to avoid the black bars.
// replace a normal URL with the format the plugin needs
// (httpv:// for normal resolution, httpvh:// for high resolution)
$content = str_replace('https://', 'httpvh://', $video->post_content);
// Apply the usual wordpress filters to the URL (let the plugin do it's thing)
$content = apply_filters( 'the_content', $content );
$content = str_replace( ']]>', ']]>', $content );
// Change the generated output to use a more sane thumbnail image
$content = str_replace('0.jpg', 'mqdefault.jpg', $content);
// place the modified content onto the page.
echo $content;
// the "play" icon
echo '<div class="videothbcontainer"><i class="icon-play videothb"></i></div>';
echo '</a>'; // end anchor link to video
// video description
$video_description = get_post_meta($video->ID, 'video_description', true);
echo '<div class="video-description">';
if ($video_description) {
echo $video_description;
}
echo '</div>'; // end the video description
echo '</div>'; // end .videothbwrapper
echo '</section>'; // end the video section
echo '</article>';
echo '</li>';
}
echo '</ul>'; // end block-grid list
echo '</div>'; // end .video-list div
]]>
Modern YouYube embed method made default
]]>The new WP 4.x YouTube video auto-embed feature in the editor is cool, but can be a pain when trying to paste the unedited YouTube url into a post while in the editor’s visual view.
I discovered a workaround that disables the auto-embed feature while I’m editing the post in the visual view. It appears that the auto-embed feature requires the unedited Youtube url to be pasted by itself at the beginning of a new paragraph.
So I simply add a single blank space at the beginning of the line before I paste the Youtube url. Then the url can, still within the visual view, be edited into the ‘shortcode’ format (changing https://
to httpv://
) without having to switch to the text view to edit the html code.
hello,
I installed the Smart plug-in Youtube on my blog, but I have not figured out how to include my complete channel.
I know each video set up with:
httpv:// – regular video
httpvh:// – high/HD quality
httpvp:// – playlist
httpvhp:// – HD playlist
But I do not know how to show all my video channel.
Do you have an idea please?
Thank you !
Margerie
]]>I see in the describtion of this plugin that you can decide the format of the display of the videos in both posts and sidebars,but I can figure out where to do it. It says i should do these settings in the “option”, but I cant find any place to do it.
Can anyone help me with this one? Today I have too big video displays, and wan to change that.
]]>httpvh: Shortcode works fine when viewing a post with embedded YouTube video in a Web browser, but there is nothing but a blank space where the video should appear when viewing the post in Safari on iPhone/iPad running iOS 8.
]]>Hi, I’m trying to use the plugin but as said above autoplay does not work!!!
Is there a way to fix it?
Hello,
It looks like the recent update changes the way images for the video thumbnails are embedded and one is seeing image tags with no protocol specified, i.e.:
<img src="//img.youtube.com/vi/5_jqhXNF98A/default.jpg"
We have our feed sent out through feed burner and everyone who uses outlook 7 is finding that our emails do a hard crash of outlook because outlook interprets that double slash as pointing to the local server. Yes, I know this is a problem with outlook, but it the “no protocol” solution does cause problems with many rss readers too. Is there a way to have a checkbox that just uses http: or https for image embeds?
Thank you,
erico
When I embed a Vimeo video using this plugin’s “httpv” shortcode text, I end up seeing the following error in firebug:
Error: Permission denied to access property ‘toString’
It seems to be preventing other things from working… but if I remove the Vimeo link, the error goes away.
Thoughts?
]]>Hi,
I absolutely love this plugin and have used it for years now. It really has made adding videos so much easier. However, I did recently find a bug. This message has been coming up in my debug.log:
“[02-Jul-2014 11:13:47 UTC] PHP Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts
, admin_enqueue_scripts
, or login_enqueue_scripts
hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in “FILENAME.php” on line 3245″
I deactivated my Plugins one by one and eventually found that the cause was this plugin. Does anyone know how to fix this or are there plans for a plugin update?
Thanks,
Russ
Is there a way to autoplay videos only if they are in a single post mode, but not autoplay in the front page or the home page?
Thanks in advance
]]>Hello,
when i post the shortened URL the video plays as normally. But when i paste the normal URL the video doesn’t show up at all.
even more, httpv doesn’t seem to work even.
]]>Hello,
Thank you for a great plugin but when I upgraded to the latest version the video goes to the YouTube site instead of showing in a pop up colorbox which is what it use to do before the upgrade.
Could you help?
Thank you.
]]>The youtube video I have on my page using Smart YouTube Pro does not display a play button and when you click on the image of the video, the video does not play on the page but opens up a new browser to play. Is there a way to get a play button on top of the video image or below it? Is there a way to get the video to play on the page instead of popping up a new browser?
https://buckscountyandbeyond.com/bucks-county-homes-and-living-show
]]>Is there a way to disable the plugin from parsing text links to YouTube videos while still working on https:// URLs inserted by themselves?
]]>Please update your plugin like this:
function reg_scripts() {
$script_path = $this->plugin_url . '/javascripts/jquery.colorbox-min.js';
wp_register_script( 'colorbox', $script_path, array('jquery') );
}
function add_filters_and_hooks() {
add_action('wp_enqueue_scripts', array( $this, 'reg_scripts' ));
]]>
I just installed the plugin and it works great, except that YouTube URLs with the https:// prefix don’t work. Is there a way to modify the plugin to account for this? Thanks!
]]>Hi,
I’m a big fan of this plug in.
Smart youtube pro version 4.2.0 is able to post a “video post link” to facebook. Version 4.2.3 is not. No OG video is recognized.
Thanks for the plugin
]]>Hi,
There is an issue with your extension.
in your code smartyoutube.php line 137 you put
echo '<meta property="og:image" content="https://i.ytimg.com/vi/' . $matches[0][5] . '/default.jpg" />';
This thumbnail can’t be use by facebook because :
“Provided og:image is not big enough. Please use an image that’s at least 200×200 px” (source : https://developers.facebook.com/tools/debug)
you have to change the code :
echo '<meta property="og:image" content="https://i.ytimg.com/vi/' . $matches[0][5] . '/hqdefault.jpg" />';
Can you change that for the next version ?
Thanks
]]>Hi
I’m trying to use this option for the old plugin “pro player”.
That plugin used tag [pro-player].
I’ve tried with pro-player and with [pro-player] but it doesn’t work. The tag is visible anyway.
What should I do?
Thank you
]]>