Welcome to Geeklog, Anonymous Monday, May 12 2025 @ 06:06 pm EDT
Geeklog Forums
Flash Player - Html Code Prob!!! Help Me Pls
Techzone
Anonymous
Hi everyone, I want to play streaming flash videos in my Story Pgae. I added some html tags in Config.php. I cann't view any flash videos also the flash video controller wasn't showing up.
Here is The Code For Flash Video #
<!-- begin embedded Flash file... -->
<table border='0' cellpadding='0' align="left">
<tr><td>
<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0'
width="320" height="240">
<param name='movie' value="Filename.swf">
<param name='quality' value="high">
<param name='bgcolor' value='#FFFFFF'>
<param name='loop' value="true">
<EMBED src="Filename.swf" quality='high' bgcolor='#FFFFFF' width="320"
height="240" loop="true" type='application/x-shockwave-flash'
pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>
</EMBED>
</OBJECT>
</td></tr>
<!-- ...end embedded Flash file -->
</table>
My Config.php #
$_CONF['user_html'] = array (
'p' => array(),
'b' => array(),
'i' => array(),
'a' => array('href' => 1, 'title' => 1),
'em' => array(),
'br' => array(),
'tt' => array(),
'hr' => array(),
'li' => array(),
'ol' => array(),
'ul' => array(),
'code' => array(),
'pre' => array(),
'object' => array(),
'embed' => array('src' => 1),
'src' => array(),
'width' => array(),
'height' => array(),
'autoplay' => array(),
'controller' => array('src' => 1),
'loop' => array(),
'param' => array(),
'Name' => array(),
'classid' => array(),
'value' => array(),
'center' => array(),
'type' => array()
);
/* This is a list of HTML tags that Admins (site admin and story admins) can
* use in their posts. It will be merged with the above list of user-allowable
* tags ($_CONF['user_html']). You can also add tags that have already been
* listed for the user-allowed HTML, so as to allow admins to use more
* attributes (see 'p' for an example).
*/
$_CONF['admin_html'] = array (
'p' => array('class' => 1, 'id' => 1, 'align' => 1),
'div' => array('class' => 1, 'id' => 1),
'span' => array('class' => 1, 'id' => 1),
'table' => array('class' => 1, 'id' => 1, 'width' => 1, 'border' => 1,
'cellspacing' => 1, 'cellpadding' => 1),
'tr' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1),
'th' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1,
'colspan' => 1, 'rowspan' => 1),
'td' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1,
'colspan' => 1, 'rowspan' => 1),
);
Please help me. Thanks
Here is The Code For Flash Video #
Text Formatted Code
<!-- begin embedded Flash file... -->
<table border='0' cellpadding='0' align="left">
<tr><td>
<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0'
width="320" height="240">
<param name='movie' value="Filename.swf">
<param name='quality' value="high">
<param name='bgcolor' value='#FFFFFF'>
<param name='loop' value="true">
<EMBED src="Filename.swf" quality='high' bgcolor='#FFFFFF' width="320"
height="240" loop="true" type='application/x-shockwave-flash'
pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>
</EMBED>
</OBJECT>
</td></tr>
<!-- ...end embedded Flash file -->
</table>
My Config.php #
$_CONF['user_html'] = array (
'p' => array(),
'b' => array(),
'i' => array(),
'a' => array('href' => 1, 'title' => 1),
'em' => array(),
'br' => array(),
'tt' => array(),
'hr' => array(),
'li' => array(),
'ol' => array(),
'ul' => array(),
'code' => array(),
'pre' => array(),
'object' => array(),
'embed' => array('src' => 1),
'src' => array(),
'width' => array(),
'height' => array(),
'autoplay' => array(),
'controller' => array('src' => 1),
'loop' => array(),
'param' => array(),
'Name' => array(),
'classid' => array(),
'value' => array(),
'center' => array(),
'type' => array()
);
/* This is a list of HTML tags that Admins (site admin and story admins) can
* use in their posts. It will be merged with the above list of user-allowable
* tags ($_CONF['user_html']). You can also add tags that have already been
* listed for the user-allowed HTML, so as to allow admins to use more
* attributes (see 'p' for an example).
*/
$_CONF['admin_html'] = array (
'p' => array('class' => 1, 'id' => 1, 'align' => 1),
'div' => array('class' => 1, 'id' => 1),
'span' => array('class' => 1, 'id' => 1),
'table' => array('class' => 1, 'id' => 1, 'width' => 1, 'border' => 1,
'cellspacing' => 1, 'cellpadding' => 1),
'tr' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1),
'th' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1,
'colspan' => 1, 'rowspan' => 1),
'td' => array('class' => 1, 'id' => 1, 'align' => 1, 'valign' => 1,
'colspan' => 1, 'rowspan' => 1),
);
Please help me. Thanks
13
30
Quote
Status: offline
eyecravedvd
Forum User
Full Member
Registered: 06/09/03
Posts: 152
It's because you're calling it all wrong for example you don't call everything that's inside a value such as param the way you are... you'd do
'param' => array('name'=>1, ' value'=>1),
'object' => array('classid'=>1, 'codebase'=>1, 'width'=>1, 'height'=>1),
ect...ect...
Shane | www.EyeCraveDVD.com
Text Formatted Code
'param' => array('name'=>1, ' value'=>1),
'object' => array('classid'=>1, 'codebase'=>1, 'width'=>1, 'height'=>1),
ect...ect...
Shane | www.EyeCraveDVD.com
13
12
Quote
Techzone
Anonymous
Thank you very much for your help. Now I can play flash or Mov streaming videos But problem is video controller isn't working. No controller showing up for the video.
I am useing this Code For Stream Mov File - Controller doesn't work. Do you know any other html codes for better streaming quicktime or flash player?
I am going to start a Video Blog. So streaming video is very important for me.
<table border='0' cellpadding='0' align="left">
<!-- begin video window... -->
<tr><td>
<OBJECT classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width="320"
height="255" codebase='http://www.apple.com/qtactivex/qtplugin.cab'>
<param name='src' value="http://servername/path/to/media.file">
<param name='autoplay' value="true">
<param name='controller' value="true">
<param name='loop' value="true">
<EMBED src="http://servername/path/to/media.file" width="320" height="255" autoplay="true"
controller="true" loop="true" pluginspage='http://www.apple.com/quicktime/download/'>
</EMBED>
</OBJECT>
</td></tr>
<!-- ...end embedded QuickTime file -->
</table>
Thank again for your help.
I am useing this Code For Stream Mov File - Controller doesn't work. Do you know any other html codes for better streaming quicktime or flash player?
I am going to start a Video Blog. So streaming video is very important for me.
Text Formatted Code
<!-- begin embedded QuickTime file... --><table border='0' cellpadding='0' align="left">
<!-- begin video window... -->
<tr><td>
<OBJECT classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width="320"
height="255" codebase='http://www.apple.com/qtactivex/qtplugin.cab'>
<param name='src' value="http://servername/path/to/media.file">
<param name='autoplay' value="true">
<param name='controller' value="true">
<param name='loop' value="true">
<EMBED src="http://servername/path/to/media.file" width="320" height="255" autoplay="true"
controller="true" loop="true" pluginspage='http://www.apple.com/quicktime/download/'>
</EMBED>
</OBJECT>
</td></tr>
<!-- ...end embedded QuickTime file -->
</table>
Thank again for your help.
9
12
Quote
ted
Anonymous
increase your height in order to reveal the controller
11
14
Quote
TechZone
Anonymous
Thanks for your reply. I tried that but didn't worked. Tried quicktime stream ... I can see the video but no controller. Something is missing in the code. Do you know any other flash player code I can Use? Thanks.
11
12
Quote
Status: offline
eyecravedvd
Forum User
Full Member
Registered: 06/09/03
Posts: 152
You need to add 16px to the height for the controller. If it's not showing up double check your config file to make sure all the options are there. I had it working with issues on my site.
Shane | www.EyeCraveDVD.com
Shane | www.EyeCraveDVD.com
9
12
Quote
All times are EDT. The time is now 06:06 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