tag:blogger.com,1999:blog-8980734269859237005.post2154864833018168888..comments2024-01-30T01:03:21.768-08:00Comments on DevCurry: Play Videos in ASP.NET MVC & HTML5 using Custom ActionResultSuprotim Agarwalhttp://www.blogger.com/profile/08349831623922214390noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-8980734269859237005.post-41106343355796012082017-02-05T22:43:09.548-08:002017-02-05T22:43:09.548-08:00Hi There. You have set a static path of the file. ...Hi There. You have set a static path of the file. But how to set a dynamic path. Anonymoushttps://www.blogger.com/profile/06876953858822118312noreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-81562691159024765722013-12-17T09:42:24.196-08:002013-12-17T09:42:24.196-08:00Thank you for the article. It's strange, I'...Thank you for the article. It's strange, I've repeated all the steps you described, and I can download stream as a file, as described on Step 4, but the video player itself doesn't play the stream, says, Incorrect source. Maybe someone had already faced the same issue. What could be the problem? I can't think of any logical reason.Anonymoushttps://www.blogger.com/profile/04175535145806597446noreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-81543942340567571702013-07-23T05:23:56.975-07:002013-07-23T05:23:56.975-07:00Hi, can you help me, its work perfectly on ie, saf...Hi, can you help me, its work perfectly on ie, safari, firefox but not on a ipad..Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-1390838783810696072013-07-19T16:25:55.829-07:002013-07-19T16:25:55.829-07:00@Thomasz Thanks for that link!@Thomasz Thanks for that link!Suprotim Agarwalhttps://www.blogger.com/profile/08349831623922214390noreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-23219061004548201032013-07-19T09:59:09.644-07:002013-07-19T09:59:09.644-07:00The above solution doesn't provide full suppor...The above solution doesn't provide full support for HTML5 video (for example dynamic seeking or prefetching) as it requires support for Range Requests on the server side. You can read more on how to provide such support in ActionResult here: http://tpeczek.blogspot.co.uk/2011/10/range-requests-in-aspnet-mvc.htmlTomasz Pęczekhttps://www.blogger.com/profile/16607090360669791660noreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-44458289382414501952013-06-19T06:57:59.593-07:002013-06-19T06:57:59.593-07:00I've found the solution!
VLC plugin wasn'...I've found the solution!<br /><br />VLC plugin wasn't playing the video because it hadn't Authorization to execute the method (the web browser can access because user is logged in, but vlc player has not credentials).<br /><br />The trick is mark the method to allow anonymous access via "[AllowAnonymousAttribute]".Javiernoreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-70793655761823718662013-06-19T06:14:46.481-07:002013-06-19T06:14:46.481-07:00Javier - Does this help
http://www.devcurry.com/2...Javier - Does this help <br /><a href="http://www.devcurry.com/2011/12/convert-html-5-video-formats.html" rel="nofollow">http://www.devcurry.com/2011/12/convert-html-5-video-formats.html</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-54071407851476866872013-06-19T05:35:10.556-07:002013-06-19T05:35:10.556-07:00Rectify, using the correct MIME type for each form...Rectify, using the correct MIME type for each format when serving the video, vlc plugin launches, but the video doesn't play.<br /><br />You can see the Correct MIME types here: <a href="http://www.encoding.com/correct_mime_types_for_serving_video_files" rel="nofollow">http://www.encoding.com/correct_mime_types_for_serving_video_files</a><br /><br />I keep searching for the mistake.Javiernoreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-14079408389728503432013-06-19T04:41:44.150-07:002013-06-19T04:41:44.150-07:00This method won't work with non html5 compatib...This method won't work with non html5 compatible videos (html5 only supports ogg, mp4 and webm formats (see <a href="http://www.w3schools.com/html/html5_video.asp" rel="nofollow">this link</a>)<br /><br />Do you know how to play videos in other formats, like wmv or avi?<br />I'm trying to get a behavior similar to accessing directly to the video url (http://localhost/video.avi). This Javiernoreply@blogger.comtag:blogger.com,1999:blog-8980734269859237005.post-22810502247782777402013-05-17T11:36:45.083-07:002013-05-17T11:36:45.083-07:00Awesome, you made my day!! I needed to stream a vi...Awesome, you made my day!! I needed to stream a video from a file that is somewhere on the harddisk and not below inetpub. Yyour solution made it possible, THANKS!Anonymousnoreply@blogger.com