Embedding a swf on a wordpress page

六眼飞鱼酱① 提交于 2019-12-20 07:08:12

问题


I'm trying to embed a .swf into a wordpress page. This sounds simple, but it isn't working and I cannot fathom out why. I've uploaded all the relevant files onto the server, and I'm fairly sure all the filepaths are correct. The folder containing the .fla and .swf files also contained an index.html file, which I have put into a template. I've tried putting the supplied code into the HTML on the page, I've tried simply using said template, and the best I'm getting is a blank area which doesn't load the flash content.

Could anyone suggest what I might have done wrong? Unfortunately I can't paste the code into here as it's full of javascript.


回答1:


You should us swfObject Plugin : http://wordpress.org/extend/plugins/wp-swfobject/




回答2:


There are actually so many ways to do that. However one of the easist way (not safest way tho, just my opinion) is using html table and use embedded code.

Remember, I would like to mention again that this is not the safest way!!! But , yes its easy!

First of all, just go to this site (you can use any other site which also creates you an embedded code as well) and then just follow the screen shots,

First

second

third

fourth

fifth

sixth is the last one

I hope this will help.



来源:https://stackoverflow.com/questions/4204265/embedding-a-swf-on-a-wordpress-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!