|
|
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
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
Class Library for HTML 5 controls for ASP.NET MVC
| Type | Article |
| Licence | CPOL |
| First Posted | 6 Aug 2011 |
| Views | 67,781 |
| Downloads | 4,812 |
| Bookmarked | 127 times |
|
|