ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down.
Read our Farewell Blog Post for more details.
so far I have tried by putting the two .js files in the scripts folder and adding the following into a custom module.
<div id="myplayer">the player will be placed here</div>
<script type="text/javascript">
var elm = document.getElementById("myplayer");
var src = '/jw/embed/wmvplayer.xaml';
var cfg = {
file:'/videos/myvideo.wmv',
width:'320',
height:'180'
};
var ply = new jeroenwijering.Player(elm,src,cfg);
</script>
Im not sure if i need to add this anywhere as i thought joomla auto loaded any js files in the scripts folder.