Topic: how can I add a video stream to a web page

Hi I'm trying to embed a video using php. I know there are other ways but I want to use PHP. I'm using Ubuntu Linux. I have the index and class files but my embed code doesn't work. Can anyone help? Does the videos have to be listed in MYSQL? I'm not a programmer. Thanks

<?php

    class video_embed{
       var $raw;
       var $code;
       var $host = "";
       var $error = false;
       
       function embed($raw)
       {     
                     
       
             echo "
             <object width='425' height='353'><param name='video' value='/vision.mpeg1/$code$you_auto'></param>
             <param name='wmode' value='transparent'></param>
             <embed src='/home/larry/Public/Videos/vision.mp4'/$code$you_auto' type='application/x-mplayer' wmode='transparent' width='425' height='353'>
             </embed></object><br/>";
          }
  //clean up varibles
          $raw = null;
          $code = null;
          $host = null;     
       }

         
?>

Re: how can I add a video stream to a web page

I modified it somewhat so it would load but it still doesn't show on the web page. Any ideas?

<?php

class video_embed {
       var $raw;
       var $code;
       var $host = "";
       var $error = false;
       var $you_auto;

       function embed($raw)
       {     




              echo "

            <object>embed type='application/x-vlc-plugin'

         name='video1' $you_auto  width='400' height='300'

         src='/home/larry/Public/Videos/vision.mpeg1' </embed></object><br/>";

  }


     }

?>