Youtube BBCode...
Started on the old forum in January 2016 · view the original in the archive · old links redirect here
i can help msg me on skype robhanham
Creator of Epix.Mobi
Keep an Eye on us Big things coming soon!!!! Need something for your site hit me up here http://coding-talk.com/forum/main-forums/marketplace/153110-free-features-for-your-wapsite
Well im still stuck with this code...iv search nearly every site regarding this but i only find the bbcodes for wordpress and other social sites...i tried adding the codes in the wapirate core.php under the bbcode functions but then i get a blank page...can anybody help?
Thanks in Advance...
$text = preg_replace( "/\[ytube\](.*?)\[\/ytube\]/is", "<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/$1\" frameborder=\"0\" allowfullscreen></iframe>", $text );