if (!defined("IN_FUSION")) { die("Access Denied"); }
$text = preg_replace('#\[wmv\](.*?)\[/wmv\]#si', '<embed src='1' flashvars='gcode=482CD697' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/' width='400' height='350' autostart='1' showcontrols='1' CONTROLS='ImageWindow' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0'></embed>', $text);
Quote
Afaaro wrote:
I have tried it in this wayCode Download source
if (!defined("IN_FUSION")) { die("Access Denied"); }
$text = preg_replace('#\[wmv\](.*?)\[/wmv\]#si', '<embed src='1' flashvars='gcode=482CD697' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/' width='400' height='350' autostart='1' showcontrols='1' CONTROLS='ImageWindow' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0'></embed>', $text);
but its not working, A blank page comes up
if (!defined("IN_FUSION")) { die("Access Denied"); }
$text = preg_replace("#\[wmv\](.*?)\[/wmv\]#si", "<embed src='\1' flashvars='gcode=482CD697' type='application/x-mplayer2' pluginspage='http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/' width='400' height='350' autostart='1' showcontrols='1' CONTROLS='ImageWindow' showstatusbar='1' showdisplay='0' autorewind='0' enablecontextmenu='0'></embed>", $text);
Category Forum
Content Administration - 8Labels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions