Answered by:
A plugin is needed to display this content.

Question
-
User1305269461 posted
Hello Sir,
I have to display video in my application but unfortunately an error occurring.
A plugin is needed to display this content, infact video is reached there but playing is a problem.
here is my code below...<div class="videogallery">
<a class="voverlay" href="Content/vdbplayer.swf?volume=100&url=lib/videos/@t.VideoPath" title="bird">
<img src="~/Scripts/img/bird.JPG" />
<span><img src="~/Scripts/img/play-button.png" /></span>
</a>
</div>and i think here because of vdbplayer am facing this error...
please do suggest something and give me a direction to solve this issue.Monday, June 6, 2016 9:29 AM
Answers
-
User-359936451 posted
It looks like you are trying to use a flash player to view a jpg file.
Try a different player. Is this in an ASP page?
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, June 10, 2016 1:47 PM -
User-359936451 posted
I believe Silverlight is the player for use with Razor.
try this link
http://www.asp.net/web-pages/overview/ui-layouts-and-themes/10-working-with-video
MIME Types
When a browser downloads a file, the browser makes sure that the file type matches the MIME type that's specified for the document that's being rendered. The MIME type is the content type or media type of a file. The
Video
helper uses the following MIME types:application/x-shockwave-flash
application/x-mplayer2
application/x-silverlight-2
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, June 15, 2016 6:35 PM -
User-359936451 posted
Also check out this link...
https://msdn.microsoft.com/en-us/library/cc189089(v=vs.95).aspx
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, June 15, 2016 6:57 PM
All replies
-
User-359936451 posted
It looks like you are trying to use a flash player to view a jpg file.
Try a different player. Is this in an ASP page?
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Friday, June 10, 2016 1:47 PM -
User1305269461 posted
Thanks march11...!
this is Razor view page... and here @videopath is accessing a video file.
what do you think should i try another player?Monday, June 13, 2016 7:44 AM -
User-359936451 posted
I believe Silverlight is the player for use with Razor.
try this link
http://www.asp.net/web-pages/overview/ui-layouts-and-themes/10-working-with-video
MIME Types
When a browser downloads a file, the browser makes sure that the file type matches the MIME type that's specified for the document that's being rendered. The MIME type is the content type or media type of a file. The
Video
helper uses the following MIME types:application/x-shockwave-flash
application/x-mplayer2
application/x-silverlight-2
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, June 15, 2016 6:35 PM -
User-359936451 posted
Also check out this link...
https://msdn.microsoft.com/en-us/library/cc189089(v=vs.95).aspx
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, June 15, 2016 6:57 PM -
User1305269461 posted
Thanks march11
Friday, June 17, 2016 10:36 AM