Code Change for Admin to Delete Video

Feb 25, 2008 at 8:02 PM
Here is a line of code to change in view.aspx, probably line 100, so that an Administrator sees the Delete Video button as well as the uploader.

if (loggedInUser.ToString() == this.SelectedVideo.Owner.UserId.ToString() || User.IsInRole("Administrator"))