Moodle 的视频插件

发布于 2024-07-17 00:56:33 字数 134 浏览 3 评论 0原文

目前我们使用的moodle没有视频插件。我已经为moodle开发了一个视频插件。我想将该插件添加到我们机构正在使用的Moodle软件中。我我是开源新手。 如何包含插件。我该如何进行集成,以便下次使用moodle时能够使用视频插件。该插件是用php编写的

currently the moodle that we are using doesn't have a video plug-in.i have developed a video plug-in for moodle.I would like to add the plug-in to the Moodle software that is being used in our institution.I am new to open source. How to include the plug-in .how do i go about with the integration ,so that i am able to use the video plug-in next time i use moodle.the plug-in has been written in php

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

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

发布评论

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

评论(5

花开浅夏 2024-07-24 00:56:33

以下是 Moodle 开发新模块的官方文档:
http://docs.moodle.org/en/newmodule

从建议的开始template (download.moodle.org/plugins19/mod/NEWMODULE.zip) 来包装您的代码。

您可以随时查看 Kaltura.com 的视频插件代码 (http://www.kaltura.org/kaltura-moodle-plugin-installation-guide)并了解如何在 Moodle 中实现视频。 一般来说。

Here is Moodle's official Documentation for developing a new Module:
http://docs.moodle.org/en/newmodule

start with the suggested template (download.moodle.org/plugins19/mod/NEWMODULE.zip) to wrap your code with.

You can always look inside Kaltura.com's video plugin code (http://www.kaltura.org/kaltura-moodle-plugin-installation-guide) and see how video can be implemented into Moodle. in general.

与君绝 2024-07-24 00:56:33

感谢您的帮助。
我们完全按照您的建议进行了尝试,但没有成功。这是我们得到的响应...

模块 devtp: C:\wamp\www\moodle/mod/devtp/version.php 不可读

,其中“devtp” ' 是我们要添加的插件目录的名称。

您是否认为我们错过了为我们的插件包含任何相关文件,或者是因为我们需要包含一些可以使插件与当前版本的 MOODLE 兼容的文件。 我们的 Moodle 版本是 1.9。

等待你的回复。

thank you for the help.
we tried exactlty what you suggested,but it didnt work out .this is the response that we are getting...

Module devtp: C:\wamp\www\moodle/mod/devtp/version.php was not readable

where,'devtp' is the name of the plug-in directory that we would like to add.

do you think we have missed out on including any related files for our plug-in or is it bcoz we need to include some files that can make the plug-in COMPATIBLE with the current version of MOODLE. Our Moodle VERSION is 1.9.

Awaiting your response.

你在看孤独的风景 2024-07-24 00:56:33

将插件安装到 Moodle 中就像将它们复制到 /mod/ 目录一样简单。 SQL 表将被写入和更新。

然后您应该能够在下次登录时看到该模块。

编辑:

检查该文件夹和文件的权限是否正确。 检查文件 version.php 是否存在且正确(检查其他模块以了解其完成方式)。 还要检查目录结构是否正确。

如果一切都失败了,我会检查一些与您类似的其他模块并模仿他们的设置过程

编辑2:

我无法为您提供更多帮助。 对不起。

Installing plugins into moodle is as simple as copying them to the /mod/ directory. SQL tables will be written and updated.

Then you should be able to see this module on the next login.

EDIT:

Check if the permissions for that folder and files are correct. Check if the file version.php exists and is correct (check other modules to see how its done). Check if the directory structure is correct also.

If all else fails, I would check out some other modules that are similar to yours and mimic their setup procedure

EDIT 2:

There's not much more i can assist you with. I am sorry.

独留℉清风醉 2024-07-24 00:56:33

我们现在包含了 version.php 文件,因此出现了错误
“模块 devtp: C:\wamp\www\moodle/mod/devtp/version.php 不可读”不再出现。 感谢您的帮助。
但是,我们的模块仍然没有包含在 Moodle 的通知中。我们向 MOODLE 网站寻求帮助,
http://docs.moodle.org/en/Installing_contributed_modules_or_plugins"
并按照说明进行操作:
// 访问您的本地 Moodle 站点 http://localhost:8888/moodle19/

站点管理
通知
滚动到页面底部并单击“继续”//

但事实是,我们的模块既没有出现在通知下,也没有继续出现。

等待你的回复...

we now included the version.php file and thus the error
"Module devtp: C:\wamp\www\moodle/mod/devtp/version.php was not readable" is no longer coming. thank you for the help.
But still,our module has not been included under notifications in Moodle.We consulted the MOODLE site for help,
"http://docs.moodle.org/en/Installing_contributed_modules_or_plugins"
and followed the instruction:
// Visit your Local Moodle site http://localhost:8888/moodle19/

Site Administration
Notifications
Scroll to the bottom of the page and click on "Continue"//

but the fact is that ,neither is our module appearing under notifications and nor is continue coming.

Awaiting your response...

岁月如刀 2024-07-24 00:56:33

将视频添加到 Moodle 课程的一个简单方法(如果您不想创建或投资插件)是在 Moodle 课程中创建一个新的“页面”类型资源。

在该页面的 HTML 代码中添加用于嵌入视频的代码。
视频可以托管在 youtube 或您自己的 CDN 上。 对于自己的 CDN,您可能必须使用 video.js

A simple way to add video to a moodle course (if you dont want to create or invest in plugin) is to create a new 'page' type resource in moodle course.

In HTML code of that page add code for embedding a video.
Video can be hosted on youtube or your own CDN. For own CDN you may have to use video.js

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