Welcome to Geeklog, Anonymous Monday, January 06 2025 @ 05:19 pm EST

Geeklog Forums

allowable html for wmv


stevelucky

Anonymous
i'm trying to put this code into a story:

<EMBED type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/windowsmedia/download/"
SRC="http://www.testing.org/testing.wmv"
name="MediaPlayer"
width=320 height=285>
</EMBED>

now, i know that i need to allow the tags in config.php and i've tried to do that with these added lines:

'OBJECT' => array(),
'PARAM' => array(),
'EMBED' => array(),
'EMBED type' => array(),
'width' => array(),
'height' => array(),
'pluginspage' => array(),
'SRC' => array(),
'name' => array(),
'type' => array()

i've researched the hell out of this forum, but i can't find anything that's helping me out. what am i missing, or messing up?
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
try this
Text Formatted Code

    'embed'    => array('type' => 1,
                        'src' => 1,
                        'name' => 1,
                        'width' => 1,
                        'height' => 1,
                        'pluginspage' => 1),
    'param'    => array('name' => 1,
                        'value' => 1,
                        'type' => 1,
                        'id' => 1),
    'object'   => array('classid' => 1,
                        'codetype' => 1,
                        'width' => 1,
                        'height' => 1,
                        'title' => 1)



 

also see faq entry
 Quote

stevelucky

Anonymous
who's the man? you. that's who. you're the man.

yeah, i'd read that faq entry but it just didn't make it clear for me. now, after seeing your code, it makes a lot more sense. thank you so much for your help.
 Quote

All times are EST. The time is now 05:19 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content