public ActionResult LoadPlayer(long?bcid) { var token = bcid != null?_widgetUserServices.GetVideoRenditions((long)bcid) : new VideoInfoToken { IsValid = false, Message = "BcId required" }; return(PartialView("Item/_ViewerPlayer", token)); }
public ActionResult GetPlayer(long?id) { if (id == null) { return(Content("<h3>Id required</h3>")); } var token = _widgetUserServices.GetVideoRenditions((long)id); return(PartialView("Quiz/_Player", token)); }