PennController for IBEX › Forums › Support › Embedding HTML › Reply To: Embedding HTML
January 19, 2021 at 2:30 pm
#6529

Participant
Hi Jeremy,
Thanks for your help! Even in the new folder my HTML doc is still throwing up errors, including “Expected an identifier and instead saw “<“” and “Missing “;” before statement”, which makes me think it’s still not expecting HTML. And when I try to run the experiment, it just skips over the trial with the embedded html. Any idea why this is happening? Thanks again!
Here’s my code btw. I’m still pretty new to PCIbex, so there might just be an obvious error somewhere.
HTML doc
<!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body> <iframe src="https://i.simmer.io/@DawsonHarwood/~1a8230be-98ad-ef2b-1f39-89d288ba7f0b" style="width:960px;height:600px"> </iframe> </body> </html>
Trial syntax
newTrial( newHtml("test", "test.html", getHtml("test") ) )