Viper's Video Quicktags
Problem Using IE to Embed a Video (4 posts)

  1. Chrissy1784
    Posted 3 years ago #

    I'm having an issue with this plugin that when using IE, no matter where in a post I attempt to embed the video, after I hit okay, the shortcode is placed at top of the post.

    I am not having this problem in Chrome or Firefox. Unfortunately, having this work in IE is necessary and it isn't as easy as just using another browser.


  2. I've confirmed this same behavior in Internet Explorer (and only IE).

    No matter where the cursor is in the post, the shortcode always gets inserted at the very beginning of the visual editor.

  3. Alex Mills (Viper007Bond)
    Plugin Author

    Posted 3 years ago #

    Internet Explorer is pretty crappy when it comes to retaining cursor position in textareas. There a bunch of IE-specific work-arounds to address this in WordPress.

    I believe I'm doing it correctly though:


    But I will double check that I am (based on your reports, I am not) and refresh my code if necessary. I think there is a helper function provided by WordPress these days that does a better job than my code but I can't remember for sure off the top of my head. I do know that the editor API was overhauled recently though.


  4. Out of curiosity, is there a reason you've chosen your popup window method over just using ThickBox? It seems you'd be able to drastically cut down on the code required for your UI, while providing better IE support.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.