Challenging problems!!
Hi expert:
How do i edit the particupar video frame(video plays by media player)?
I did not find any metnod in API about that. anybody could provide any clue for me?
thanks a lot
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Purushottam RathorePosted May 27, 2008, 8:45 AM
Use This script for video control:
<OBJECT id="Player" height=200px width=200px classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" VIEWASTEXT>
<PARAM NAME="autoStart" VALUE="false"> <PARAM NAME="URL" VALUE="<%=mediaPath() %>"> <PARAM NAME="rate" VALUE="1"> <PARAM NAME="animationatStart" VALUE="false"> <PARAM NAME="transparentatStart" VALUE="false"> <PARAM NAME="showControls" VALUE="true"> <PARAM NAME="clickToPlay" VALUE="true"> <PARAM NAME="ShowStatusBar" VALUE="true"> <PARAM NAME="balance" VALUE="0"> <PARAM NAME="enabled" VALUE="true"> <PARAM NAME="enabledContextMenu" VALUE="true"> <PARAM NAME="fullScreen" VALUE="false"> <PARAM NAME="playCount" VALUE="1"> <PARAM NAME="volume" VALUE="100"> <PARAM NAME="stretchToFit" VALUE="-1"> <PARAM name="AutoStart" value="true"> <param name="windowlessVideo" value="true"> <embed type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="" name="mediaPlayer" class="MediaPlayerWidth" autosize="-1" src="<%=mediaPath()%>" > embed> OBJECT>Use The following Methods:
VideoFunction videofunction = new VideoFunction();VideoInfo videoInfo = new VideoInfo();
DataSet ds = new DataSet();
protected void Page_Load(object sender, EventArgs e)
{
OneVideo();
}
public string mediaPath()
{
string Url;
Url = "";
return Url;
}
public void OneVideo()
{
//..........
//..........
}