Video

Here’s a quick and easy way to catch up with the latest TV reports about Martin:

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

4 Responses to Video

  1. Azhar says:

    Hi,
    I need your kind help, i want to use this wordtube plugin but it is not working properly … It is showing “Error loading player:could not load player configuration”

    Could u please help me to how to solve this issue…

    Waiting for your kind reply

    Thanking You
    Azhar

  2. Looks like wordtube plugin finally broken completely by wordpress 3.6 . looked at your code for the xml extraction ut does not work on your site any longer it appears

    • Martin says:

      Indeed. Just having a look to try and work out why…

      Martin

      • Martin says:

        Change myextractXML.php as follows:

        Line 42 should be changed from:

        $themediafiles = $wpdb->get_results( $wpdb->prepare ("SELECT * FROM $wpdb->wordtube ORDER BY vid DESC {$limit}") );

        to

        $themediafiles = $wpdb->get_results( "SELECT * FROM $wpdb->wordtube ORDER BY vid DESC ".$limit );

        Line 51 should be changed from:

        $select .= " WHERE (m.playlist_id = '$playlist_id'" ;

        to

        $select .= " WHERE (m.playlist_id = %d" ;

        Line 54 should be changed from:

        $themediafiles = $wpdb->get_results( $wpdb->prepare( $select ) );

        to:

        $themediafiles = $wpdb->get_results( $wpdb->prepare( $select , $playlist_id ) );

        There’s an explanation of what broke here and a version of the code that works here.

Get in Touch

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.