I'm using the awesome Universal Picker with the youtube datatype to show a list of videos, I can get the Id and datatypeid no problems, but not the name/title of the video chosen.
The var @Model.MyVideo brings back DynamicXml.
I can get the video id with:
id = XDocument.Parse(Model.MyVideo.ToXml()).Element("value").Value;
Get data from Universal Picker
I'm using the awesome Universal Picker with the youtube datatype to show a list of videos, I can get the Id and datatypeid no problems, but not the name/title of the video chosen.
The var @Model.MyVideo brings back DynamicXml.
I can get the video id with:
but for the title:
Do not work.
I was thinking this would access the other data, but not sure how it operates:
Thanks.
Hi Pete
Try having a look at the examples from this post http://our.umbraco.org/forum/developers/razor/27409-Consume-an-RSS-feed-in-Razor I think you should be able to achieve your goal with one of these examples.
Hope this helps.
/Jan
is working on a reply...