WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Viper's Video Quicktags] Whitespaces surrounding a video-URL get not parsed (1 post)

  1. spaulding
    Member
    Posted 4 years ago #

    Hi Viper,

    URLs containing whitespaces like this one

    [youtube] http://www.youtube.com/watch?v=n4A6q7h4-Tw/youtube

    don't show up.

    I trimed all the relevant content variables e.g.:

    2892 // If a URL was passed
    2893 $content=trim($content); //mypatch# get rid of whitespaces surrounding url
    2894 if ( 'http://' == substr( $content, 0, 7 ) ) {

    Okay, maybe every poster could be warned to be aware of the issue. However, could you incorporate a similar patch in your next maintenance release to make video-urls more reliable?

    Thanks a lot for your plugin,
    thanks in advance,

    Matthias

Topic Closed

This topic has been closed to new replies.

About this Topic