Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author mister-ben

    (@mister-ben)

    Hard to say without more information. Can you share the link you’re using in the shortcode?

    It might be the php version you use. I had a similar problem. The video displayed on my local machine but on the development/production environments it did not. On the development/production environments I got a warning:

    Warning: DOMDocument::saveHTML() expects exactly 0 parameters, 1 given in /var/www/vhosts/wordpressunified/httpdocs/wp-content/plugins/simple-brightcove-player-embed/brightcove-wordpress-simple.php on line 161

    On line 161 of of brightcove-wordpress-simple.php:
    return "<!-- Brightcove Video -->\n" . self::$dom->saveHTML($object) . "\n" . $ie8Style;

    According to the php.net page for saveHTML as of 5.3.6 “The node parameter was added.”

    I haven’t yet been able to test whether downgrading my version of php does in fact cause the error, but I would check the version of php you use to see if it is greater than 5.3.6

    Per the answer to how to get around saveHTML in php versions <5.3.6 here, I changed saveHTML to saveXML in the line indicated in the above comment and the plugin works.

    Plugin Author mister-ben

    (@mister-ben)

    Thanks! 0.8 uses saveXML instead.

    JoeLyons23 — does this resolve your problem?

    Thread Starter JoeLyons23

    (@joelyons23)

    Yup, all good now, thanks for the help everyone.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No Video’ is closed to new replies.