Error adding a favorites playlist

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 4 years, 3 months ago.

Viewing 20 posts - 1 through 20 (of 23 total)
  • Author
    Posts
  • #441

    DJQuad
    Participant

    I’ve set the automatic import to “user uploads” and the playlist id to FLua1Sf4UY69O4noA5g2-bhw

    Error: Invalid value for parameter: username

    #442

    Constantin
    Keymaster

    Hi,

    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.

    #443

    DJQuad
    Participant
    #447

    Constantin
    Keymaster

    Thank 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.

    #448

    DJQuad
    Participant

    Getting 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/

    #451

    Constantin
    Keymaster

    Hi,

    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?

    #452

    DJQuad
    Participant

    Oh 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.

    #453

    Constantin
    Keymaster

    Can you make sure that under plugin Settings page, tab Content options, option Import descriptions as you have selected post content?

    #454

    DJQuad
    Participant

    It’s set to post excerpt since the full descriptions are too long.

    #457

    Constantin
    Keymaster

    In 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.

    #458

    DJQuad
    Participant

    Makes 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.

    #470

    Constantin
    Keymaster

    I 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.

    #473

    DJQuad
    Participant

    Yep no worries, I sent you a message through Envato.

    #474

    Constantin
    Keymaster

    Thank you. Just to be sure, Enfold displays videos by shortcode only correct?

    #475

    DJQuad
    Participant

    Yeah 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.

    #501

    DJQuad
    Participant

    Any luck with the integration?

    #502

    Constantin
    Keymaster

    Hi,

    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.

    #503

    DJQuad
    Participant

    That 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

    #510

    Constantin
    Keymaster

    Can 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.

    #511

    DJQuad
    Participant

    That 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?

Viewing 20 posts - 1 through 20 (of 23 total)

You must be logged in to reply to this topic.