Im trying to change a wordpress php slider so that it plays videos automatically instead of images.

If someone could help me Id be much appreciated. Struggling here.

It plays images that have their URLs input in the Wordpress Slides category. The slide item has the url referenced in the slide item area of each instance. I want to replace this with a video url. trying with youtube url. tried altering the url to autoplay see here.....

http://www.youtube.com/v/b1SYT--Mxu4&autoplay=1

This does not work. I replaced the url with the standard embedded link offered on youtube. no joy. I can assume that the code, below, has something in there that is preventing me from doing this. please help.

THE SLIDER.PHP FILE

<?php

/* NEW POST TYPE */

function post_type_slides() {
register_post_type(
'slides',
array( 'public' => true,
'publicly_queryable' => true,
'hierarchical' => false,
'menu_icon' => get_stylesheet_directory_uri() . '/images/slide.png',
'labels'=>array(
'name' => _x('Slides', 'post type general name'),
'singular_name' => _x('Slide', 'post type singular name'),
'add_new' => _x('Add New', 'slide item'),
'add_new_item' => __('Add New slide item'),
'edit_item' => __('Edit slide item'),
'new_item' => __('New slide item'),
'view_item' => __('View slide item'),
'search_items' => __('Search slide item'),
'not_found' => __('No slide item found'),
'not_found_in_trash' => __('No slide items found in Trash'),
'parent_item_colon' => ''
),
'show_ui' => true,
'menu_position'=>5,
'register_meta_box_cb' => 'mytheme_add_box',
'supports' => array(
'title',
'editor'
)
)
);
}
add_action('init', 'post_type_slides');


/* GALLERY TAXONOMY */

function create_genre_taxonomy()
{
$labels = array(
'name' => _x( 'Genre', 'taxonomy general name' ),
'singular_name' => _x( 'genre', 'taxonomy singular name' ),
'search_items' => __( 'Search Genre' ),
'all_items' => __( 'All Genre' ),
'parent_item' => __( 'Parent Genre' ),
'parent_item_colon' => __( 'Parent Genre:' ),
'edit_item' => __( 'Edit Genre' ),
'update_item' => __( 'Update Genre' ),
'add_new_item' => __( 'Add New Genre' ),
'new_item_name' => __( 'New Genre Name' ),
);

register_taxonomy('genre',array('portfolio'), array(
'hierarchical' => true,
'labels' => $labels,
'show_ui' => true,
'query_var' => true,
'rewrite' => array( 'slug' => 'genre' ),
));

}
add_action( 'init', 'create_genre_taxonomy', 0 );

?>