TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
611
127.1k
Video Upload in mvc with IFORM file.
Sep 11 2020 12:14 PM
I have successfully upload video save in server and database in .net core mvc. But I have face an issue video are not playing in webbrowser(All Browser). It's my HTML code
@foreach (
var
item
in
Model.lst_MainCategoriesData)
{
<tr
class
=
"Search"
>
<td>@{ Srno++; } @Srno </td>
<td>
<div
class
=
"video-frame"
>
<video id=
"videoplayer"
controls width=
"200"
height=
"140"
src=
"@Url.Content("
http:
//nbpbaseballadmin.harishparas.com/UploadVideo/" +item.CategoryVideo)" loop />
@*Url.Content(
"~/ControllerName/ActionName/"
+ x);*@
</div>
</td>
<td>@Html.DisplayFor(x => item.CategoryName)</td>
<td>
@*<button id=
"@item.CategoryId"
class
=
"btn btn-danger btndelete"
><i
class
=
"fa fa-trash"
></i> Delete</button>*@
<button type=
"submit"
class
=
"btn btn-danger btndelete"
onclick=
"confirmDelete(@item.CategoryId)"
id=
"@item.CategoryId"
><i
class
=
"fa fa-trash"
></i> Delete</button>
</td>
</tr>
}
Reply
Answers (
1
)
I want a method that tells me the text length is same as Compared text
Null Value face error in mvc.