Front page › Forums › CodeCanyon products › WordPress YouTube video post plugin › Error adding a favorites playlist
This topic contains 22 replies, has 2 voices, and was last updated by Constantin 5 years, 7 months ago.
-
AuthorPosts
-
April 11, 2015 at 8:35 PM #441
I’ve set the automatic import to “user uploads” and the playlist id to FLua1Sf4UY69O4noA5g2-bhw
Error: Invalid value for parameter: username
April 17, 2015 at 12:13 PM #442Hi,
Sorry for the delay, had a few days off for Easter. Can you please give me the YouTube URL to this playlist? I tried to import it on one of my installations but the API doesn’t return any results. It’s like it isn’t found.
April 21, 2015 at 9:01 PM #443April 22, 2015 at 1:53 PM #447Thank you, just made a test using your playlist and I can see the entry you posted in it. Can you please give it a try and let me know?
This is the second time I notice this happening, another user repoted almost the same thing, the playlist couldn’t be queried on YouTube and after a while, it was. My best guess is that this has something to do with YouTube cache.April 23, 2015 at 7:05 PM #448Getting closer!
Is there a way to set “Don’t display image on single post” checked by default?
Also, I set it to “post excerpt” but it didn’t import any of the description.
http://djquad.com/blog/7-days-to-die-gameplay-zueljin-is-hot-e1/
April 25, 2015 at 11:43 AM #451Hi,
That option is a theme option right? Regarding the excerpt import, it should import it, when you edit the post, is the excerpt field is also empty?
April 25, 2015 at 7:36 PM #452Oh sorry, theme option. D’oh.
Yeah there’s nothing in the description when editing the post. The one at the top of http://djquad.com/blog is a new one that just imported.
April 30, 2015 at 3:17 PM #453Can you make sure that under plugin Settings page, tab Content options, option Import descriptions as you have selected post content?
April 30, 2015 at 6:52 PM #454It’s set to post excerpt since the full descriptions are too long.
April 30, 2015 at 8:21 PM #457In this case, the plugin will import descriptions into post excerpt instead of post content so when editing a post you won’t see anything into the editor but the post excerpt texearea should contain the video description.
Other than this, I really can’t say what could be going on.May 1, 2015 at 11:31 PM #458Makes sense. Do you have any plans on adding official support for the Enfold theme? It’s one of the most popular ones and is similar to Avada.
May 7, 2015 at 8:10 PM #470I could implement the compatibility directly into the plugin, the only problem is that I don’t own a copy of Enfold. If you could help me with that, I would gladly implement the compatibility into the plugin. Please let me know, thank you.
May 7, 2015 at 10:44 PM #473Yep no worries, I sent you a message through Envato.
May 8, 2015 at 6:44 PM #474Thank you. Just to be sure, Enfold displays videos by shortcode only correct?
May 8, 2015 at 6:57 PM #475Yeah here’s an example –
[av_video src=’https://www.youtube.com/watch?v=6zugKuUBlLI’ format=’16-9′ width=’16’ height=’9′]
According to Enfold, their shortcode just wraps the video into the wordpress embed shortcode.
May 27, 2015 at 1:08 AM #501Any luck with the integration?
May 27, 2015 at 11:25 AM #502Hi,
Very sorry about this, I didn’t receive any notification about the shortcode reply. Yes, this can be easily done. Please do the following in your WP theme/child theme functions.php file:
/** * Register theme Enfold */ function cbc_enfold_theme_support( $themes ){ $themes['enfold'] = array( 'post_type' => 'post', 'taxonomy' => false, 'post_meta' => array(), 'post_format' => 'video', 'theme_name' => 'Enfold' ); return $themes; } add_filter( 'cbc_youtube_theme_support', 'cbc_enfold_theme_support' ); /** * Add shortcode to video post content */ function cbc_enfold_video_shortcode( $post_content, $video, $theme_import ){ if( !$theme_import ){ return $post_content; } $shortcode = "[av_video src='https://www.youtube.com/watch?v=" . $video['video_id'] . "' format='16-9' width='16' height='9']" . "\n"; return $shortcode . $post_content; } add_filter( 'cbc_video_post_content', 'cbc_enfold_video_shortcode', 10, 3 );
The theme will officially be implemented into the plugin by default but for now, please try using the filters.
May 30, 2015 at 8:53 PM #503That seemed to work but the video isn’t displayed on http://djquad.com/blog/ark-survival-evolved-announcement-trailer. It is however on http://djquad.com/blog
June 6, 2015 at 11:03 AM #510Can you please try the latest plugin version available on CodeCanyon? I implemented Enfold compatibility by default into the plugin, just remember to remove the code I gave you above from your theme functions.php file.
June 8, 2015 at 9:28 PM #511That seems to work with manually importing but auto importing isn’t working. I put in all the API stuff but the status is “Error: Query to YouTube API returned no results.”
Is there a way to get more detailed debugging info?
-
AuthorPosts
You must be logged in to reply to this topic.