supernginx / flowplayer-core

Automatically exported from code.google.com/p/flowplayer-core
0 stars 0 forks source link

skinless controls: reference error #556

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
plugins: {
  controls: {
    url: 'flowplayer.controls-skinless-3.2.11.swf
  }
}

What is the expected output? What do you see instead?
Expect: skinless controlbar
Instead:
[ERROR] time 00:58:05.857 :: 300: Player initialization failed: ReferenceError: 
Error #1065
(anonymous function)

Original issue reported on code.google.com by blacktrashproduct on 17 May 2012 at 12:04

GoogleCodeExporter commented 8 years ago
According to the docs, you need to set a assets swf to load for the controls 
skin when using the skinless controls. 

http://flowplayer.org/demos/skinning/

Ie

plugins: {
                        modern: {
                            url: "buttons_modern.swf",
                            type: "classLibrary"
                        },
                       controls: {
                            url: "../flowplayer.controls-skinless.swf",
                            skin: 'modern'
                        }
                },

The null pointer is caused because the controls plugin is trying to load assets 
that are not available / imported yet. 

Original comment by electrot...@gmail.com on 18 May 2012 at 2:30

GoogleCodeExporter commented 8 years ago
Ah, thanks, I now remember darkly having seen that. Good, when it comes up I 
can point users to: http://flowplayer.org/demos/skinning/index.html#skinless

Closing.

Original comment by blacktrashproduct on 18 May 2012 at 10:16