If you look at https://test.iteechu.org/reflib/vsfembed.htmI even go further – that page embeds both en_bcv_parser and you.js directly in the page.
I
was trying to make an “all in one” page that I could put in moodle and
see if the script were actually part of the lesson if it would make the
transfer over to mobile before I invested time into learning how to
write a mobile module. But our installs of moodle will not let me
copy/paste the contents of this linked page – they throw errors about
writing to the database, size, and all kinds of crap.
Any ideas,
gentlemen? This is not a large page – total lines are a few hundred
even with the scripts and it is only about 250K (should not be tripping
mysql block limits or things like that). The scripts DO use UTF-8
special characters to display stuff for hindi and other 3 and 4-byte
languages but MySQL is using UTF8MB4-Unicode for the moodle database
just for that reason.
I’m having a GRRRR moment because Moodle’s
design choices are just making this absolutely miserable. I know lots
of people use javascript heavily to control look and feel of their
content. We are NOT the only ones using javascript within courses. How
in the world do they do it?
This is not me but a developer I'm working with.