1

Topic: How to change the default tab of the media plugin?

At the moment the media system tinymce uses defaults to a URL which I find isn't that helpful as most people will be grabbing the embed code video systems provide. So I want to make it so that when you open the media dialog it switches to the embed tab.

I have half got this working by changing the order of the tabs around, but if you try switching tabs you will see it bugs out. I'm wondering if there is a way to make it trigger the second tab on, without having to switch them around, and therefore avoid the bug my attempt has caused.

http://fiddle.tinymce.com/CLeaab/1