![]() ![]() Var initialIndexOfDelim2 = substringResponseCleaned.indexOf(DELIMETER_2) > -1 ? substringResponseCleaned. Var substringResponseCleanedLength = substringResponseCleaned.length Var substringResponseCleaned = responseCleaned.substring(indexOfDelim1) Var indexOfDelim1 = responseCleaned.indexOf(DELIMETER_1) > -1 ? (responseCleaned.indexOf(DELIMETER_1) DELIMETER_1.length) : 0 Var responseCleanedLength = responseCleaned.length ResponseCleaned = response.replace(/(\r\n|\n|\r)/gm, REPLACE_WITH) ResponseCleaned = response.replace(/(\r\n|\n|\r)/gm,"") Įlse if (LINEBREAK_BEHAVIOR = "Replace") If (LINEBREAK_BEHAVIOR = "Ignore Line Breaks") There are several events for cross browser compatibility. Then bind the event to the callback function. Var script = document.createElement('script') Information contained herein is subject to change without. Var head = document.getElementsByTagName('head') XSplit and XSplit Broadcaster is a registered trademark of Splitmedialabs Limited. * The text to replace line breaks with, if Replace is selected as line break behavior Text will be displayed on single line||Replace = Replace line breaks with a specific character or set of characters * Preserve Line Breaks = Line breaks will be preserved, and text will be wrapped to the next line||Ignore Line Breaks = Line breaks will simply be omitted, and without spacing. ![]() * Preserve Line Breaks||Ignore Line Breaks||Replace If set, the script will check the local file for any changes in text every X seconds, which will automatically update the text within the stage. If not found, script will show the whole text. * The text, which when found signals the end of extracting text. * The text, which when found signals the start of extracting text. Var FILEPATH = "C:\\Stream Control\\streamcontrol.xml" * The path of the file from where the script will extract text Setting it to 0 or lower disables auto-update. Which will automatically update the text within the stage. The script will check the local file for any changes in text every milliseconds If and is not found, Title shows the whole text.Īn optional in milliseconds may also be set to auto-update. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |