2011-01-10, 02:29 AM
Hello Everyone
I want to make this MyCode possible that if a user uploads a file using the attachment system in MyBB and then place the code (eg [attachment=150]) in the [vid] tag that it will then be embedded.
The code I'm currently using:
Is this possible and if I'm doing something wrong, please assist.
Many thanks
I want to make this MyCode possible that if a user uploads a file using the attachment system in MyBB and then place the code (eg [attachment=150]) in the [vid] tag that it will then be embedded.
The code I'm currently using:
<object><embed src="http://www.mydomain.com/player.swf" width='530' height='350' bgcolor="#ffffff" allowscriptaccess='always' allowfullscreen='true' flashvars='file=$1'</embed></object>
Is this possible and if I'm doing something wrong, please assist.
Many thanks