|
|
Comments and Discussions
|
|
 |

|
You got my 5, since it is a good piece of work, but I ahve some comments:
- As input elements are used in MVC in conjunction with input models, I am really missing all the other overloads, that input renderers have in MVC library, especially those with ...For.
- An inconvenience is the usage: @Html.Html5().andsoon. The convention about these helpers functions is that they are extension methods. You break this convention. If you want to avoid conflicts with future official html5 support, I think you better use your on namespace, rather than extend the legacy one, and introduce an uncommon element in the notation.
- As you mentioned, html5 introduced the several semantic elements and the custom support element also. It would be useful to have such helper also (like MvcForm and FormExtension), ex: @using (Html.Element("nav")) {..., or even specialized, templatabable elements for nav, section or others
- And I am really interested why you needed those interfaces. I suggest you consult the source of ASP.NET MVC a little bit, and see what conventions they used.
But all these don't make your work less appreciable. Keep up the good work! I am really interested in future updates.
|
|
|
|

|
Excellent! Thanks for sharing this article!
|
|
|
|
|
|

|
Excellent article and code!
Thanks for sharing.
|
|
|
|

|
Good one
|
|
|
|

|
I think it's too bad that there is no MVC code example demonstrating HTML 5, I would like to play HTML 5 video, but so far reading this article has not enabled me to do that. If the author had provided a downloadable ASP.NET MVC project demonstrating HTML 5 it would have been much better!
|
|
|
|

|
Just wondering - what happens if you follow author's instructions? That is download and add the library and put @Html.Html5().Media.Video("video1","~/videofile1.mp4","Browser does not support", true, true, true) into your code? If that doesn't work for you, I doubt that a downloadable ASP.NET MVC project demonstrating HTML 5 will be of much help.
|
|
|
|

|
Hi Virshu
I actually think I have followed the authors instructions, still I see no video in my MVC project. I have asked for help on this thread:
http://forums.asp.net/t/1713086.aspx/1?How+to+play+HTML+5+Video+in+MVC+3+
|
|
|
|

|
Rune,
It seems that you misunderstood what this library does. It gives you APIs to generate HTML5 tags (for example video) Whether your browser is capable of interpreting video tag, or playing this particular type of video - is a completely different question.
Take a look at the generated tag. Is that what you expect (I assume that you know what to expect). If the tag is correct - you are barking at the wrong tree, so to speak!
Good luck. I know troubleshooting can be frustrating at times; especially when you realize that you are fixing the component that wasn't broken in the first place
|
|
|
|

|
hi guys,
Soon i will be posting a demo MVC application showing the implementation of the class library.
K.S. Prakash
|
|
|
|

|
Sorry K. S. Prakash
I am just an absolute HTML 5 newbie, and don't know much.
I was now able to render a video with your code in Firefox but I needed to install the h.264 plugin for Firefox in order to do so.
So it seems like my problems lies in whether the browser is capable of interpreting the video tag.
I still haven't been able to render the HTML 5 video in IE9.
Apparently with HTML 5, such concerns needs to be addressed. I just had no idea that this was the case.
Proberly most people here know this, I just don't. So from my perspective an interesting and vital information, lacking in the article, is of course, how do you make your browser render the HTML 5?
modified on Thursday, August 25, 2011 9:11 AM
|
|
|
|

|
I would think that as an absolute HTML 5 newbie, and who doesn't know much you come here to learn. So before grading the teacher as "1" you make absolutely sure that you are not going to embarrass yourself!
Granted - I have two children in school; and they reject that idea - but I hope once they grow up they will know better.
NOTE: I don't know the author, and have absolutely no personal stake in how he is rated.
|
|
|
|

|
Hi Virshu
Yes it's true, I guess I have embarrased myself.
After I got the author's code to work in Firefox, I actually wanted to edit my vote, because I wanted to give more than 1. But I couldn't figure out how to edit my vote, if it is possible? Is it possible? Alternatively I can give a new 5 vote to weigh up my 1 vote. Or maybe delete my 1 vote? I am not that experienced with how this site works?
Apparently this HTML 5 thing is kind of complex browser wise, at least the code which I have seen working in Firefox, the same code I have never been able to render in IE9. Those kind of complexities are new to me. It could be interesting to know how I get the authors code working in IE9?
I have now deleted my 1-vote message, and added a new 5-vote which gives a more true reflection of my opinion of the article.
|
|
|
|
|

|
Thank you Mr. K.S. Prakash I will look at the code example
|
|
|
|

|
Is there any possibility you make this available as a NuGet (http://nuget.org/[^]) package? This would be awesome
|
|
|
|

|
BUT it would be great to add a little more to your article and give a sample website !!!!
Bill
http://www.GeminiGroupTV.com
|
|
|
|
|

|
I looked at the code. It's nicely documented. A lot of effort went into it. Thanks for a great article and nice library.
Nigel
|
|
|
|

|
Is this built on top of modernizr?
|
|
|
|

|
very good tutorial...
Maulik Dusara
Sr. Sofware Engineer
I love it when a plan comes together
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
|
Class Library for HTML 5 controls for ASP.NET MVC
| Type | Article |
| Licence | CPOL |
| First Posted | 6 Aug 2011 |
| Views | 67,689 |
| Downloads | 4,805 |
| Bookmarked | 127 times |
|
|