摘要
语言类多媒体课件需要使用与音频同步的字幕显示,音频文件分为两种类型:整段音频和单句音频,对整段音频可以采用时间点检查的方式确定当前显示的文字,单句音频可以使用播放控件本身的文件切换事件来确定。通过在HTML环境下使用Media Player控件给出了这两种音频文件同步字幕显示的具体解决方案。
Language multimedia courseware need to use subtite and audio synchronized display, audio files are divided into two types: the whole audio and single sentences audio, The whole can be used right throughout the inspection point in time determine the currently displayed text, Single sentences audio can use a single sentence Play control their own files to switch the event to determine. HTML environment through the use of MediaPlayer control to give these two kinds of audio file simultaneous display of specific solutions.
作者
晏峰
游春元
YAN Feng, YOU Chun-yuan (Jiangxi University of Science and Technology, Nanchang 330013, China)
出处
《电脑知识与技术》
2009年第12期9835-9836,共2页
Computer Knowledge and Technology