Open vcvcvcvcvcvcv opened 6 years ago
兄弟,你倒是帮我们复制一下外嵌代码,然后把代码贴一下啊
<embed id='v_player_cctv' width='670' height='500' flashvars='adCalls=http%3A//galaxy.bjcathay.com/s%3Fz%3Dcathay%26c%3D265%26op%3D1%26_page_group%3Ddianbo%26_subsite%3Dtvcctv%26_CHANNEL%3DPAGEpQpNjJyNZw2KOa5HtJjQ160120%26_sorts%3D%26_tvcctvpindao%3DCHAL1450953121759377%26_shipinji%3D%7B%21@%23%7Dhttp%3A//galaxy.bjcathay.com/s%3Fz%3Dcathay%26c%3D266%26op%3D1%26_page_group%3Ddianbo%26_subsite%3Dtvcctv%26_CHANNEL%3DPAGEpQpNjJyNZw2KOa5HtJjQ160120%26_sorts%3D%26_tvcctvpindao%3DCHAL1450953121759377%26_shipinji%3D%7B%21@%23%7Dhttp%3A//galaxy.bjcathay.com/s%3Fz%3Dcathay%26c%3D267%26op%3D1%26_page_group%3Ddianbo%26_subsite%3Dtvcctv%26_CHANNEL%3DPAGEpQpNjJyNZw2KOa5HtJjQ160120%26_sorts%3D%26_tvcctvpindao%3DCHAL1450953121759377%26_shipinji%3D%7B%21@%23%7Dhttp%3A//galaxy.bjcathay.com/s%3Fz%3Dcathay%26c%3D268%26op%3D1%26_page_group%3Ddianbo%26_subsite%3Dtvcctv%26_CHANNEL%3DPAGEpQpNjJyNZw2KOa5HtJjQ160120%26_sorts%3D%26_tvcctvpindao%3DCHAL1450953121759377%26_shipinji%3D%7B%21@%23%7Dhttp%3A//galaxy.bjcathay.com/s%3Fz%3Dcathay%26c%3D269%26op%3D1%26_page_group%3Ddianbo%26_subsite%3Dtvcctv%26_CHANNEL%3DPAGEpQpNjJyNZw2KOa5HtJjQ160120%26_sorts%3D%26_tvcctvpindao%3DCHAL1450953121759377%26_shipinji%3D%7B%21@%23%7Dhttp%3A//galaxy.bjcathay.com/s%3Fz%3Dcathay%26c%3D270%26op%3D1%26_page_group%3Ddianbo%26_subsite%3Dtvcctv%26_CHANNEL%3DPAGEpQpNjJyNZw2KOa5HtJjQ160120%26_sorts%3D%26_tvcctvpindao%3DCHAL1450953121759377%26_shipinji%3D&adAfter=http%3A//galaxy.bjcathay.com/s%3Fz%3Dcathay%26c%3D271%26op%3D1%26_page_group%3Ddianbo%26_subsite%3Dtvcctv%26_CHANNEL%3DPAGEpQpNjJyNZw2KOa5HtJjQ160120%26_sorts%3D%26_tvcctvpindao%3DCHAL1450953121759377%26_shipinji%3D&adPause=http%3A//galaxy.bjcathay.com/s%3Fz%3Dcathay%26c%3D274%26op%3D1%26_page_group%3Ddianbo%26_subsite%3Dtvcctv%26_CHANNEL%3DPAGEpQpNjJyNZw2KOa5HtJjQ160120%26_sorts%3D%26_tvcctvpindao%3DCHAL1450953121759377%26_shipinji%3D&adBanner=http%3A//galaxy.bjcathay.com/s%3Fz%3Dcathay%26c%3D276%26op%3D1%26_page_group%3Ddianbo%26_subsite%3Dtvcctv%26_CHANNEL%3DPAGEpQpNjJyNZw2KOa5HtJjQ160120%26_sorts%3D%26_tvcctvpindao%3DCHAL1450953121759377%26_shipinji%3D&videoId=TkB10a6je8VcMsT9xc3180601&filePath=/flvxml/2009/10/14/&isAutoPlay=true&url=http://tv.cctv.com/2018/06/01/VIDEqTkB10a6je8VcMsT9xc3180601.shtml&tai=news&configPath=http://js.player.cntv.cn/xml/config/outside.xml&widgetsConfig=http://js.player.cntv.cn/xml/widgetsConfig/common.xml&languageConfig=&hour24DataURL=VodCycleData.xml&outsideChannelId=channelBugu&videoCenterId=5daacdc8ebf94ba8a7b984d0325f1ca7' allowscriptaccess='always' allowfullscreen='true' menu='false' quality='best' bgcolor='#000000' name='v_player_cctv' src='http://player.cntv.cn/standard/cntvOutSidePlayer.swf' type='application/x-shockwave-flash' lk_mediaid='lk_juiceapp_mediaPopup_1257416656250' lk_media='yes'/>
外嵌代码
外嵌代码(pc):
我们测试了一下,直接把这段代码放到任意的HTML页面中,是无法播放的,页面显示空白
是不是央视的外嵌代码本身有问题?
不是,用其他如八哥、帝国、织梦、CmsEasy、POSCMS等几十个系统都测试过,只有SiteServer CMS不能使用央视的外嵌代码实现在线播放。
直接把代码放到html里面显示空白,你试试
其实这个和CMS没关系,只需要把代码放到模板里面就可以,如果希望后台能够管理,就新增一个字段,把代码放到字段里面再用标签调取出来就可以
所有在线模板均测试无效,均无法实现央视视频转贴! 天迈亲子网http://moban.download.siteserver.cn/V3/T_qinzi.zip 天天健康网http://moban.download.siteserver.cn/V3/T_365jiankang.zip 三亚旅游http://moban.download.siteserver.cn/V3/T_lvyouw.zip 狼猫魅力http://moban.download.siteserver.cn/V3/T_langmao.zip 唯美惠http://moban.download.siteserver.cn/V3/T_wmh.zip 网站展示平台http://moban.download.siteserver.cn/V2/T_wzmb.zip 中安类风湿骨关节病专科医院 http://moban.download.siteserver.cn/V3/T_zhongan.zip 复旦大学网络学院http://moban.download.siteserver.cn/V3/T_fdwy2.zip 干细胞信息网http://moban.download.siteserver.cn/V3/T_ganxb.zip 时尚资讯http://moban.download.siteserver.cn/V3/T_ssfs.zip 邯郸县粮食局http://moban.download.siteserver.cn/V3/T_lsj.zip 学院招生就业信息网http://2012.moban.siteserver.cn/xyzsjyxxw 生活时尚网http://moban.download.siteserver.cn/V3/T_itslife.zip 中国爱情大学站http://moban.download.siteserver.cn/V3/T_lovecollege.zip 社会保障局http://moban.download.siteserver.cn/V3/T_bzj.zip 医院http://moban.download.siteserver.cn/V3/T_hospital.zip 美莱整形医院http://moban.download.siteserver.cn/V3/T_meilai.zip 十八大专题网http://moban.download.siteserver.cn/V3/T_18da.zip 潮流资讯http://moban.download.siteserver.cn/V3/T_clqx.zip 内蒙古云计算协会http://moban.download.siteserver.cn/V3/T_yun.zip 开心软件http://moban.download.siteserver.cn/V2/T_kaixinruanjian.zip 百色都市新闻http://moban.download.siteserver.cn/V2/T_baisedushi.zip 石家庄打折网http://moban.download.siteserver.cn/V2/T_sjzdazhe.zip 明星网http://moban.download.siteserver.cn/V2/T_mingxingwang.zip 优惠网http://moban.download.siteserver.cn/V2/T_youhui.zip 女性网http://moban.download.siteserver.cn/V2/T_jwnvxingwang.zip 变色猫白领门户网http://moban.download.siteserver.cn/V2/T_biansemao.zip 广西民族大学就业网http://moban.download.siteserver.cn/V2/T_gxmzdx.zip 中医健康网http://moban.download.siteserver.cn/V2/T_zyjkw.zip 蓝鲸游戏门户网站(tongtian)http://moban.download.siteserver.cn/V2/T_ljyx.zip 303神经医院http://moban.download.siteserver.cn/V2/T_sjyy.zip 恒涛房地产网站http://moban.download.siteserver.cn/V2/T_hengtao.zip 省钱网http://moban.download.siteserver.cn/V2/T_shengqian.zip 读书网http://moban.download.siteserver.cn/V2/T_dushu.zip 中国特产网http://moban.download.siteserver.cn/V2/T_techan.zip 伊思整形http://moban.download.siteserver.cn/V2/T_yisizx.zip 通道政府门户网http://moban.download.siteserver.cn/V2/T_zgtd.zip 郎溪县中医院http://moban.download.siteserver.cn/V2/T_lxxzyy.zip 时尚资讯网http://moban.download.siteserver.cn/V1/T_shishang.zip 时尚前沿http://moban.download.siteserver.cn/V1/T_SSWL.zip 爱美网http://moban.download.siteserver.cn/V1/T_aimei.zip 百合网http://moban.download.siteserver.cn/V1/T_baihe.zip 粉红网http://moban.download.siteserver.cn/V1/T_fhw.zip 乡村花园http://moban.download.siteserver.cn/V1/T_xchy.zip
用下面的方法https://wenku.baidu.com/view/276daf66aeaad1f347933f42.html也无法实现央视视频转贴并播放!
视频获取地址:http://tv.cctv.com/2018/06/01/VIDEqTkB10a6je8VcMsT9xc3180601.shtml 视频获取方式:打开http://tv.cctv.com/2018/06/01/VIDEqTkB10a6je8VcMsT9xc3180601.shtml,在视频上点击分享, 复制外嵌代码(PC) 发布方式:文章发布页面选择《源代码》