Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以添加播放音频得功能么? #16

Open
coconuca opened this issue Nov 23, 2024 · 8 comments
Open

可以添加播放音频得功能么? #16

coconuca opened this issue Nov 23, 2024 · 8 comments

Comments

@coconuca
Copy link

可以添加播放音频得功能么?以下是我整理得模板代码,我尝试将两中代码合并在一块,发现无法使用。

template__音频播放样式.zip
界面

@coconuca
Copy link
Author

Can I add the ability to play audio? The following is the template code I collated. I tried to combine the two codes in one piece and found that it did not work.

@ikkz
Copy link
Owner

ikkz commented Nov 23, 2024

具体是尝试和哪个模板(basic/mcq)合并?

由于实现的原因,现在下载到的模板代码是编译压缩后的,很难进行二次修改。

@ikkz
Copy link
Owner

ikkz commented Nov 23, 2024

你能说一下你的这个模板具体实现了什么功能吗,也许可以在我的模板中也引入

@coconuca
Copy link
Author

basic/mcq是我见过最好的模板。
1、我是尝试和MCQ合并的。
2、我这个模板主要实现:
①暂停和播放音频,显示音频播放进度条;
②0.5、0.7、1、1.5和2倍速播放以及自定义倍速播放;
③点击勾选框后,会自动播放;
④点击勾选框后,循环播放当前音频。
3、附件是导出的apkg文件,你可以导进去看看。正反面的实现的功能是一样的,整合一起主要实现英语听力选择题的功能。

@coconuca
Copy link
Author

这是我和其他选择题合并的样式

听力题

@ikkz
Copy link
Owner

ikkz commented Nov 23, 2024

看起来能实现,可以作为字段的音视频增强功能,需要一定的时间开发

@coconuca
Copy link
Author

我并不会编程,但我可以阅读修改部分代码,对于basic我添加了一个功能,可以使单词释意的词性高亮,你可以看看效果,希望对你后续更新有所帮助。

basic修改.zip

basic修改后

@coconuca
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants