User-458598543 posted
i'm trying with httpSession, the code is operational, i can play the video but when i'm launched a second page or a third page with the same url and the same http session variables, the video.src is loading but the control video doesn' playing.
do you know where is the problem !
thanks !
code below :
public HttpContext context = HttpContext.Current;
private void session_http()
{
if (context.Session["video_2"] != null)
{
video_2 = (HtmlGenericControl)(context.Session["video_2"]);
video_2.Attributes["autoplay"] = "autoplay";
}
else
{
video_2.Attributes["src"] = @"\audiovideo et audiopanavision\02 terra boina vivi.mp3";
video_2.Attributes["autoplay"] = "autoplay";
context.Session["video_2"] = video_2;
}
}