Question about VideoPlayer's skin VideoPlayerSkin - flex4

When I add a VideoPlayer control to my flex project, I didn't assign a skinclass to it. So, how does flashbuilder apply the VideoPlayerSkin.mxml to VideoPlayer?
Thanks for your reply.

If I understand your question correctly, inside your skin class, VideoPlayerSkin.mxml, you need the following:
<fx:Metadata>[HostComponent("components.VideoPlayer")]</fx:Metadata>

Related

angular material mat-button loses styling when I use [className]

I need to add a custom class to my mat-buttons. This class will be used by an automated testing tool. But when I add [className]="QA_myclass", I lose all material styling. How can get around this? Anyone know?
Answering my own question here. Use [ngClass] instead of [className].

How to add SPAN class and Style to selected Text in CKEditor 5?

I have developed new Plugin 'Small Caps' in CKEditor5. Basically, it should add span class or style as {'font-variant': 'small-caps'}.
I am trying with different editor methods, however, I am not able to find anything which can fulfill my requirement.
Does anyone know how can I achieve this? Do I need to make custom command class? Which API would add span attribute with css class or styleset?
We've created a plugin for this purpose:
https://github.com/HCESrl/ckeditor5-small-caps
I hope it helps!

Ask for OJS theme footer

Really thank you for pointing as he could not add themewas activated. I would like to ask your opinion if you know how I add a footnote to the style of this website:http://www.methaodos.org/revista-methaodos/index.php/methaodos
My question is, there are modules that you create thisfootnote? Or on the contrary they should be within thetemplate theme?
Thanks again beforehand.
I don't know, if I understand your question correctly. If you would like to add a footnote to your OJS, you can co to /index.php/ip/manager/setup/5. There is an option for this.

set CKeditor config.stylesSet for specific editor

I have added a styles list with the config.styleSet.add function and now i can add this style list to the CKeditor with the config.stylSet function, but i can't find anything in the manual about how to implement that to a specific editor.
Any ideas?
Thanks!
Sorry that was a dumb question. the simple answer is:
Add stylesSet: 'stylesName'
To that editor configs.
The reason i didn't success with that is that i was mistakenly writing "styleSet" instead of "stylesSet" :~

Fancybox 2 multiple titles

I am aware already of how to use data-caption as caption for my fancybox, and it's working fine.
My question is, is it possible to use both "over" and "float" with two separate content in them? Currently i data-tag the float type but I'd like to have an "over" version as well with added data.
I guess since fancybox defaults to one titletype, it might not be possible easily?
Here is a pic of what i try to achieve: https://www.dropbox.com/s/mafoo1chfy9s54f/sample.jpg?dl=0
Thanks, appreciated!
Yep, the beforeload callback was doable.

Resources