I used the following to allow users to use BBCode to display YouTube videos:
Tag: yt
Replacement:
This didn't work, displaying only a white space where the video should be. I checked the page source and this is what it gave me:
Notice the <br />'s that were inserted? Not sure why it would do this. It displays properly in the Admin CP, however. Any ideas?
Tag: yt
Replacement:
HTML Code:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{param}"></param><embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
HTML Code:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/ <br /> Mz5ds5hV2HU<br /> "></param><embed src="http://www.youtube.com/v/ <br /> Mz5ds5hV2HU<br /> " type="application/x-shockwave-flash" width="425" height="350"></embed></object></div>
Comment