使用 FCK 编辑器嵌入视频时出现问题

发布于 2024-09-04 08:31:20 字数 1309 浏览 0 评论 0原文

我正在使用 FCK Editor 2.6.4,但在尝试将(非 YouTube)视频嵌入内容区域时遇到问题。

我发现了上一个问题/帖子:

[编辑——作为新用户,我只能在这篇文章中发布一个链接。该帖子的标题是“我可以使用 FCK 编辑器嵌入视频吗?”)

并研究了所有建议的解决方案,但没有一个能正常工作:

1 - 使用控制面板中的“嵌入 Flash”按钮几乎可以工作。但是,我尝试添加的视频包含带有参数的查询字符串,如下所示:

http://static.animoto.com/swf/w.swf?w=swf/vp1&e=1275795594&f=mGQklEgxXKs9vfEIdGnWsA&d=132&m=p&r=w& ;i=m&ct=Homes%20in%20Eagle%20Creek&cu=http://hometoindy.com/eagle-creek-real-estate.php&options=

并在使用 Flash 嵌入工具时,它对所有“&”进行编码字符转换为“&”,从而破坏它们。如果只是为了我,我可以手动将它们更改回来,但是使用此功能的客户将不知道如何执行此操作。

2 -- 我已经安装了 YouTube 视频插件,它对于 YouTube 来说效果很好。但它不能用于嵌入非 YouTube 视频(无论如何,它都会自动将 URL 更改为 YouTube)。

3 -- 我已经安装了 EmbedMovies 插件,但在尝试将视频文件(如上面的文件)添加到页面时,它会抛出 JavaScript 错误。 (SourceForge 上的 EmbedMovies 插件页面说它已针对 FCK Editor 2.6 进行了更新,但它不起作用。)

4 -- 直接粘贴到编辑器窗口(当然)不起作用。我能够完成这项工作的唯一方法是粘贴到“源”面板中,对于不熟悉 HTML 的客户来说这不是一个好的选择。

那么,是否有一个好的、可用的 FCK 编辑器插件可以让我快速轻松地将上面的视频嵌入到内容区域中?我不需要能够在编辑器窗口中查看或预览它;我只需要它在前端加载页面时工作。

谢谢!

I am using FCK Editor 2.6.4 and having problems trying to embed a (non-YouTube) video into a content area.

I found this previous question / post:

[EDIT -- as a new user, I am only able to post one link in this post. The post in question is titled, "Can I embed video using FCK Editor?")

and have investigated all of the proposed solutions, but none of them work properly:

1 -- Using the "Embed Flash" button in the control panel almost works. However, the video I am attempting to add contains a querystring with parameters, like this:

http://static.animoto.com/swf/w.swf?w=swf/vp1&e=1275795594&f=mGQklEgxXKs9vfEIdGnWsA&d=132&m=p&r=w&i=m&ct=Homes%20in%20Eagle%20Creek&cu=http://hometoindy.com/eagle-creek-real-estate.php&options=

and in using the Flash embed tool, it encodes all of the "&" characters to "& amp;", thus breaking them. If it were just for me, I could manually change them back, but clients who use this will not know how to do that.

2 -- I have installed the YouTube video plugin, and it works great... for YouTube. But it cannot be used to embed non-YouTube videos (it automatically changes the URL to YouTube, no matter what).

3 -- I have installed the EmbedMovies plugin, but it throws a javascript error when attempting to add a video file (such as the above) to a page. (The EmbedMovies plugin page on SourceForge says it has been updated for FCK Editor 2.6, but it does not work.)

4 -- Pasting directly into the editor window (of course) does not work. The only way I've been able to make this work is by pasting into the Source panel, and this is not a good option for clients who are not familiar with HTML.

So, is there a good, working plugin for FCK editor that will allow me to quickly and easily embed a video such as the one above into a content area? I don't need to be able to see or preview it in the editor window; I just need it to work when the page is loaded on the front end.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

风铃鹿 2024-09-11 08:31:20

鉴于您发现的问题以及缺乏答案,很可能您想要的插件不存在。

如果您的视频实际上来自一个(尽管非标准)来源,我只能重复我的建议 该主题 - 编写您自己的插件。我在那里链接了我编写的插件代码,应该很容易更改它以满足您的需求。

Given the question you found, and scarcity of answers to that, chances are that the plugin you want does not exist.

If your videos are actually from one, though non-standard, source, I can only repeat my advice from that topic - write your own plugin. I have code of plugin I wrote linked there, it should be easy to change it to accomodate your needs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文