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

I updated my original post first. Getting to know Perl Monks forum. Anyway here is the you tube link.

<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/Pij6J0HsYFA&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Pij6J0HsYFA&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>

Thanks for replying

Replies are listed 'Best First'.
Re^3: Displaying Youtube Video
by marto (Cardinal) on Jun 11, 2010 at 12:32 UTC

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

      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>

      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>

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

      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?