.wmv player not working

Posted by blackessej on Stack Overflow See other posts from Stack Overflow or by blackessej
Published on 2010-05-06T23:13:10Z Indexed on 2010/05/06 23:18 UTC
Read the original article Hit count: 258

Filed under:
|
|

So...I've got an embedded object that looks like this:

         <div id="vid">
            <script type="text/javascript">
            var cnt = document.getElementById("vid");
            var src = 'wmvplayer.xaml';
            var cfg = {
                file:'images/photostory.wmv',
                height:'240',
                width:'360',
                windowless:'true'
                };
            var ply = new jeroenwijering.Player(cnt,src,cfg);
            so1.addParam('allowfullscreen','true');
            so1.addParam('allowscriptaccess','always');
            so1.addVariable('file','images/photostory.wmv');
            so1.write('vid');
            </script>
        </div>

..with all the right scripts in the head and everything. The player loads just fine, all the functionality is there, but the video just wont play. It seems like it starts to, but nah...

Thanks, in advance, for any help.

© Stack Overflow or respective owner

Related posts about wmv

Related posts about silverlight-2.0