lavro Posted October 20, 2009 Report Share Posted October 20, 2009 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 " "; } //clean up varibles $raw = null; $code = null; $host = null; } } ?> Quote Link to comment Share on other sites More sharing options...
lavro Posted October 20, 2009 Author Report Share Posted October 20, 2009 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 " embed type='application/x-vlc-plugin' name='video1' $you_auto width='400' height='300' src='/home/larry/Public/Videos/vision.mpeg1' "; } } ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.