Hi Folks,
I'm trying to use the module creator in DNN to create a module to display video content.
My module is mostly working, however, on page load, my flash object is not visible until I click on the area the SWF should be.
In my code behind, I'm registering jquery; DotNetNuke.Framework.jQuery.RequestRegistration();
On my control, I have a div that should display flowplayer on page load.
<%@ Control Language="C#" AutoEventWireup="false" Inherits="NetroMedia.SecurePlay.View" CodeFile="View.ascx.cs" %>
<div id="flowplayer" style="height:480px;width:640px;" runat="server">
<script>
jQuery(function() {
console.log('player loading....');
flowplayer(// Flowplayer config redacted)
});
</script>
</div>
I should add, my console.log() is firing quite happily on page load, but I don't see the SWF object until I click in the area it should be.
Can anyone shed any light?