2009-01-22, 10:16 PM
Pages: 1 2
2009-01-23, 06:26 PM
(2009-01-19, 06:24 PM)tyke Wrote: [ -> ]Does anybody know how you put youtube vids onto the forum, ive tried using the embed code that is supplied with youtube but i just get the embed code shown. Do i need some special code for the forum or something like that
Regards
Tyke
The best solution is the following plugin:
http://test.edidesign.ro/showthread.php?tid=6
Description: Copy links from your favorite video or audio sharing sites and paste them in your post. No mycode or other modification needed.
Supports over 180 video and audio sites and no bbcode for your users to learn, can't beat that!
Cheers,
Gene
2009-01-23, 06:49 PM
add your own mycode (found in your admin panel)
in expression enter :
and in replace by:
since this code makes an expression of the www/uk/nl for local versions aswell as the video url of youtube. Therefore it works at all youtube localized versions and no plugin needed
in expression enter :
\[youtube\]http:\/\/([^\\[]*).youtube.com\/watch\?v=([^\\[]*)\[/youtube\]
and in replace by:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/$2&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/$2&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
since this code makes an expression of the www/uk/nl for local versions aswell as the video url of youtube. Therefore it works at all youtube localized versions and no plugin needed
2009-01-24, 06:05 PM
(2009-01-23, 06:49 PM)the fox Wrote: [ -> ]...
since this code makes an expression of the www/uk/nl for local versions aswell as the video url of youtube. Therefore it works at all youtube localized versions and no plugin needed
As I said, you can get a lot of the sites (about 200 of them) with only one plugin. And it is working with all the well known ones: YouTube - all the local sites, Google Video, Revver, DailyMotion, and a lot more. Instead of writing MyCode for each and every one, you have to copy two files on your server and activate the plugin.
Embed video and audio files automatically in your post
Enjoy!!!
Pages: 1 2