Hi, I'm trying to use your code to spit out the video's thumbnail which is linked. Like, making a custom bbcode for "youtubepop"
Quote:
[youtubepop]JFwCCL0Vh6U[/youtubepop]
|
Code:
<a href="http://www.youtube.com/v/{param}.swf"><img alt="YouTube" src="http://img.youtube.com/vi/
{param}/0.jpg" /></a>
Quote:
Youtube Popup: [youtubepop]YouTube ID[/youtubepop]
|
Which of course works, now trying to do your plugin as such for Fall back code:
Code:
<a href="http://www.youtube.com/watch?v=%1$s">
YouTube Video:<br /><img src="http://img.youtube.com/vi/%1$s/0.jpg" width="240" height="180" alt="Click here to view on youtube" /></a>
Doesn't work. Any suggestions? Doing that example for your own code, still puts out an embedded video... Any thoughts? Or maybe just try the bbcode in there instead of yours? LOL