Hey guys Im having trouble with razor. Basically with youtube. The client does want to enter a youtube video through the rich text editor, but would rather prefer something that a dynamic tool (which in this case I am using Embedded Content by TheFarm)
I have the cshtml working, rendering out all the elements but I need to replace the "/watch?v=" with "/embed/" to make the video show on the web page.
Does any one know how to change the value of a text string with in razor?
Razor changing value in text string
Hey guys Im having trouble with razor. Basically with youtube. The client does want to enter a youtube video through the rich text editor, but would rather prefer something that a dynamic tool (which in this case I am using Embedded Content by TheFarm)
I have the cshtml working, rendering out all the elements but I need to replace the "/watch?v=" with "/embed/" to make the video show on the web page.
Does any one know how to change the value of a text string with in razor?
Regards Paul
Got it working...
is working on a reply...