body onload
October 8, 2014 12:00 AM
Does anyone know of anywhere in Lectora to insert a body onload command? Here is the text:
I'm trying to put a custom video player via swfobject together within HTML Object but it doesn't want to load.
Discussion (3)
1. Add an action in Lectora: "On Page Show -> Run JavaScript"
2. Enter createVideoPlayer('video') as the command to run
Your command will run as soon as Lectora renders the page.
@ssneg 61947 wrote:
1. Add an action in Lectora: "On Page Show -> Run JavaScript"2. Enter createVideoPlayer('video') as the command to run
Your command will run as soon as Lectora renders the page.
Thanks for your help.
For some reason it still won't load. I've got all the media/image files loaded in the html object but it still shows as a black box on the html rendered page.
Can anyone pinpoint something wrong in the code I've used (for Workshop Player):
If you see a black rectangle, then probably your swf has loaded and cannot find the movie. Make sure that it is available.
1. Look in the publish folder. Is it there? Is it located where it should be?
2. In browser, see error console. Any errors? Any network requests to files that couldn't be found?
Discussions have been disabled for this post