E
Earl T
I am using .NET to write out the code for the windows media object and
the only problem is that it always loops and does not stop and the end
of clip. How do I get it to stop at the end. The code I am writing is
bellow.
Thanks for the help
Earl
PlaceHolder myPlaceHolder = new PlaceHolder();
myPlaceHolder.Controls.Add(new LiteralControl("<object id=\"video\"
border=\"0\" classid=\"clsid:05589FA1-C356-11CE-BF01-00AA0055595A\"
name=\"movie\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"ShowDisplay\" value=\"true\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"ShowControls\" value=\"1\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"AutoStart\" value=\"0\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"AutoRewind\" value=\"0\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"PlayCount\" value=\"0\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"Appearance value=\"0\" value=\"\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"BorderStyle value=\"0\" value=\"\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"FileName\" value=\""+VirtualFilePath+"\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<embed
type=\"video/x-msvideo\" loop=\"false\" autostart=\"0\"
controls=\"true\" showdisplay=\"true\" showcontrols=\"1\"
autorewind=\"1\" playcount=\"0\" name=\"movie\">"));
myPlaceHolder.Controls.Add(new LiteralControl("</embed>"));
myPlaceHolder.Controls.Add(new LiteralControl("</object>"));
the only problem is that it always loops and does not stop and the end
of clip. How do I get it to stop at the end. The code I am writing is
bellow.
Thanks for the help
Earl
PlaceHolder myPlaceHolder = new PlaceHolder();
myPlaceHolder.Controls.Add(new LiteralControl("<object id=\"video\"
border=\"0\" classid=\"clsid:05589FA1-C356-11CE-BF01-00AA0055595A\"
name=\"movie\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"ShowDisplay\" value=\"true\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"ShowControls\" value=\"1\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"AutoStart\" value=\"0\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"AutoRewind\" value=\"0\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"PlayCount\" value=\"0\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"Appearance value=\"0\" value=\"\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"BorderStyle value=\"0\" value=\"\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<param
name=\"FileName\" value=\""+VirtualFilePath+"\">"));
myPlaceHolder.Controls.Add(new LiteralControl("<embed
type=\"video/x-msvideo\" loop=\"false\" autostart=\"0\"
controls=\"true\" showdisplay=\"true\" showcontrols=\"1\"
autorewind=\"1\" playcount=\"0\" name=\"movie\">"));
myPlaceHolder.Controls.Add(new LiteralControl("</embed>"));
myPlaceHolder.Controls.Add(new LiteralControl("</object>"));