Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

w3c validation for flash content

Asked Modified Viewed 2,114 times
A
amra
A
amra 10
[m]
  • Junior Member, joined since
  • Contributed 27 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
asked
Junior Member

with the current version I have no succes validate a page with flash content.
Here's a replacement that validate correctly and works with all current browsers...
look fo the original in maincore and replace with this

      $text = preg_replace('#\[flash=([0-9]*?)\:([0-9]*?)\](.*?)(\.swf)\[/flash\]#si', '<object type=\'application/x-shockwave-flash\' id=\'flash\' width=\'\1\' height=\'\2\' data=\'\3\4\'><param name=movie value=\'\3\4\'><param name=\'quality\' value=\'high\'><param name=\'bgcolor\' value=\'#ffffff\'></object>', $text);


have fun...:D
Edited by amra on 12-03-2006 06:37,
0 replies
There are no post found.

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 0 posts
  • Votes 0 votes
  • Topic users 1 member

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet