c:\Websites\Veet2013Q1\Source\Veet.Web\macroScripts\635106768182547052_review_video.cshtml(17): error CS0117: 'umbraco.item' does not contain a definition for 'HasProperty'
I don´t think at lightbox can contain youtube videos.
But I found an alternative to the lightbox, Fancybox http://fancyapps.com/fancybox/#examples. Fancybox should be able to contain youtube video. I haven´t used fancybox myself on any projects jet.
Youtube video through macro
Hello guys...
I have to insert a youtube video through a macro..The utube id(11 digited) will be provided as a textstring by the user. any help will do a lot
Let's say that the property name of the textstring is "videoId" so you can do something like this:
Error occured
c:\Websites\Veet2013Q1\Source\Veet.Web\macroScripts\635106768182547052_review_video.cshtml(17): error CS0117: 'umbraco.item' does not contain a definition for 'HasProperty'
any other suggestions
Hi Adity.A,
You could try this one, and see if you have more luck with this code.
/Dennis
PERFECTTTTTTTTTTTTTTTT that worked like a magic.....
also can u tell me how to get the lightbox effect when we we paly the video with a resolution of 400 X 200
Sorry I should have changed "item" to "@Model"
I don´t think at lightbox can contain youtube videos.
But I found an alternative to the lightbox, Fancybox http://fancyapps.com/fancybox/#examples. Fancybox should be able to contain youtube video. I haven´t used fancybox myself on any projects jet.
/Dennis
And Adity.A remember to mark the post as solved so others can go straight to the solution if they come across the same problem.
/Dennis
Hello dennis thank you..very much for your quick and accurare suggestion..It helped me a lot.
im sorry may be i have asked the questtion wrong. The youtube video is now in the size 121X73 pix.
now when ever someone play the video i want the video to be played in an enlarged size like 730 X 325. so it it possible if so
thank u in advace for letting me know
is working on a reply...