Hi guys,
My first post here. I would like to seek help about playing video from mysql database. A little background info is I am trying to create a webpage for my company so that new employee could watch those video tuitorial and do the test. I only had limited knowledge about PHP which I learn in school.
Everything is going smoothly so far however, I am facing problem with uploading video.
1) Do i store the video in database or under a folder??
2) How do I make the code dynamic? I wish to had them click on the title and the video will play instead of hardcoding. I found this code online
<SELECT name=selecta size=1 id=musica onchange=document.all.playera.Filename=document.all.musica.value;>
<OPTION selected>::::::::: Choose Your Media Sample Here :::::::::</OPTION>
<OPTION value="Stream URL or Full File Path Goes Here">My Video File </OPTION>
<OPTION value="Stream URL or Full File Path Goes Here">My Audio File</OPTION>
<OPTION value="Stream URL or Full File Path Goes Here">My Live Stream</OPTION>
</select>
<BR>
<OBJECT id=playera height=230 width=230 classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95>
<PARAM NAME="AutoStart" VALUE="True">
<PARAM NAME="Balance" VALUE="False">
<PARAM NAME="DisplaySize" VALUE="True">
<PARAM NAME="Filename" VALUE="">
<PARAM NAME="Mute" VALUE="False">
<PARAM NAME="SelectionStart" VALUE="False">
<PARAM NAME="SelectionEnd" VALUE="False">
<PARAM NAME="ShowControls" VALUE="True">
<PARAM NAME="ShowAudioControls" VALUE="True">
<PARAM NAME="ShowDisplay" VALUE="False">
<PARAM NAME="ShowPositionControls" VALUE="False">
<PARAM NAME="Volume" VALUE="1">
<PARAM NAME="AudioStream" VALUE="False">
<PARAM NAME="AutoSize" VALUE="False">
<PARAM NAME="AnimationAtStart" VALUE="False">
<PARAM NAME="AllowScan" VALUE="False">
<PARAM NAME="AllowChangeDisplaySize" VALUE="False">
<PARAM NAME="AutoRewind" VALUE="True">
<PARAM NAME="BaseURL" VALUE="">
<PARAM NAME="BufferingTime" VALUE="5">
<PARAM NAME="CaptioningID" VALUE="">
<PARAM NAME="ClickToPlay" VALUE="True">
<PARAM NAME="CursorType" VALUE="0">
<PARAM NAME="CurrentPosition" VALUE="True">
However, it is hardcoded as it require the URL for every video.
Would appreciate all the help:)
Thank in advance

