WooCommerce HTML5 Video
PHP Error in foreach (4 posts)

  1. Tim
    Posted 2 years ago #


    Not quite sure when this error started but the following error is logged:

    [11-Dec-2013 13:18:21 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/MYWEBSITE/public_html/wp-content/plugins/woocommerce-html5-video/WooCommerce-HTML5-Video.php on line 386

    Line 386 starts like this:

    foreach ($check_videos as $video) {
              switch ($video) {

    WP is 3.7.1 and all plugins up to date.

    Site is in development so I can't share a URL - Can send you admin login if you need to see it to debug.



  2. Tim
    Posted 2 years ago #

    Ahh looking further it may be becasue I have tried to embed Vimeo Video.

    If this is the problem please could you consider Vimeo video embedding as an option?


  3. Webilop
    Plugin Author

    Posted 2 years ago #

    Hi Tim,

    Sorry by the delay, we have been so busy and we had not seen this report.

    I did the tests and it works for me, I mean, I embedded a Vimeo video without problems.

    Could you please give us more details about your site? I mean, what version of WordPress and WooCommerce you are using, also please tells us what version of the plugin you are using.


  4. Tim
    Posted 2 years ago #


    Thank you for your response and your contribution to open source software.

    I am no longer using your HTML 5 video plugin as I have found a different method to achieve what I need.

    Kind regards

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce HTML5 Video
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic