Highlight and read section by using Javascript
تبليغيرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.
1- I need help creating a code.
2- The app has 18 readers (each reader has csv file), and 114 texts ( each text has csv file)
3- Each reader has csv file :1soundlinks.csv, 2soundlinks.csv,…,18soundlinks.csv to indicates start-stop times for each reader. So, for each reader has to read 114 texts files.
1soundlinks.csv has three columns:
column 1, column2, column3, column4
Text#, Audio file, Link of Audio, the points of times
text1، 110401.mp3 , Link of Audio(In Google Drive) , the points of times (highlight)
text2، 110402.mp3 , Link of Audio(In Google Drive) , the points of times (highlight)
text3 ، 110403.mp3 , Link of Audio(In Google Drive) , the points of times (highlight)
https://drive.google.com/drive/folders/1aWtwj5OxYfYzxa6mgmEH75WpwaHADHW_?usp=sharing
Here are only 2 texts of 114 texts
1.csv means text number wich is the first text 1
This link for 1.csv
https://docs.google.com/spreadsheets/d/1igSCZEPs0yC6wRfq-_y5hFh2T6OlYBtek-saRtfDhZQ/edit?usp=sharing
114.csv means text number 114 wich is the last text 114
This the link for 114.csv
https://docs.google.com/spreadsheets/d/1NMp30H8vTCSsFwPQvd6iImP_ZF3eMWkV7aVb9KmQJkg/edit?usp=sharing
These text csv files have two columns
column1, column2.
No of line, sentence
1,sentence1
4- The app will take a csv file of lines of text (in arabic), with a corresponding audio file (there are 114.csv files for texts and 17 csv sound files), and display the lines of the csv file. The user can then play the audio file, and the respective lines will be highlighted, or the user can select a line and that line will be played back, and then continue playback from there. The user should be able to select any csv file (and corresponding audio file) and the user may also select a different audio file for the same csv.
5- I have quite a few display and formatting requirements for the arabic text and the layout
6- I want to highlight a line / section of text in html. By set tags e.g. id, to each section of text I wish to highlight, then run a javascript function to apply the highlight to that identified section of text. Then I would need to pass the selected text position back to the app in order to play the relevant sound
7- I have all the assets – csv, timings, audio files, arabic fonts, that I believe are required. These are currently located on google drive, along with files that help to synchronise the text and audio.
8- There is significant history on the community for many parts of this work already
This is the .apk
https://drive.google.com/file/d/1RvSM5F4-azcDTo6UqvID1tfDHCwLv0aK/view?usp=sharing
أضف إجابة