I am trying to embed a views ddblock slideshow into a custom front page on my site. I've created a views block and included:

<?php
  print views_embed_view('top_stories', 'block_1');
?>

in my page-front.tpl.php file.

However, when the front page is displayed, I get the image(s) and text below the image, but no slideshow. The siideshow works if I place the block into one of the theme's regions.

Upon further checking, I found that the js and css code for ddblock is missing from the custom front page and (apparently) template_preprocess_views_slideshow_ddblock() is not being called to add this code.

What am I doing wrong?

Thanks in advance for any help you can give.