javascript not working

A multipurpose module, plugin and component

javascript not working

New postby [email protected] » Fri Sep 02, 2011 7:09 am

I'm trying to use Jumi with Joomla 1.6 in an article. It works just fine like this:
<html>
<head>
<script src="../flowplayer/example/flowplayer-3.2.6.min.js"></script>
</head>
<body>
<a href="http://myfile.flv"
style="display:block;width:425px;height:300px;"
id="player"></a>

<script language="JavaScript">
flowplayer("player", "../flowplayer/flowplayer-3.2.7.swf");
</script>
</body>
</html>

But if I add this line to the head:
<script src="http://api.simile-widgets.org/timeline/2.3.1/timeline-api.js?bundle=true" type="text/javascript"></script>
It doesn't work (it throws this error: Error: Failed to derive URL prefix for Timeline API code files" and doesn't load the javascript). This error comes from the simile timeline java script. But since it works outside Joomla I'm hoping someone can help me here.
[email protected]
 
Posts: 1
Joined: Fri Sep 02, 2011 6:55 am

Return to Jumi

Who is online

Users browsing this forum: No registered users and 1 guest

cron