KK Goh Posted November 10, 2011 Share Posted November 10, 2011 Hi guys, My first post here. I would like to seek you guys help about playing video from mysql. I wanted to upload video to database and also play it inside my webpage using the media player format. Thank in advance Quote Link to comment https://forums.phpfreaks.com/topic/250821-play-video-help/ Share on other sites More sharing options...
KK Goh Posted November 10, 2011 Author Share Posted November 10, 2011 Just to add on, This is the code that I found online.However, it require URL. But i wanted it to display the video that the user select from database. Any help? <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"> <PARAM NAME="CurrentMarker" VALUE="True"> <PARAM NAME="DefaultFrame" VALUE="mainframe"> <PARAM NAME="DisplayBackColor" VALUE="True"> <PARAM NAME="DisplayForeColor" VALUE="16777215"> <PARAM NAME="DisplayMode" VALUE="1"> <PARAM NAME="Enabled" VALUE="-1"> <PARAM NAME="EnableContextMenu" VALUE="False"> <PARAM NAME="EnablePositionControls" VALUE="False"> <PARAM NAME="EnableFullScreenControls" VALUE="False"> <PARAM NAME="EnableTracker" VALUE="False"> <PARAM NAME="InvokeURLs" VALUE="False"> <PARAM NAME="Language" VALUE="False"> <PARAM NAME="PlayCount" VALUE="1"> <PARAM NAME="PreviewMode" VALUE="False"> <PARAM NAME="ShowStatusBar" VALUE="True"> <PARAM NAME="TransparentAtStart" VALUE="False"> </OBJECT> Quote Link to comment https://forums.phpfreaks.com/topic/250821-play-video-help/#findComment-1286920 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.