I am having trouble setting the source of a Media Player to a asp.net webforms HTTP Handler.
I am wondering if anyone can tell me if it is possible to hook up the MediaPlayer to a HTTP Handler.
Example Code is
I am wondering if anyone can tell me if it is possible to hook up the MediaPlayer to a HTTP Handler.
Example Code is
videoPlayer.Source = String.Format("localhost:1099\<Project>.Video.ashx?FileLocation={1}", "Video.mp4")Dim sources As String() = {"Video1.mp4", "Video2.mp4"}For Each source As String In sources If Not String.IsNullOrEmpty(source) Then Dim videoSources As New MediaPlayerSource() videoSources.Path = String.Format("localhost:1099\<Project>.Video.ashx?FileLocation={1}", source) videoPlayer.Sources.Add(videoSources) End IfNext