2 questions about videoplayer.xml

  • Hi everyone!

    Recently I was adopting 'videoplayer.xml' for my needs and I've got 2 questions about its code:

    1) 'videoplayer_plugin_ready' action has

    Code
    set(events[videoplayer_events].onresize, videoplayer_plugin_resize() );

    line, but I don't see any events (static code) in the xmls of the example, so I guess that it's also possible to create events dynamicallly by 'set();'. Is that correct?


    2) 'videoplayer_close"' action has a line with

    Code
    set(events.[videoplayer_events].name, null);

    with the excessive dot before the first name bracket, I guess it's a typo. (or is that some 'special' kind of name reference?).


    Thanks for clarifications))

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!