Hello fellows,
I would like just to ask if how to add PHP wmv on website? I can develop some web pages using php programming language combined with html and now I am confused with some codes related to wmv files. Can you give me some steps on how to add PHP wmv on website? This is very important for me, I hope you can share your ideas with me.
How to add php wmv on website?
Hello Kathryn Masud,
I have noticed you are in problem in php script to add wmv on website.
Below the code is shown you can take help from the code.
<thead>
<tr>
<th>PLAY</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="sermons/highspeed/HE did it for you.wmv">PLAY</a></td>
</tr>
<tr>
<td><a href="sermons/highspeed/Morality.wmv">PLAY</a></td>
</tr>
</thead>
Best of luck.
Thanks.
How to add php wmv on website?
Hi,
wmv is not the best format to view videos, I suggest you to change your file into flv (flash format) and embedded into your website.
If you are using adobe Dreamweaver as development tool simply you can embed this by following
Insert > media > Flash video and select the required flash file.
You will get a flash player by default with functions which you seen in the YouTube channel.
How to add php wmv on website?
There is also another way of playing any “.wmv” files in your website using PHP that uses your Microsoft Windows Media Player. When the video file is clicked on the page, it will automatically launch the Windows Media Player and then plays and streams the video. Simply insert the script below any where in your page.
<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" STANDBY="Loading Windows Media Player components…" TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="videofilename.wmv">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<PARAM name="autostart" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer" WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>
Simply change the “videofilename.wmv” to the URL of your video to make your video work. This is a different type of streaming a video instead of the usual video player embedded on most web pages to stream videos like in YouTube.