Support » Plugin: WP Video Posts » 2 questions about the plugin

Viewing 1 replies (of 1 total)
  • Plugin Author AlexRayan


    Hi FolkertD,
    yes, you can use an existing post type “videos”, but you gotta make sure that your registration call uses the same options as the plugin.
    Here’s what the plugin uses:

    $labels = array(
                    'name' => _x('Videos', 'post type general name'),
                    'singular_name' => _x('Video Item', 'post type singular name'),
                    'add_new' => _x('Add New Video', 'video item'),
                    'add_new_item' => __('Add New Video Item'),
                    'edit_item' => __('Edit Video Item'),
                    'new_item' => __('New Video Item'),
                    'view_item' => __('View Video Item'),
                    'search_items' => __('Search Video'),
                    'not_found' =>  __('Nothing found'),
                    'not_found_in_trash' => __('Nothing found in Trash'),
                    'parent_item_colon' => ''
            $args = array(
                    'labels' => $labels,
                    'public' => true,
                    'publicly_queryable' => true,
                    'show_ui' => true,
                    'query_var' => true,
                    'menu_icon' => plugins_url('/images/', __FILE__) . 'videos_menu_icon.png',
                    //'rewrite' => true,
                    'rewrite' => array('slug'=>'videos'),
                    'capability_type' => 'post',
                    'hierarchical' => false,
                    'menu_position' => null,
                    'supports' => array('title','editor','thumbnail','comments','author','custom-fields'),
            register_post_type( 'videos' , $args );

    You would need to comment out this line in wpvp.php:
    register_post_type( ‘videos’ , $args );

    As for the other player instead of Flowplayer, that’s possible as well, but it would require modifying the plugin core which would remove the possibility of upgrading in the future. We might consider different options for players, but it is in our TO-DO list for now since unfortunately we don’t have as much free time to work on it as we would want to.

    Hope it answers your questions.

    Best regards,

Viewing 1 replies (of 1 total)
  • The topic ‘2 questions about the plugin’ is closed to new replies.