calling variables in Lectora.
October 9, 2008 12:00 AM
Hey guysI'm currently using the latest version of lectora, and i'm publishing the courses to html to put online. What i want to know is it it's possible to call a variable into an embedded External HTML Object?This is an exmaple of what I currently have.http://www.oqsg.com/testwrap/index3.htmlThe embedded external Html object consists of this:
Get the Flash Player to see this player.
As you can see its just the embed code and the various javascript variables for the flash player. The player has the ability to stream the video from an RTMP server, that is where all the video i want use are stored at (VideoPlayer/***.flv) including the one being viewed "VideoPlayer/303_tool.flv"So i want to just setup a page with the flash player and be able to call a variable into the external html object, where it changes the name of the video it plays. e.g: s1.addParam("flashvars","fullscreen=false&file=rtmp://eiy26o w7rrx.rtmphost.com/VideoPlayer/ 303_tools.flv&autostart=true")to s1.addParam("flashvars","fullscreen=false&file=rtmp://eiy26o w7rrx.rtmphost.com/VideoPlayer/ + Variablename +&autostart=true")I was thinking of using the "On show" action on the various pages to call but it's not definite. If you need further information, please feel free to ask. Thanks for your time. Edited By: sarimah on 2008-10-8 17:1:45Discussions have been disabled for this post