Constantin

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 135 total)
  • Author
    Posts

  • Constantin
    Keymaster

    What does the log say? All errors/results should be in there.


    Constantin
    Keymaster

    Can you please try and recreate the playlists? I mean, remove them completely and create them again. From the log I see that your playlists don’t have any info stored on them and this causes the automatic import process to short circuit.


    Constantin
    Keymaster

    Hi,

    Please update the plugin to latest version available on CodeCanyon. Next, download and install this plugin: http://www.constantinb.com/project/wordpress-youtube-plugin-debug-utility/

    The second plugin will install a debug page under the main plugin menu and it will display various messages regarding why certain imports don’t import. Let it work for a day or two and let me know what the log says, thank you.

    Please note that you need to have the latest plugin version from CodeCanyon in order for the debugging plugin to work.

    in reply to: Social Media under Video Post – Suggestion #574

    Constantin
    Keymaster

    If you use the custom post type implemented by the plugin you could probably unable the social sharing only for the video post type. Anyway, this looks like a custom job and implementing social sharing into this plugin isn’t the solution since it will make the plugin do more than it is supposed to.

    in reply to: OAuth does not seems to be recorded #572

    Constantin
    Keymaster

    Hi,

    I just tested everything and My YouTube section works. Can you please contact me from my CodeCanyon profile page available here: http://codecanyon.net/user/cboiangiu#contact
    I might need to ask you to grant me temporary access to make sure everything is set up correctly. Please let me know, thank you.

    in reply to: Social Media under Video Post – Suggestion #571

    Constantin
    Keymaster

    Hi,

    You could use a social sharing plugin, this feature doesn’t need to be implemented into the plugin.

    in reply to: YouTube annotations don't work #570

    Constantin
    Keymaster

    Happy to hear you solved this.

    in reply to: Category Query #564

    Constantin
    Keymaster

    True, the shortcode should display using category, not only post ids. I’ll put this on the to-do list, thank you for suggesting it.

    in reply to: YouTube feed is empty – API error: No longer available – #558

    Constantin
    Keymaster

    Hi,

    I just tested your playlist and I get 13 videos. What WP and plugin version are you using?

    in reply to: Manually updating plugin #550

    Constantin
    Keymaster

    Hi,

    Simply overwrite the new version over the old one, you shouldn’t experience any unpleasant situation. Just to make sure though, you could back-up your installation first but 99% everything will be just fine.

    in reply to: Can't find download #516

    Constantin
    Keymaster

    Hi,

    The plugin is sold exclusively on CodeCanyon so you should check any of the usernames you have registered on Envato.

    in reply to: Error adding a favorites playlist #514

    Constantin
    Keymaster

    Hi,

    Thank you for the details. Just tested your feed and it seems it isn’t a channel feed, its a user feed. Try setting Feed type to user uploads, it will work in this case.

    in reply to: Error adding a favorites playlist #512

    Constantin
    Keymaster

    Hi,

    That is the exact error returned by YouTube. Can you please give me the details of what you’re trying to import so I can test and see what could be going wrong? Thank you.

    in reply to: Error adding a favorites playlist #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.

    in reply to: What is the current status of this plugin? #509

    Constantin
    Keymaster

    @webliya – Can you please try the latest version (1.2.2) available on CodeCanyon? It should deal with this issue.

    in reply to: What is the current status of this plugin? #506

    Constantin
    Keymaster

    Updated plugin is available for download on CodeCanyon in your download page: http://codecanyon.net/downloads
    It is compatible with YouTube API3.

    @webliya – only automatic update has stopped?

    in reply to: Error adding a favorites playlist #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.

    in reply to: Automatic Update Stopped Working. #481

    Constantin
    Keymaster

    Hi,

    If you updated to latest version, the plugin needs some time to parse all your playlists. This is happening because previous YouTube API used numbering for pagination and current API uses tokens so the plugin needs to start over.

    Regarding the automatic filling of embed code and video URL, here’s a piece of code that you can put in your theme functions.php file and will automatically fill the values into the custom fields that you need:

    
    /**
     * On bulk post import, set up all extra fields needed by the theme to flag post as video
     * @param int $post_id - ID of newly created post
     * @param array $video - array of video data returned by YouTube
     * @param false/array $theme_import - theme import configuration
     */
    function my_post_fields( $post_id, $video, $theme_import ){
    	
    	// video embed
    	$ps = cbc_get_player_settings();
    	$customize = implode('&', array(
    		'controls=' . $ps['controls'],
    		'autohide=' . $ps['autohide'],
    		'fs=' . $ps['fs'],
    		'theme=' . $ps['theme'],
    		'color=' . $ps['color'],
    		'iv_load_policy=' . $ps['iv_load_policy'],
    		'modestbranding=' . $ps['modestbranding'],
    		'rel=' . $ps['rel'],
    		'showinfo=' . $ps['showinfo'],
    		'autoplay=' . $ps['autoplay']
    	));			
    	// video embed code	
    	$embed_code = '<iframe width="' . $ps['width'] . '" height="' . cbc_player_height( $ps['aspect_ratio'], $ps['width'] ) . '" src="https://www.youtube.com/embed/' . $video['video_id'] . '?' . $customize . '" frameborder="0" allowfullscreen></iframe>';
    	
    	// video URL
    	$url 		= 'https://www.youtube.com/watch?v='.$video['video_id'];
    	
    	// store embed code and URL in custom fields
    	// we assume that embed code is stored in custom field 'embed_code' and url in field 'url'
    	
    	// uncomment the two lines below and enter the corrent meta field names instead of embed_code and url
    	//update_post_meta( $post_id, 'embed_code', $embed_code );
    	//update_post_meta( $post_id, 'url', $url );
    }
    add_action('cbc_post_insert', 'my_post_fields', 10, 3);
    
    in reply to: DETUBE SUPPORT NEEDED #479

    Constantin
    Keymaster

    The plugin is compatible with detube, you don’t need to edit anything. Just check in your theme styles.css that the theme name is detube and not something else.

    Also, see this for theme compatibility: http://www.constantinb.com/youtube-video-post-for-wordpress-theme-compatibility-tutorial/

    in reply to: Error adding a favorites playlist #474

    Constantin
    Keymaster

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

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