I have been trying (and failing) to embed the following script into a raw HTML box. It will not display no matter what I do. I had it working (but I forget how) to users on a PC or a laptop, but it would error badly on phones and tablets. So I tried to fix it by embedding it in a raw HTML block so those users could use it as well. It doesn’t work and I have trawled the forums looking for a solution, but the information is bits and pieces scattered all over the place and not a coherent solution.
Any help is appreciated.
<div id=”fTelnetContainer” class=”fTelnetContainer”></div>
<script>document.write(‘<script src=”//embed-v2.ftelnet.ca/js/ftelnet-loader.norip.xfer.js?v=’ + (new Date()).getTime() + ‘”><\/script>’);</script>
<script>
var Options = new fTelnetOptions();
Options.BareLFtoCRLF = false;
Options.BitsPerSecond = 57600;
Options.ConnectionType = ‘telnet’;
Options.Emulation = ‘ansi-bbs’;
Options.Enter = ‘\r’;
Options.Font = ‘CP437’;
Options.ForceWss = false;
Options.Hostname = ‘milliways.hopto.me’;
Options.LocalEcho = false;
Options.NegotiateLocalEcho = true;
Options.Port = 23;
Options.ProxyHostname = ‘proxy-us-ga.ftelnet.ca’;
Options.ProxyPort = 80;
Options.ProxyPortSecure = 443;
Options.ScreenColumns = 80;
Options.ScreenRows = 25;
Options.SendLocation = true;
Options.SplashScreen = ‘G1swbRtbMkobW3MbWzE7MzRtV2VsY29tZSB0by4uLiAgICAgICAbWzM1bS4gICAgICAgG1szN20uICAgICAgIBtbNW0uICAgICAgICAbWzA7MTszMm0uICAgICAgICAgICAgIBtbNW0uICAgICAgICAgICAgG1swOzE7MzVtLiAgICAgIBtbMzJt+BtbdQ0KG1swbQ0KIBtbMW0uICAgG1szNm3Jzc3Lzc27ICAgzc3Lzc0gIMsgICAgIMsgICAgIM3Ny83NICDLICAgICAgIMsgICDJzc3NzbsgICDLICAgICDLICAgyc3Nzc27DQogICAgybwgILogIMi7ICAbWzU7MzVtLiAbWzA7MTszNm26ICAgILogICAgILogICAgICAguiAbWzM1bS4gIBtbMzZtuiAgICAgICC6ICDJvCAgICDIuyAguiAgG1szMm0uICAbWzM2bbogICC6DQogICAguiAgILogICC6ICAgILogICAguiAgG1szN20uICAbWzM2bbogIBtbMzJtLiAgICAbWzM2bbogICAguiAgILogICC6ICDMzc3Nzc3NuSAgyM27IMnNvCAgIMjNzc27DQogICAguiAbWzM1bS4gICAgIBtbMzZtuiAgICC6ICAgILogICAgILogICAgICAguiAgICDIuyAguiAgybwgILogICAbWzM3bS4gIBtbMzZtuiAgICDIy7wgICAgICAbWzM1bS4gIBtbMzZtug0KICAgIMogICAgICAgyiAgzc3Kzc0gIMrNzc0gIMrNzc0gIM3Nys3NICAgys3Nys3NyiAgIMobWzM0bfggICAgIBtbMzZtyiAgICAgyiAgICAgyM3Nzc28DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBtbNTszN20uDQoNCiAgICAgICAgICAgG1swOzE7MzJtLiAgICAbWzU7MzdtLiAgICAgICAgICAgG1swOzE7MzVtLiAgICAgICAbWzM3bS4gICAgICAgG1szMm0uICAgICAbWzU7MzdtLiAgICAgICAgICAbWzA7MW0uICAgICAgICAgG1szNW0uDQogICAgG1szMm0uICAgICAgICAgICAgICAgIBtbMzdtLg0KG1tzICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBtbMzRt+BtbdQ0KG1swbSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAbWzE7MzJt+CAgICAgICAgICAgICAgICAgICAgIBtbNTszNW0uDQogICAgICAgICAbWzA7MW0uICAgICAgIC4gICAgICAgICAgG1szNW1UaGUgQkJTIEF0IFRoZSBFbmQgT2YgVGhlIFVuaXZlcnNlISAgICAgICAbWzMybS4NCg0KICAbWzM0bfggICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBtbMzdtLiAgICAgICAgICAgICAuDQogICAgICAgICAgG1s1OzMybS4gICAgICAgICAgICAgICAgICAgICAgICAgICAbWzA7MTszMm0uICAgICAgICAgICAgICAgG1szN20uDQobWzU7MzVtLiAgICAgICAbWzA7MTszNW0uICAgICAgICAgICAgIBtbMzNtLiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgG1szNW0uDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAbWzM3bS4gICAgICAgICAgICAgICAbWzU7MzJtLiAgICAgICAgICAgICAgICAgG1swOzFtLiAgICAgIBtbNW0uDQobWzA7MW1JZiB5b3UgaGF2ZSBhbiBhY2NvdW50IHdpdGggdXMsDQpwbGVhc2UgZW50ZXIgeW91ciBVc2VyLUlELCBpZiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBtbMzJtLg0KG1szN21ub3QsIHRoZW4gcGxlYXNlIGVudGVyICIbWzMybU5ldxtbMzdtIiAbWzM0bS0bWzM1bT4gICAgICAgICAgICAgICAgICAgICAgICAgICAgIBtbMzNt+A0KG1sxQRtbMzBDG1szNm0=’;
var fTelnet = new fTelnetClient(‘fTelnetContainer’, Options);
</script>
-
This topic was modified 5 years by
thezenhippie. Reason: An egregious typo in the title I can't fix
Hello !
Please make sure that your code is correct. As you can see here not even wordpress renders it: https://www.screencast.com/t/vfYvdW5M
Thank you !
Nothing wrong with that code. It works fine in a blank Revolution Slider page. Except that Newspaper throws a hissy fit when I try to edit it with TD Composer on the front end. Also, it is probably the Revolution Slider that is throwing the error on mobile, but as you can see here (if you are using a desktop or laptop) it works fine.
I shouldn’t have to use Revolution just to get a fairly simple embed to display. So, you tell me how to create a completely blank Newspaper page to embed the code on.