in reply to Re^2: Displaying Youtube Video
in thread Displaying Youtube Video (Resolved)

Don't worry about it, welcome to the Monastery. Could you post what the result of <div>$vidlect</div> displays?

Replies are listed 'Best First'.
Re^4: Displaying Youtube Video
by Tsalagi_4 (Initiate) on Jun 11, 2010 at 13:13 UTC

    Here is what is getting stored and output

    <div><object width=&quot;480&quot; height=&quot;385&quot;><param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/Pij6J0HsYFA&hl=en_US&fs=1&&quot;></param><param name=&quot;allowFullScreen&quot; value=&quot;true&quot;></param><param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;></param><embed src=&quot;http://www.youtube.com/v/Pij6J0HsYFA&hl=en_US&fs=1&&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;480&quot; height=&quot;385&quot;></embed></object></div>
Re^4: Displaying Youtube Video
by Tsalagi_4 (Initiate) on Jun 11, 2010 at 14:01 UTC

    I don't think it posted my reply correctly. I can't see it. Here it is the output again.

    <div><object width=&quot;480&quot; height=&quot;385&quot;><param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/Pij6J0HsYFA&hl=en_US&fs=1&&quot;></param><param name=&quot;allowFullScreen&quot; value=&quot;true&quot;></param><param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;></param><embed src=&quot;http://www.youtube.com/v/Pij6J0HsYFA&hl=en_US&fs=1&&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;480&quot; height=&quot;385&quot;></embed></object></div>
Re^4: Displaying Youtube Video
by Tsalagi_4 (Initiate) on Jun 11, 2010 at 19:31 UTC

    I have used both the <c> and <code> code wrappers.

Re^4: Displaying Youtube Video
by Tsalagi_4 (Initiate) on Jun 11, 2010 at 15:52 UTC

    I don't think the forum likes me posting the code that is returned because it looks like a link to a youtube video. What are my other options please?