Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

已自己解决 管理尽快修复

[复制链接]
薛梓晔 发表于 2012-11-1 23:54:30 | 显示全部楼层 |阅读模式
本帖最后由 薛梓晔 于 2012-11-2 06:21 编辑

https://discuz.dismall.com/thread-3143465-1-1.html  

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
 楼主| 薛梓晔 发表于 2012-11-1 23:56:25 | 显示全部楼层
source\function\function_blog.php  这个文件 有这么一段



function blog_flash($swf_url, $type='') {
        $width = '520';
        $height = '390';
        preg_match("/((https?){1}:\/\/|www\.)[^\[\"']+/i", $swf_url, $matches);
        $swf_url = $matches[0];
        if ($type == 'media') {
                $html = '<object classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6" width="'.$width.'" height="'.$height.'">
                        <param name="autostart" value="0">
                        <param name="url" value="'.$swf_url.'">
                        <embed autostart="false" src="'.$swf_url.'" type="video/x-ms-wmv" width="'.$width.'" height="'.$height.'" controls="imagewindow" console="cons"></embed>
                        </object>';





修改为  




function blog_flash($swf_url, $type='') {
        $width = '520';
        $height = '390';
        if ($type == 'media') {
                $html = '<object classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6" width="'.$width.'"

height="'.$height.'">
                        <param name="autostart" value="1">
                        <param name="url" value="'.$swf_url.'">
                        <embed autostart="false" src="'.$swf_url.'" type="video/x-ms-wmv" width="'.$width.'"

height="'.$height.'" controls="imagewindow" console="cons"></embed>
                        </object>';



回复

使用道具 举报

m.king 发表于 2012-11-2 11:17:35 | 显示全部楼层
问题已经收到 感谢您的反馈!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-3-1 11:41 , Processed in 0.026301 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表