bobbie
03-09-2006, 08:28 PM
I'm working with that one and want to embed a realplayer in the page and I have that working but I wanted to beable to add a ram url with the input to html .
This is what it has:-- SET VARIABLE FOR THE Input.GetText action
--myTitle = Input.GetText("Input_Title");
myBody = Input.GetText("Input_Body");
-- SET HTML CODES INTO A VARIABLE NAMED AS stringHTML. ALSO PUT THE 2 VARIABLES ABOVE INTO THE CODES.
stringHTML = "<HTML><HEAD><TITLE>MY WEB</TITLE><HEAD><BODY>\r\n";
--stringHTML = stringHTML.."<CENTER><FONT SIZE=\"5\"><B>"..myTitle.."</B></FONT><BR><BR>\r\n";
stringHTML = stringHTML.."<FONT SIZE=\"3\">"..myBody.."</FONT>\r\n";
stringHTML = stringHTML.."</BODY></HTML>";
-- WRITE AN HTML FILE INTO YOUR AUTOPLAY DOCS -- IT WILL BE THERE UNTIL YOU CLICK CLEAR
TextFile.WriteFromString("AUTOPLAY\\DOCS\\myInput.html", stringHTML, false);
-- LOAD THE NEWLY CREATED HTML FILE INTO THE WEB OBJECT
Web.LoadURL("Web1", _SourceFolder.."\\AUTOPLAY\\DOCS\\myInput.html");
And I want it to input in to this ::
<embed src="..myBody.." type="audio/x-pn-realaudio-plugin"
name="video" console="Clip1" autostart="false" controls="ImageWindow" border="0"
width="460" height="380" align="center"></embed><br>
<embed src="..myBody.." type="audio/x-pn-realaudio-plugin"
name="video" console="Clip1"autostart="true" controls="ControlPanel" border="0"
width="176" height="30" align="center"></embed>
But I can't seem to get it to work right ?
This is what it has:-- SET VARIABLE FOR THE Input.GetText action
--myTitle = Input.GetText("Input_Title");
myBody = Input.GetText("Input_Body");
-- SET HTML CODES INTO A VARIABLE NAMED AS stringHTML. ALSO PUT THE 2 VARIABLES ABOVE INTO THE CODES.
stringHTML = "<HTML><HEAD><TITLE>MY WEB</TITLE><HEAD><BODY>\r\n";
--stringHTML = stringHTML.."<CENTER><FONT SIZE=\"5\"><B>"..myTitle.."</B></FONT><BR><BR>\r\n";
stringHTML = stringHTML.."<FONT SIZE=\"3\">"..myBody.."</FONT>\r\n";
stringHTML = stringHTML.."</BODY></HTML>";
-- WRITE AN HTML FILE INTO YOUR AUTOPLAY DOCS -- IT WILL BE THERE UNTIL YOU CLICK CLEAR
TextFile.WriteFromString("AUTOPLAY\\DOCS\\myInput.html", stringHTML, false);
-- LOAD THE NEWLY CREATED HTML FILE INTO THE WEB OBJECT
Web.LoadURL("Web1", _SourceFolder.."\\AUTOPLAY\\DOCS\\myInput.html");
And I want it to input in to this ::
<embed src="..myBody.." type="audio/x-pn-realaudio-plugin"
name="video" console="Clip1" autostart="false" controls="ImageWindow" border="0"
width="460" height="380" align="center"></embed><br>
<embed src="..myBody.." type="audio/x-pn-realaudio-plugin"
name="video" console="Clip1"autostart="true" controls="ControlPanel" border="0"
width="176" height="30" align="center"></embed>
But I can't seem to get it to work right ?