• I made a very simple shortcode plugin to display a vimeo video on a post and nothing I seem to do makes it work with the iOS wordpress app.

    The shortcode works fine on browsers when you view it, even mobiles, but if I try to view my posts on the iOS wordpress app it gives that same error.

    I have also used other shortcode apps and get the same error, such as “Shortcodes Ultimate”.

    Is this a known bug for the iOS app? Any workarounds?

    Code:

    class AEshortcodes {
        // [embedvimeo id="xxx" width="xxx" height="xxx"]
        public static function embedvimeo_func( $atts ) {
            $a = shortcode_atts( array(
                'id' => '00000000',
                'width' => '500',
                'height' => '281'
            ), $atts );
    
            return '<iframe src="https://player.vimeo.com/video/' . $a["id"] . '" width="' . $a["width"] . '" height="' . $a["height"] . '" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
        }
    }
    add_shortcode( 'embedvimeo', array( 'AEshortcodes','embedvimeo_func' ));
    ?>

    The debug log is not helpful at all, as it just reports the error message:

    2015/07/26 21:34:08:599 ===========================================================================
    2015/07/26 21:34:08:600 Launching WordPress for iOS 5.3.1 (5.3.1)…
    2015/07/26 21:34:08:600 Crash count: 0
    2015/07/26 21:34:08:600 Debug mode: Production
    2015/07/26 21:34:08:600 Extra debug: YES
    2015/07/26 21:34:08:601 Device model: iPhone 6 (iPhone7,2)
    2015/07/26 21:34:08:601 OS: iPhone OS 8.4
    2015/07/26 21:34:08:601 Language: en
    2015/07/26 21:34:08:601 UDID: 183A3366-7A2C-4E70-9220-4A84C06E2AFC
    2015/07/26 21:34:08:602 APN token: (null)
    2015/07/26 21:34:08:602 Launch options: (null)
    2015/07/26 21:34:08:602 All blogs on device:
    2015/07/26 21:34:08:609 <Blog Name: Online Gun Coach URL: http://onlineguncoach.com XML-RPC: http://onlineguncoach.com/xmlrpc.php jetpack: 🚀❔Jetpack not installed>
    2015/07/26 21:34:08:609 ===========================================================================
    2015/07/26 21:34:08:846 MediaService cleanUnusedMediaFileFromTmpDir
    2015/07/26 21:34:09:120 didFinishLaunchingWithOptions state: 1
    2015/07/26 21:34:09:232 <WordPressAppDelegate: 0x1702a7bc0> applicationDidBecomeActive:
    2015/07/26 21:34:09:344 Feedback response received: {
    “feedback-enabled” = 0;
    }
    2015/07/26 21:34:09:402 0 media items to check for cleanup
    2015/07/26 21:34:11:334 No instructions, do nothing
    2015/07/26 21:34:13:758 Showing alert with title: Unable to Sync and message The operation couldn’t be completed. (NSXMLParserErrorDomain error 111.)
    2015/07/26 21:34:18:636 Helpshift Disabled

The topic ‘Shortcode Plugins Giving NSXMLParserErrorDomain error 111’ is closed to new replies.