Results 1 to 5 of 5

Thread: Ckeditor rc1: video bbcode problem

  1. #1

    Default Ckeditor rc1: video bbcode problem

    Using Chrome or Firefox , when I click on the Video icon in CKeditor, nothing happen .

    The background goes blank but no new window with video menu is loading.

    Does anyone else has the same problem?

    Did you know how to solve it?

    Thank you
    Last edited by tintin74; 09-14-2011 at 09:29 AM.

  2. #2


    This is related to the error reported:

    In videotag.js I get this error only in Firefox & Chrome:

    var exampleDialog = function(editor){
    var phrase = editor.config.vbulletin.phrase;

    CKEDITOR.on('dialogDefinition', function(ev){
    var dialogName =;
    var dialogDefinition =;

    if (dialogName == 'videotag')
    var dialog = CKEDITOR.dialog.getCurrent();

    var postData = {
    ajax: 1,
    'do': 'getvideoproviders',
    securitytoken: editor.config.vbulletin.securitytoken

    var responseXML ={
    url: 'ajax.php',
    type: 'POST',
    data: postData,
    async: false,
    dataType: 'xml'

    var dialog_html = '';
    var providers = responseXML.getElementsByTagName('provider');
    videotag.js:28Uncaught TypeError: Cannot call method 'getElementsByTagName' of null
    for (var i = 0; i < providers.length; i++)
    var provider = providers[i];
    var name = provider.getAttribute('provider');
    var url = provider.getAttribute('url');
    dialog_html += '<a target="_blank" href="'+url+'">'+name+'</a>&nbsp;';
    dialogDefinition.getContents('videotag').elements[2].html = dialog_html;

    return {
    title: phrase.insert_video_clip,
    onOk: function(event){
    var url = this.getValueOf('videotag', 'urlInput');
    if (PHP.trim(url) != '')
    editor.insertText('' + url + '');
    onShow: function(){

    minWidth : '300',
    minHeight: '200',
    contents: [{
    id: 'videotag',
    type: 'text',
    id: 'urlInput',
    label: phrase.enter_video_url_below,
    labelLayout: 'vertical'
    type: 'html',
    html: '<div>'+phrase.example_video_url+'</div><br/>' +
    type: 'html',
    id: 'providerslist',
    html: ''

    CKEDITOR.dialog.add('videotag', function(editor) {
    return exampleDialog(editor);


  3. #3


    Does anyone have check this? Does anyone have tried to click on video icon in ckeditor using Chrome or Firefox? What is happen to you?

    Thank you guys

  4. #4
    Join Date
    Oct 2004

  5. #5
    Join Date
    Jan 2004
    Georgia, USA


    Thank you for pointing this out. I've just applied the fix to the dynamics/ajax.php file in the download package here, so if you will download the files again and update that one on your server, that should correct the issue.
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Video not working in BBcode page
    By Bestrafung in forum Troubleshooting & Problems
    Replies: 0
    Last Post: 07-26-2011, 11:34 AM
  2. URGENT: Vbulletin 4 video BBcode on Dynamics (2.0) seems not working
    By tintin74 in forum Troubleshooting & Problems
    Replies: 2
    Last Post: 11-02-2010, 11:23 AM
  3. Embedded Video Size Problem!
    By danswano in forum Troubleshooting & Problems
    Replies: 0
    Last Post: 04-14-2009, 08:40 PM
  4. Strange problem with embedding video
    By ZGeek in forum Module & Modification Discussion & Requests
    Replies: 2
    Last Post: 10-26-2007, 07:52 PM
  5. Clicking video link on left displays video in the centre
    By Renada in forum "How Do I..." Questions
    Replies: 2
    Last Post: 08-16-2005, 10:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts