论文部分内容阅读
随着移动互联网不断发展,已经有越来越多的学习者喜欢在网页中即能实现对搜到的听力学习资料(mp3+LRC)进行同步播放的方式,因而如何解决在网页中同步播放(mp3+LRC)学习资料就成为各大外语学习网站一个亟待解决的问题。基于此,笔者提出了一种在网页中播放mp3文件同时呈现LRC文本字幕的方法,该方法首先利用HTML+CSS将听力学习资料(mp3+LRC)嵌入到网页中,然后利用JAVASCEIPT技术对LRC文本字幕进行同步控制,从而实现语音和LRC文本字幕的同步播放。由于使用了开源的HTML+CSS+JAVASCRIPT技术,因此该方法具有通用性强、易推广、使用简单等优点。
With the continuous development of the mobile Internet, more and more learners like to synchronize the learning of the learning materials (mp3 + LRC) on the webpage, and therefore, how to solve the problem of synchronously playing mp3 + LRC) learning materials has become a major foreign language learning site a problem to be solved. Based on this, the author proposes a method for playing mp3 files in web pages while presenting LRC text subtitles. The method first embeds listening learning materials (mp3 + LRC) into web pages by using HTML + CSS, and then uses JAVASCEIPT technology to make LRC text Subtitles for synchronization control, so as to achieve simultaneous playback of voice and LRC text subtitles. Due to the use of open source HTML + CSS + JAVASCRIPT technology, this method has the advantages of universality, easy to promote, easy to use and so on.