Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Anyway to post YouTube videos without using BBCode?
blizeH
✭✭
^ :-)
They suddenly stopped working and I've never been able to embed them since
They suddenly stopped working and I've never been able to embed them since
0
This discussion has been closed.
Comments
Just tried using HTML formatter (I've been using it for ages actually, but an old version) and I've not had any luck, I tried adding the following code:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/GNLDLyeepVs"></param><param name="wmode" value="transparent"></param> <embed src="http://www.youtube.com/v/GNLDLyeepVs" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
And it doesn't show up anything at all
function VideoLink($Matches) { $Type = strtolower(trim($Matches[2])); $ID = $Matches[3]; switch($Type) { case 'google' : return ('<embed style="width: 400px; height: 326px;" id="VideoPlayback" '. 'type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId='.$ID.'"></embed>'); case 'youtube' : return ('<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/'.$ID.'"></param>'. '<embed src="http://www.youtube.com/v/'.$ID.'" type="application/x-shockwave-flash" width="425" height="350"></embed>'. '</object>'); default : return $Matches[0]; } }
Any idea what to do with that?
<video type="youtube">GNLDLyeepVs</video>
No luck
Am kinda tempted just to allow the embed tag, but if I can get it working like this ^ that'd be good too I guess, and a lot more secure :-)
Edit: Nm, just seen you've updated it, cheers!
I've just set this: define('HTML_VIDEO_TAG', 1);
But still no luck getting that above video code working
Edit: in fact, every single post formatted as HTML is b0rked
Of all the times to clear my recycle bin!
Still not having any luck posting YouTube videos though for some reason, can you confirm this is correct please?
<video type="youtube">GNLDLyeepVs</video>
You're a bloody legend, was just about to have a go at it myself, glad I checked here first! Thanks!
Edit:
<video type="myspace">1853735795</video>
Is this correct?