Embedded Html

Permalink
As editing a page, I added an html component and use my own html code. The html is to play an wmv. The wmv file was uploaded by Dashboard\File Manager. By the default, the wmv reside at \files folder. However, when try to view the file. I get a white rectangle instead of the video.

Please help.

The html look like below:

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
</head>
<body>
<form id="form1" runat="server">
<div>
<table>
<tr>
<td>
<OBJECT id="VIDEO3" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"   type="application/x-oleobject" width="320" height="240">
<PARAM NAME="URL" VALUE="./files/Tradi.wmv">
<PARAM NAME="enabled" VALUE="True">
<PARAM NAME="AutoStart" VALUE="False">
<PARAM name="PlayCount" value="1">
<PARAM name="Volume" value="50">

 
okhayat replied on at Permalink Reply
okhayat
The path to the video is wrong. It's usually something like /files/3422/1234/2345/filename.wmv
dduon replied on at Permalink Reply
Is there any way to know the numbers along the path, saying 3422/1234/235/ in your sample? Thank you
okhayat replied on at Permalink Reply
okhayat
In the file manager, click on the required image and choose Properties from the menu.
URL to File shows the full path
dduon replied on at Permalink Reply
I do not see the URL item on the Properties of File Manager. Mine is version 5.3.3.1. I think it may be I use non-admin account so cannot see the URL. I will check it. Thank you anyway for your help.
okhayat replied on at Permalink Reply
okhayat
Yes, sorry, I was using the beta version.
You can use the Video block to include it and see the URL. Very bad I know, but hopefully the referred solution is better with the next release.
dduon replied on at Permalink Reply
It works. Thank you